ocarina/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.c core/playlist: Add a function to look up playlists by id 2017-04-28 09:40:02 -04:00
generic.c core/playlist: playlist_sort() takes a playlist pointer 2017-04-28 09:40:02 -04:00
library.c core/playlist: Add a function to look up playlists by id 2017-04-28 09:40:02 -04:00
system.c core/playlist: Add a function to look up playlists by id 2017-04-28 09:40:02 -04:00
user.c core/playlist: Add a function to look up playlists by id 2017-04-28 09:40:02 -04:00