[mythtv-users] Re: [PATCH] Mythweb -- Mythmusic playlist
functionality AND Request for SQL help
rbsteffes at gmail.com
Fri Oct 29 13:46:57 UTC 2004
On Fri, 29 Oct 2004 09:17:26 -0400, Ryan Steffes <rbsteffes at gmail.com> wrote:
> On Thu, 28 Oct 2004 22:30:00 -0400, Christopher Flynn
> <flynnguy at gmail.com> wrote:
> > Also as an aside, I took a look at the resulting m3u file (which comes
> > down as a php file but that's ok I guess) and figured an easy way to
> > make a streamable playlist for all your music. Assuming you have a
> > symlink or something to your music folder at /var/www/mythweb/music
> > you can do:
> > find /var/www/mythweb/music/ | grep mp3 > playlist.m3u
> > sed -e "s/\/var\/www/http:\/\/localhost/g" playlist.m3u > playlisttemp.m3u
> > sed -e "s/ /%20/g" playlisttemp.m3u > playlist.m3u
> > The second to last line replaces /var/www with http://localhost and
> > you may need to change them depending on your setup. The last line
> > changes the spaces to %20
> It is generated by the php file, which means unlike your way (which
> would work), you get whatever mythmusic generates, as in playlist
> specifics and sorting orders. If you want to save it, just save it to
> disk and change the extension from php to m3u. As far as players go,
> they don't care because the browser associates the Content-type to an
> m3u and so the browser says, "Here, play this" and the player is happy
> to oblige whatever the extension.
> What I need to do to make the same thing work is just tell it to
> ignore the limit for this action.
Selecting: All Music and Play This List now plays all songs ignoring limits.
I also put Play This List into the actionSelector box. You don't need
to be on the playlist you want to play it, just select the playlist
you want and select Play This List and hit Update.
More information about the mythtv-users