Anna Schumaker
5232217eeb
core/playlists/system: Overload playlist_delete() function
...
Instead of deleting a playlist, we can use this to clear
user-configurable playlists.
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2016-09-26 08:07:34 -04:00
Anna Schumaker
a775eeb761
core/playlists: Add a pl_next() playlist operation
...
This is mostly needed so the queued tracks playlist can be saved after
picking a track.
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2016-09-23 16:11:08 -04:00
Anna Schumaker
019137e4ed
core/playlists/generic: Add a playlist_generic_update() function
...
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-08-28 10:13:03 -04:00
Anna Schumaker
dddb098354
core/playlists/generic: Add a playlist_generic_init() function
...
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-08-28 10:13:03 -04:00
Anna Schumaker
1a29458d7c
core/playlists/generic: Add a playlist_generic_remove() function
...
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-08-28 10:13:03 -04:00
Anna Schumaker
c2a7d0289f
core/playlists/generic: Add a playlist_generic_add_track() function
...
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-08-28 10:13:02 -04:00
Anna Schumaker
8f7e8be39d
core/playlists/generic: Add a playlist_generic_set_flag() function
...
The history playlist uses a noop function, since changing random or
repeat settings doesn't make sense for this playlist. The collection
playlist uses a custom function to save changes after setting a flag.
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-08-28 10:13:02 -04:00
Anna Schumaker
a80a84a955
core/playlists/generic: Add a playlist_generic_sort() function
...
I set the history playlist to use a noop function, since changing the
history doesn't really make sense.
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-08-28 10:13:02 -04:00