ocarina/include/core/playlists
Anna Schumaker 73825dd916 core/playlist: Add a function to look up playlists by id
This is much more straightforward than converting an id to a name and
then looking up playlists from there.  This patch removes the now-unused
playlist_get_name() function.

This patch also lets me simplify the system playlist unit test, since I
can now check several similar operations using a loop.  Additionally, I
change calls to pl_system_lookup() into pl_system_get() for efficiency.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2017-04-28 09:40:02 -04:00
..
artist.h core/playlists/artist: Add pl_artist_delete_track() 2016-08-29 07:53:13 -04:00
library.h core/playlists/library: Add pl_library_{init, deinit}() functions 2016-08-13 08:31:30 -04:00
system.h core/playlist: playlist_sort() takes a playlist pointer 2017-04-28 09:40:02 -04:00
type.h core/playlist: Add a function to look up playlists by id 2017-04-28 09:40:02 -04:00
user.h core/playlist: playlist_delete() uses a playlist-level function pointer 2017-04-28 09:40:02 -04:00