Feature Requests: Browse | Submit New | Admin

[#130] Add OriginalPosition attribute to Songs.

Date:
2003-10-29 19:33
Priority:
2
Submitted By:
Quintin Paulson (squint)
Assigned To:
Nobody (None)
Category:
Player
State:
Open
Summary:
Add OriginalPosition attribute to Songs.

Detailed description
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: Notepad

Please login


Followup

Message
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.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item