Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | queue: update moved song versions | Max Kellermann | 2009-01-23 | 1 | -0/+1 |
| | | | | This patch fixes a regression introduced by commit aa9ffc. | ||||
* | queue: added queue_shuffle_order() | Max Kellermann | 2009-01-23 | 1 | -0/+11 |
| | | | | | | | | | | | The function shuffles the virtual order of songs, but does not move them physically. This is used in random mode. The new function replaces playlist.c's randomizeOrder() function, which was aware of playlist.current and playlist.queued. The latter is always -1 anyway, and the former as preserved by the caller, by converting playlist.current to a position, and then back to an order number. | ||||
* | queue: merged songs, songMod, positionToId into struct queue_item | Max Kellermann | 2009-01-23 | 1 | -45/+33 |
| | | | | | Move everything which belongs together into one common struct. This simplifies the implementation of several queue operations. | ||||
* | playlist: moved code to queue.c | Max Kellermann | 2009-01-22 | 1 | -0/+267 |
Attempt to untie the playlist.c knot: moved the playlist storage code to queue.c, struct queue. |