Rockbox General > Rockbox General Discussion

Playlist Settings Suggestion

<< < (2/2)

Neff:
I wasn't sure if m3us supported comments, all the pages I found on my 1st googling didn't mention anything other than the EXIF lines (e.g. http://forums.winamp.com/showthread.php?threadid=65772) but the following one does describe comments. (http://www.assistanttools.com/articles/m3u_playlist_format.shtml)

kenshin:

--- Quote from: the_winch on October 12, 2005, 04:11:47 PM ---Why not add the config file to the start of the playlist as with an audio file.
Then when you play the playlist rockbox would "play" the config file changing the required settings.
This way you could have multiple config files in different positions of the playlist. It would have problems if one config turned on shuffle only to randomly play another config that turned it off.

--- End quote ---

There's an idea. I think it ought to still reside in a comment, though. Not all players are smart enough to discard unknown file types so you might end up with with some nasties if you take that playlist off to a PC or another DAP. Maybe:


--- Code: ---# RBXCFG: some/file.cfg
--- End code ---

This assumes Rockbox would be smart enough to not discard these when loading the playlist but rather would keep them in the list while other players (ala Winamp) would simply discard them.

the_winch:
You can't really store stuff in m3u comments if you want it to survive edits.
The trouble is it's quite common for programs to ignore the comments when loading the playlist into some internal format that's easy to work with. If you then edit the playlist and save it the resulting playlist has none of the original comments.
Both rockbox and winamp both appear to do this as they lose coments when editing a playlist.

Neff:
So it's back to my idea about using a matching named config file?

Chill:
It looks as though a valid entry in an M3U playlist could be a another playlist, allowing playlists to be 'chained'.  What if the content of that other playlist was just a .CFG file - let's call that other playlist a 'config playlist' for the sake of argument.  Rockbox could then 'play' that config file, as suggested above, when it encounters the config playlist.  Other players, eg winamp, would just ignore the config playlist if it did not exist on the PC, but should not discard such an entry when editing (because it is a valid entry).

On the iriver you would simply need a few one-line config playlists that 'wrap' your different config files.  This might still cause a problem if the iriver is just being used as a hard disk for Winamp, because then Winamp would find those config playlists and cause some sort of error.

Navigation

[0] Message Index

[*] Previous page

Go to full version