Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jeangot

Pages: 1 [2] 3
16
Users / Wake on Lan for Nvidia chipset with reversed MAC address
« on: October 04, 2008, 11:00:44 pm »
Hello,

according to some other posts in the forum, there is a bug in certain Nvidia Ethernet chipsets which cause the Mac address to be stored in reverse. This seems to be the case for example in my MSI Media Live. Consequently, wake on lan only works if you you send the reversed MAC address, otherwise the computer ignores it and does not turn on. Consequently, in my 0710, WOL does not work for the MSI Media Live.

I was wondering if anyone figured out an easy fix for this? I assume it's not as simple as changing the Mac address in the Media Director settings in the web admin, as LMCE would not longer recognize the device properly while it's turned on.

One solution could be to edit the code, and whenever LMCE send a wake on lan packet, have it also send the same packet with reversed MAC address, as I don't think could cause much harm in the 95% of cases where it's useless. I'll be happy to do that if someone could point out where the code for WOL is located (in which binary). Unless there is some other easier solution?

Thank you.

Jean

17
Users / How to skip forward/backward or skip ads in MythTV from orbiter?
« on: September 19, 2008, 05:16:29 pm »
Hello,

I read from several people in the forums that they only use an orbiter to control their TV (don't use a remote) and find it very comfortable. While I agree agree in part (I use a Fujitsu C500 tablet with 8'' screen) I have the following problem:
I do not seem to find any buttons on the Orbiter while watching MythTV to skip forward or backward, like right and left arrow on the keyboard (different from fast forwarding) nor to skip commercials (A and Z buttons on the keyboard).
The reason I need this is because commflaging doesn't always detect commercials, so I sometimes have to skip commercials manually (and cannot have Myth in auto skip commercials mode).

Does anyone have a suggestion for this, besides keeping a keyboard near my living room sofa (which is what I do now)?
I know that there will be changes to the MythTV Orbiter interface in 0810, are these buttons going to be added by any chance?

Thanks.

Jean

18
Users / Outdoor lights turning on at sunset, off at sunrise by themselves!!
« on: September 06, 2008, 08:24:29 am »
Hello,

I have an outdoor lights setup as X10 light, and I noticed that it seems to be automagically turning on at sunset and off at sunrise. I did not however ask for this, and did not find any relevant options under the light's configuration or under timed events.
In case it matter, this light is linked to a camera (and will properly turn on or off when that camera is viewed).

Does anyone know where I can enable/disable such behavior, as I can't have all my outdoor lights on all night, or is it just a matter of not setting up that "room" as an outdoor area perhaps?

Thanks,

Jean

19
Developers / Problem with some root http path names
« on: September 03, 2008, 06:18:07 pm »
Hello,

I have the following item in my pluto_media table:

+---------+--------------+-----------------+---------------+--------------+---------------------+------------------------------------------------------------------------------------------------------------+---------------------+---------+-------------+------------------+-----------+---------------------+-----------+---------------------+---------------------+-------+--------+----------+----------------------------------+--------+--------+-----------+----------+------------+---------------------+--------------+
| PK_File | EK_MediaType | FK_MediaSubType | FK_FileFormat | FK_FileGroup | DateAdded           | Path                                                                                                       | Filename            | Missing | IsDirectory | EK_Users_Private | EK_Device | ModificationDate    | AttrCount | AttrDate            | DateLastViewed      | IsNew | Ignore | INode    | MD5                              | Source | psc_id | psc_batch | psc_user | psc_frozen | psc_mod             | psc_restrict |
+---------+--------------+-----------------+---------------+--------------+---------------------+------------------------------------------------------------------------------------------------------------+---------------------+---------+-------------+------------------+-----------+---------------------+-----------+---------------------+---------------------+-------+--------+----------+----------------------------------+--------+--------+-----------+----------+------------+---------------------+--------------+
|  557190 |            4 |            NULL |          NULL |         NULL | 2008-08-28 08:08:56 | http:                                                                                                      | 89.149.208.205:7070 |       0 |           0 |             NULL |      NULL | NULL                |      NULL | NULL                | 2008-08-28 08:12:39 |     1 |      0 |        0 | NULL                             | NULL   |   NULL |      NULL |     NULL |          0 | 2008-08-28 08:12:39 |         NULL |

This is for a valid shoutcast stream. The entry was created for me by the system when I tested this stream in a media scenario through the web admin.
When I try to playback this entry, the logic in LMCE build the full pathname as Path + "/" + Filename which gives http:/89.149.208.205:7070 and that of course won't play.
If I change the Path field in the database to http:/, then LMCE will correctly construct the full path as http://89.149.208.205:7070 and it will play fine, but my entry in the database doesn't last past a reload, probably because something is checking the format of the fields and cleaning them up.

So my thought was to find the place in the code where it concatenates those fields upon playback, and add a condition to have that extra / added for http: or mms: Path that don't go deeper than the root of the webserver.
The only place I found where I could maybe do this was Table_File.cpp, but I know this is not the right place because this is just used to retrieve the data from the database, but the concatenation happens somewhere else, I just couldn't find where.

So my questions are:

- Can anyone point me to the place in the code where upon playback of a media entry, the system concatenates the fields Path and Filename after fetching them?

- Or can someone tell me why my Table_File.cpp won't compile? I get the following error (which I think is unrelated to the changes I made):

/usr/bin/ld: ../db_wrapper/ClientSocket.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../db_wrapper/ClientSocket.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libpluto_media.so] Error 1


Once I have this working and tested, I would like to propose to include the change into the source code, unless someone things this would be wrong?

Thanks,

Jean

20
Developers / Router removing playlist entry upon reload
« on: August 24, 2008, 07:57:35 pm »
Hello,

I have the following issue: I have an entry for an asf stream in my Media Database that looks like this:

+---------+--------------+-----------------+---------------+--------------+---------------------+------------------------------+-------------------+---------+-------------+------------------+-----------+------------------+-----------+----------+---------------------+-------+--------+-------+------+--------+--------+-----------+----------+------------+---------------------+--------------+
| PK_File | EK_MediaType | FK_MediaSubType | FK_FileFormat | FK_FileGroup | DateAdded           | Path                         | Filename          | Missing | IsDirectory | EK_Users_Private | EK_Device | ModificationDate | AttrCount | AttrDate | DateLastViewed      | IsNew | Ignore | INode | MD5  | Source | psc_id | psc_batch | psc_user | psc_frozen | psc_mod             | psc_restrict |
+---------+--------------+-----------------+---------------+--------------+---------------------+------------------------------+-------------------+---------+-------------+------------------+-----------+------------------+-----------+----------+---------------------+-------+--------+-------+------+--------+--------+-----------+----------+------------+---------------------+--------------+
|  557078 |            5 |            NULL |          NULL |         NULL | 2008-08-24 10:00:57 | mms://vodstream.tf1.fr/tf1jt | jt13d24082008.asf |       0 |           0 |             NULL |      NULL | NULL             |      NULL | NULL     | 2008-08-24 10:00:58 |     0 |      0 |     0 | NULL | NULL   |   NULL |      NULL |     NULL |          0 | 2008-08-24 10:32:49 |         NULL |
+---------+--------------+-----------------+---------------+--------------+---------------------+------------------------------+-------------------+---------+-------------+------------------+-----------+------------------+-----------+----------+---------------------+-------+--------+-------+------+--------+--------+-----------+----------+------------+---------------------+--------------+

It is playable through Media/Videos without a problem (please note, if you try this after 1 day, the filename needs to be updated with the current day otherwise it won't play).

Now I create a playlist containing this entry. I save the playlist, and when I go back to in in the web GUI, the entry is there in the playlist. Now I do a reload router, to refresh the playlist on my MDs, and the entry gets deleted. The playlist is now empty.

I suspect that there is a process parsing playlists for errors upon reload router that is causing this. Could anyone point me to the portion of code that is doing this? Perhaps I just need to add something to recognize asf files?
Or am I on the wrong track?

Thank you!

Jean

21
Users / Anyone recording HD MythTV to a network share?
« on: August 12, 2008, 10:14:57 pm »
Hello,

I have the following situation. I am using a SA4250 Cable Box on Cox, connected to my core via Firewire. Luckily, our local cable operator will give us all channels in clear except premium movie channels, which is very nice.
I am then able to record HD mpeg 2 streams in MythTV out of the cable box.

Since I do not have a large enough harddrive in my core, I mounted a NAS (a Buffalo Terrastation to be precise) at the location where LMCE saves MythTV recordings. Terrastation and Core are both using Gigabit Ethernet.

Now I noticed the other day while playing a HD recording, that the show started getting very very choppy at certain times. I also noticed that when this started happening, MythTV happened to start recording another show, also in HD.
This makes me think that it may not be practical to use a network share to record and play High Def television at the same time.

I was wondering if anyone else has tried this before? If there are any tricks I could try, such as changing network packet size or something, I would like to try that before investing in a larger harddrive for my core. I sort of prefer the idea of having everything on a large external storage space, so that I'm not limited by the size of the drive for my MythTV recording.

Thank you for any experiences that you may have to share.

Jean

22
Users / Asus Eee Box
« on: August 04, 2008, 11:49:33 pm »
Check this out:
http://blog.wired.com/gadgets/2008/08/review-asuss-mi.html

According to Andrew, the Atom 1.6 Ghz CPU may support up to 720p high def, and this box seems to have a SPDIF out and DVI port according to what I read on another forum (not verified through). It is not fanless, and one forum post claimed that the fan is noisy.

Haven't tried it yet, they can be found around $350 on Ebay right now... Hopefully the price should come down a bit soon.

Jean

23
Developers / What part fo the code launches media files in playlists
« on: July 25, 2008, 07:54:27 am »
Hello,

I was trying to launch internet radio streams from playlists.

Here is what's happening: if I add a media scenario option to play http://89.149.208.205:7070, it works fine, I can listen to this as a media scenario.
Now automatically, the admin creates an entry in the database containing all the media, with path=http and filename=89.149.208.205:7070

Now I figured, if I want to have a choice among 10 or 20 radio stations, I better need to use playlists rather than have them all in the main media menu.

So I located this media item created by the admin and added it to a playlist. Nothing happens when I click on it from the MD. My guess is that the piece of code that tries to launch the appropriate player for a playlist does not recognize what to do with a filename=89.149.208.205:7070 (also it clearly says mediatype=4 in the database, which is the correct type for streaming audio).

Hence (unless someone has a better suggestion) I was wondering what piece of code is responsible for playing playlists so that I could have a look at it and see if I find an obvious way to make it work...

Thanks.

Jean

24
Developers / How can I reload the router via a shell (sh) script
« on: July 25, 2008, 07:47:25 am »
Hello,

I have a script that is changing some contents in playlists nightly. The problem is, the content only refreshes in MDs after a "reload router". How can I reload the router via a shell script, either by running a command, or perhaps by sending some command to a network socket?

Thanks

Jean

25
Hello,

I use a MSI Media Live box which uses an onboard HD Nvidia sound card with a Realtek ALC883 chipset. This is being handled under linux with teh snd-hda-intel driver.

I am very surprised that I don't find any mention of my problem in the board or wiki (unless I searched incorrectly) since many people seem to use this Media Live box which is highly recommended in the wiki. The problem is the following:
In the AW Wizard, I get proper DTS and AC3 in SPDIF Passthrough and everything is fine. But when trying to watch videos in LMCE (which uses the xine library) I randomly get files where the sound will break in and out constantly when using SPDIF out and digital audio (DTS or AC3). When I disable "passthrough" and watch the same files with PCM over SPDIF, it works just fine. The moment I try digitally encoded sound, the sound stutters.
I do have files however with digital sound (for example DTS) that played flawlessly.

The same problem occurs when playing the files with either Xine/Kaffeine or Mplayer under KDE.
I tried upgrading the alsa libraries and driver to the latest version 1.0.17. That didn't help.

I also tried countless recommended changes in xine.conf, asound.conf, muting unmuting etc, also with no luck.

One user recommends recuding the memory allocated to the Nvidia graphic card, but if I do that, the UI with alpha-blending gets very slow. I have NOT yet tried downgrading to overlay. MythTV seems to pass PCM over SPDIF at the moment, so I didn't see if the problem occurs there as well.

Is there someone out there running Digital sound over SPDIF with a media live? Did it just work out of the box or is there something I need to do? I'm not sure what else I could try at this point except buying a different sound card :-(

Thank you!

Jean

26
Hi,

did anyone successfully create a Media Scenario for one (favorite) shoutcast stream?
When I try to do this through the web GUI, choosing the type "audio file" and entering the URL mms://89.149.208.205:7070, Xine starts, opens the stream and then fails at 30% as shown in the log:

05      07/14/08 22:10:50.514           Opening media without chapters/title position: mms://89.149.208.205:7070  <0xb6c91b90>
05      07/14/08 22:10:50.519           Playback (Connecting MMS server (over tcp)...) is at 0 <0xb2955b90>
05      07/14/08 22:10:50.519           Playback (Connecting MMS server (over tcp)...) is at 0 <0xb2955b90>
05      07/14/08 22:10:50.694           Playback (Connecting MMS server (over tcp)...) is at 30 <0xb2955b90>
05      07/14/08 22:11:20.349           Playback (Connecting MMS server (over http)...) is at 0 <0xb2955b90>
05      07/14/08 22:11:20.350           Playback (Connecting MMS server (over http)...) is at 0 <0xb2955b90>
05      07/14/08 22:11:20.350           Playback (Connecting MMS server (over http)...) is at 0 <0xb2955b90>
05      07/14/08 22:11:20.531           Playback (Connecting MMS server (over http)...) is at 30 <0xb2955b90>
05      07/14/08 22:11:20.709           Opening media FAILED <0xb6c91b90>
05      07/14/08 22:11:20.712           Xine_Stream::OpenMedia failed! Aborting! <0xb6c91b90>


This happens for every one of the few streams I tried. Previously I tried linking to the pls file and that didn't work at all.

If anyone has a suggestion, please let me know.

Jean

27
Hello,

I found a way to playback 1080p MKV/H264/X264 files on LinuxMce using the commercial CoreAVC decoder. The file on which I tested this is particular was unwatchable before, as the CPU was being maxed out at 100%. Now in runs around 70% on the same file and I could watch it without problem.
It uses the standard Xine_Player, so there is full support for pause, fast forward, seeking etc...

I listed the instructions on this wiki page. Feel free to edit for cosmetics or any errors you may find, and let me know in this thread how it works out for you...

Jean

EDIT: sorry apparently I had copied the wrong link above. I have corrected it now.

28
Users / Possibility to use any variables in Media Scenario fields
« on: July 11, 2008, 07:55:29 am »
Hello,

I was wondering if we have access to any system variables or specific LMCE variable in the various fields of a Media Scenario, in particular in the filename field?
I have a stream for which I have created a media scenario, and the filename (on the internet) changes every day according to the current date like this:
http://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/13h/HD_13h_20080710.wmv

Is there any way for me to use any variables like:

http://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/13h/HD_13h_\$YEAR\$MONTH\$DAY.wmv or something like that?

If not I will simply change the filename in the database using a cron job, but I figured it was worth asking first.

Jean

29
Users / How to copy movies off the system via MD interface
« on: July 03, 2008, 06:36:53 am »
Hello,

I am going on a trip for the weekend. I want to walk to an MD, plug in a USB flash drive, have it recognized by the system (so far so good). Now I want to copy a few movies to the flash drive for me to watch on my trip using the MDs interface (orbiter). How can this be done? I see a feature to "move" a file, after clicking on a video file, but not to copy.

Anyone knows if this is possible? If not, would it be worth requesting it as a feature?

(I can of course do this via the KDE Desktop or even SSH, but this is not the point)

Thanks.

Jean

30
Users / Xine not playing wmv stream
« on: July 02, 2008, 07:41:20 am »
Hello,

I am trying to create a button on an orbiter to play the following wmv stream:
http://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/13h/HD_13h_20080701.wmv
I create the button from the media scenarios screen in the web admin using Mediatype 5 and writing the above URL in the field #13 Filename.

When I click on the button, the screen turns black briefly, then reverts to the Orbiter menu. Xine seems to be exiting.

Any ideas why? The stream plays fine from KDE Desktop with both Xine and Mplayer.

Second question: how can I create a button/media scenario to play a file using Mplayer? I found how to add the Mplayer device to a scenario but I am a little bit confused by the parameters of the Play functions of Mplayer.

Thanks.

Jean

Pages: 1 [2] 3