Feature Requests: Browse | Submit New | Admin
Paste from TODO file: - Add an "originalPosition" attribute to Songs. - Make sure each list has it's own instance of the Song object - Update originalPosition to be list.size+1 whenever a song is added to a list - This should allow a method (like sort or shuffle) that returns the list to it's original order.
Add A Comment:
Date: 2003-10-29 19:41 Sender: Derek Lewis Logged In: YES user_id=438 Maybe instead of adding an attribute to the Song object, lists should just create a SongPosition object that references the Song, and has an "originalPosition" attribute. To all external interfaces they would return the Song itself, but internally, it could use the "originalPosition" to sort on.