FS#8078 - NSF playlist support
Opened by oblib (oblib__) - Saturday, 03 November 2007, 00:18 GMT
Last edited by Robert Menes (RMenes379) - Wednesday, 04 January 2012, 16:19 GMT
This patch adds support for NSF (Nintendo songs) playlists, as generated by Winamp. Each .nsf file has multiple tracks in it, and a playlist allows Rockbox to select one of those tracks per playlist entry. Therefore you can now have all the individual tracks of all of your .nsf files listed in a playlist, and randomize between them, or whatever. Basically it lets you treat each track as a separate song, as you can do with other file types. THIS WORKS BEST WITH .NSFE files, not .NSF
File format is as follows:
For track 4 of Zelda.nsf, the entry would be:
nsf://4:/pathto/Zelda.nsf (note lowercase "nsf")
specifically, in my directory setup it looks like this:
To create such a list in Winamp, you must add support for NSF files, add an NSF file to your playlist and do File Info and hit Shadow -> Winamp or Shadow -> File. This will create the entries in the playlist for each track. You can then save the playlist and make sure the paths are okay for your Rockbox setup.
Figure out how to get a non-magic number (array size) in playlist.h
Possibly increase the codecs.h API version (not sure what this does to the rest of the code)
(probably a separate patch) Make Rockbox load each .nsf as its constituent tracks, rather than one playlist entry that you FF or REW through.