[mythtv-users] MythMusic and UPnP

Josenivaldo Benito Junior jrbenito at benito.qsl.br
Wed Aug 11 01:16:06 UTC 2010


Hi Guys,

Debugging a little more the MP3 sharing issue described below, I found the
following message in the remote front-end log:

2010-08-10 21:54:49.056 Could not open file (/var/lib/mythtv/music/Sounds of
the Eighties_ 1985/16 'Til Tuesday - Voices Carry.mp3)
2010-08-10 21:54:49.057 AV decoder. Error: -2

It suggests that MythMusic is really trying to access direct path instead of
a stream which means the Glen's suggestion will work pretty well for any
Myth front-end. However, other UPnP clients like Playstation3 or any other
which is not a PC with myth front-end running will not be able to play the
musics.

I think a little strange to a very huge software capable of video stream and
other tasks like MythTV cannot play a MP3 file. Does anyone know why? Per my
understand of expression "media server", it is intended to share media and
why not MP3?

Again, if I could understand it correctly, MythMusic plugin uses Myth
back-end only to store the playlists,  index of music, etc. All other task
like open the file, play it is made by the front-end software (Mythmusic
itself) that's why it needs direct file access. Now I ask, is not an
overkill to have a back end solution only to hold a playlist?

I am really sad to discover Myth will not solve this problem. My dream of
join every media in one unique place isn't yet possible. I will have to run
other media server like MediaThomb or even the Buffalo NAS (DLNA enabled)
just to serve music but this will require another setup on each client. Sad
but true until now.

Thank you Glen for suggestion.

Rergads,
--*
Josenivaldo Benito Jr.*
*PU2LBD*
Contact me: http://www.google.com/profiles/jrbenito




On Mon, Aug 9, 2010 at 00:17, Josenivaldo Benito Junior <
jrbenito at benito.qsl.br> wrote:

> Hi Glen and all,
>
> I other words, UPnP is not playing the game in setup. This kind of setup
> will solve any MythTV front end issue however will keep other UPnP clients
> (like PS3 and Rhythmbox) without solution yet. I am not saying this is a bad
> setup but if one's intentiton is distribute stored media (movies and music)
> across clients this will not solve the issue. If one's need to mount shares
> on every client he does not need MythTV because any other music client can
> scan the share... sure MythTV can do a better job since music list is
> already indexed and this will avoid waste bandwidth with multiple scans.
> However, in a very thin setup (let's say, two machines) this is, for sure,
> an overkill.
>
> I continue to believe that MythMusic was not designed for share music
> across clients through UPnP but only to play music locally. Anyone confirms?
>
> Thanks,
> --
> *
> Josenivaldo Benito Jr.*
> *PU2LBD*
> Contact me: http://www.google.com/profiles/jrbenito
>
>
>
>
> On Sun, Aug 8, 2010 at 23:46, Glen Hawksworth <glenhawk at optusnet.com.au>wrote:
>
>> > Josenivaldo Benito Junior <jrbenito at benito.qsl.br> wrote:
>> >
>> > Hi,
>> >
>> > I am very fresh with MythTV and I am full of questions being answered by
>> > documentation and googling around. However, one thing is not clear
>> > enough to
>> > me at all.
>> >
>> > I've setup a front/back-end to test in my computer. Mythmusic works ok
>> > there. I have two other front-ends, my laptop with MythTV front-end
>> > (running
>> > Ubuntu as the back-end computer) and a Sony Playstation 3. I also have
>> > the
>> > Rhythmbox Music Player installed on both, backend and front-end (laptop)
>> > computers, both with UPnP plug-in.
>> >
>> > Although all the front-end clients (all UPnP software on laptop and PS3
>> > and
>> > the MythTV front-end in the back-end computer) can present my entire MP3
>> > collection in the playlist, only the MythTV front-end installed together
>> > with back-end can play music. My Sony PS3 says the media is not
>> > compatible,
>> > the Rhytmbox tries to play and fail, the MythTV front-end in the Laptop
>> > tries to play and fail (I could not see any error message in this case,
>> > maybe it leave a log in the /var/log ?).
>> >
>> > Googling around I found many references saying that one might mount
>> > (samba
>> > or NFS) the music directory locally in order to have other MythTV
>> > front-ends
>> > playing the music. This information brings the questions:
>> >
>> > Does UPnP not enough to play a media file remotely? Did I understand
>> > Mythmusic wrong and it is not a plugin form MythTV share music but only
>> > a
>> > front-end GUI to play local music?
>> >
>> > Thanks in advance for your help.
>> >
>> > Regards,
>> > --*
>> > Josenivaldo Benito Jr.*
>> > *PU2LBD*
>> > Contact me: http://www.google.com/profiles/jrbenito
>>
>> I have run into the same problem as you regarding MythMusic. The music
>> titles appear on the screen but they just don't play.
>> I found that if you mount the music directory locally MythMusic works
>> perfectly.
>> eg. on my backend all my music is under /var/lib/mythtv/music
>> on my frontends I mount <BE-Server-IP>:/var/lib/mythtv/music to the local
>> /var/lib/mythtv/music
>>
>> I tested this first by mounting the network share manually and restarting
>> mythfrontend. When that worked I tried mounting the network directories
>> using fstab and that worked too.
>> Then because I use mythshutdown and ACPI to wake and shutdown my backend
>> (if a frontend starts when the backend is off the fstab network mount fails)
>> I tried using autofs to mount the network directories and that worked fine
>> too.
>>
>> good luck,
>> Glen
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100810/b78e429c/attachment.htm>


More information about the mythtv-users mailing list