Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Codecs
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by oblib__ - 2007-11-03
Last edited by RMenes379 - 2012-01-04

FS#8078 - NSF playlist support

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:
nsf://4:/NES/Zelda.nsfe

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.

Todo:
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.

Closed by  RMenes379
2012-01-04 16:19
Reason for closing:  Out of Date
Additional comments about closing:  

Superseded by FS#12176.

Sync’d to SVN

Wow, this is a great idea and I really like the implementation! NSFs don’t play very well on my 5.5g iPod, but assuming that no one else is suffering from the issues I’m encountering then this would be a great asset to rockbox!!

Thanks for the support! Are you saying that NSFs don’t work well on your ipod after applying this patch, or just in general? Also, please describe “don’t play very well.”

Sorry for the lack of detail, my post was concerning build r16095. Here is a concise repost from a thread I made in the playback forum (easier than retyping it all ;P):

Basically, playback is crippled on my device insofar as when I play any NSF file the controls and display sort of lock up. By “sort of” I mean that I can seek (change) the tracks within the file (as denoted by the progress bar or track number) but the music won’t change to reflect that, and there is a lag. Additionally, there is a very long delay if I try to exit the WPS and enter the file browser or even pause playback. I have also begun to experience strange playback issues such as the track starting over again or pausing briefly (the playback indicator actually displays itself as being paused, without my intervention). Disk activity is also rampant, for no discenible reason.

Ok, this is weird, but I just tried a new build (r16150m-080123 which has patch  FS#8379  applied to potentially increase battery life) and now from my usual tests and evaluation NSF playback is rock solid! Strange…

if each nsf has multiple tracks in it, maybe it should be implemented in the cuesheet hanndling? you cant yet select a single subtrack from a cuesheet, but that is something which should be doable later if there was interest to add it.

Seeing as how we now have FS#12176, plus a *lot* of reworking of the playback engine, shouldn’t this task now be closed?

Okay by me, but I don’t know how…

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing