Re[4]: Xmms Playlist Track Display

Florian Maul <[email protected]>
Newsgroups gmane.comp.audio.netjuke.user
Message-ID <[email protected]>
Hello Jason,

> I always wondered about that. Just made a quick test file with the #EXT info
> included, and either I screwed something up, or iTunes doesn't support it.
> It played the song, but didn't display the extra info. Bummer.

The problem might also be a playlist-bug in netjuke 1.0b17 which
causes all the #EXTINF lines to be printed at the top of the file.
Just 'save as' the M3U and have a look at its contents, it has to look
like this - maybe it doesn't:

#EXTINF time,track info
http://url.to/your/musicfile.mp3
#EXTINF time,another track info
http://url.to/your/anothermusicfile.mp3

To fix it, check out my bug-report:

>   first of all, I just found a bug in play.php which causes missing
>   MP3EXT-Comments in the M3U Playlist when playing whole albums,
>   artists or genres. In line 186 of play.php an 'echo' command is used
>   that causes all comments being placed before the urls and not
>   interleaved. It should be changed like this:
> 
>   if ( stristr(strtolower($_SERVER['HTTP_USER_AGENT']),"windows") )
>   $playlist .= "#EXTINF:$tr_time,$tr_name - $ar_name ($al_name)\r\n";
> 
>   That means replacing 'echo' with '$playlist .=' like in the other
>   play-function m3uMe().

Please reply if it works and even if it doesn't let us now if iTunes
ignores the extra #EXTINF lines.

Florian <[email protected]>



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.