Author |
Message |
wfdudley
|
Posted: Fri Jan 19, 2007 11:19 am |
|
Joined: Fri Oct 13, 2006 3:50 pm
Posts: 26
Location:
New Jersey, USA
|
Hi,
I'm using R5D1. (I'm having problems getting R5E50 to work at
all, more on that in another post.)
I've got two mythtv boxes, a "master" and a "slave".
I have static IPs on my LAN. Both the Master and the Slave
have NFS mounts of my mp3 collection which resides on another
server on my LAN. The NFS mounts in both cases are /myth/music.
When I sit at the Master box, I can "see" and play the music using
mythmusic. "See" means that "scan for music" finds the files.
When I sit at the Slave box, I can "see" the music in mythmusic
IF I DON'T "SCAN FOR MUSIC" on the slave. If I "scan for music" on
the slave, all the music in the database disappears. If I refrain from
that, then the Slave can see the mythmusic database of music on
the Master, but when I try to PLAY, I get the famous error:
DecoderMAD: Failed to open input. Error 5
If I go to the command line, I can clearly see all the mp3 files on
the NFS mount, they are all 644, directories are all 755, and I can
PLAY them using mpg123 and any other application. So permissions
are NOT a problem.
Googling the above error message, however, only finds people who
fixed permission problems, or never got a reply to their query.
Questions:
1. When mythmusic tries to play, does it get streaming audio FROM
the MASTER, or does it "locally" play the mp3 files that it expects to
find in /myth/music ??
2. If the songs are NFS mounted IDENTICALLY on both machines, why
can the Master see them in a "scan for music" but the Slave cannot ?
3. What the hell is mythmusic doing that it cannot open the file that is
clearly there, readable by all?
I looked in the mysql database at the musicmetadata table, and I find
that the "filename" field seems to correctly contain the path to the
actual MP3 file, given "/myth/music" as a starting point. So this
relative path should work identically on both Master and Slave, since
they both have exactly the SAME NFS mount to their local /myth/music
directories.
Thanks for any light you all can shed on this.
Bill in New Jersey
|
|
Top |
|
 |
slowtolearn
|
Posted: Fri Jan 19, 2007 11:57 am |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
Could you define "Master" and "Slave"? Do you have a Master backend with a remote frontend, or a Master backend/Slave backend, etc.?
I think I know what's going on. In Utilities/Setup -> Setup -> Media Settings -> Music Settings -> General Settings, what is the value of "Directory to hold music" on each of the systems? I'm guessing the "Slave" isn't pointing to /myth/music (or wherever the mount point is).
|
|
Top |
|
 |
wfdudley
|
Posted: Fri Jan 19, 2007 12:50 pm |
|
Joined: Fri Oct 13, 2006 3:50 pm
Posts: 26
Location:
New Jersey, USA
|
That's IT! What a silly default -- /mnt/store/music. And the error
reporting could use a little work -- if the error message had just
said "/mnt/store/music/blah-blah-blah/foo.mp3 not found" then
I'd have know RIGHT what to do to get it fixed.
As far as definition of "master" and "slave":
Master runs mythtv mysql database, has TV cards in it, and can be
used to watch TV etc. but it's in an office and not by the "big" TV.
Slave runs mythfrontend, connects to Master for all TV related stuff,
but, as I am finding out, plays music locally using the NFS mount.
Does that answer the question sufficiently?
Thanks a lot for your help. I may get this all working properly one day.
Right now it's pretty good with R5D1, though there are still some small
"issues".
Thanks,
Bill
|
|
Top |
|
 |
slowtolearn
|
Posted: Fri Jan 19, 2007 12:58 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
wfdudley wrote: That's IT! What a silly default -- /mnt/store/music.
That's because as a remote frontend ("slave") MythTV assumes, possibly incorrectly, that your media is not stored locally (as is your case). That's why I asked for clarification of the setup.
My setup is just like yours - I have a Master backend in the basement that houses all the large drives, tuners, etc. I NFS share the media (videos, music, pictures) to my 3 remote frontends. I have been bitten by the deault paths more than I care to remember!
Be sure to check the paths for your videos and pictures as well...
|
|
Top |
|
 |
wfdudley
|
Posted: Fri Jan 19, 2007 1:12 pm |
|
Joined: Fri Oct 13, 2006 3:50 pm
Posts: 26
Location:
New Jersey, USA
|
|
Top |
|
 |