Re: Re: m3u playlists: going up one level

Home › Forums › Help and Support › m3u playlists: going up one level › Re: Re: m3u playlists: going up one level

#28067
cadbusca
Member

I suspect the problem lies in where his playlist is located. In your example

A playlist contained at:
sd:/Music/Playlists/test.m3u and containing an entry of ..song.mp3 Should correctly assemble a path of: sd:/Music/song.mp3 and let you then play this file.

But if the playlist is located in sd:/Music/test.m3u ..song.mp3 WIIMC will assemble a path of sd:/song.mp3 which does not exist and will not play.

If his “iTunes MediaMusicJohnny CashThe Man Comes Around1 The Man Comes Around.mp3” is in a playlist at sd:/Folder/playlist.m3u which also contains the “iTunes Media” subdirectory it will resolve as sd:/Folder/iTunes Media/Music/Johnny Cash/The Man Comes Around/01 The Man Comes Around.mp3 and play but “../ITunes MediaMusicJohnny CashThe Man Comes Around1 The Man Comes Around.mp3” in that playlist would resolve as sd:/iTunes MediaMusicJohnny CashThe Man Comes Around1 The Man Comes Around.mp3 which does not exist and will not play.

For ..iTunes MediaMusicJohnny CashThe Man Comes Around1 The Man Comes Around.mp3 to be played it must be in a playlist at sd:/Folder/Itunes Media/playlist.m3u which will resolve as sd:/Folder/iTunes Media/Music/Johnny Cash/The Man Comes Around/01 The Man Comes Around.mp3 and play.

Given that the new playlist code does handle .. this way, the good news is that it is possible to have a playlist containing “..” or just “” prepended entries which then allows the playlists to be created in a “playlist only ” subdirectory of the directory containing the music files, which then allows WIIMC to access a playlist only menu list.

I am unable to verify this however since I currently have no Wii access, and my poor readind of the “Cleanup Path” code seems to show that .. entries are simply removed.

Winamp when saving playlists to such a subdirectory ie: smb1:My MusicPlaylistsplaylist.m3u will create “MyMusic” playlist entries with the “” denoting up one level rather than “..” whereas it will create “MyMusic” play list entries without the prepended “” if the playlist is saved in the same or super directory containing the the music files. This means that WIIMC also need to treat “” prepended playlist entries in the same way that it treats “..” playlist entries.

Bottom line playlists must be located in the same subdirectory in which they were created so that their entries properly reflect the relation of the files to that directory location, and that subdirectory must be accessable by name to WIIMC as a subdirectory of a device or smb: so it can build the correct reference to the files using the playlist subdirectory path and the playlist entries.

I’m unable to test this until after the New Year, but I hope that WIIMC also treats a “music” playlist entry as an up-one-level entry the same as “..music” and remove the last subdirectory in the playlist path before appending the playlist entry, whereas a “music” playlist entry will simply be appended to the playlist path. This will allow Winamp to be used to create/convert playlists in/to the correct format for the playlist locations you use with WIIMC.

One other note about WINAMP..the #EXTINF: entries with the artist and song name for each entry need to be generated by WINAMP from the song files when saving the playlist. This takes time and if you exit WINAMP before the process is completed the #EXTINF entries will be missing from final playlist entries. The options for controlling the reading of this metadata and the format of the #EXTINF are in Winamp/preferences/Titles/Metadata Reading.

It would be helpful if others would document the method for generating compliant playlists with other applications.