queue/Playlist: rename DeleteSong() to StaleSong()

This commit is contained in:
Max Kellermann
2016-03-18 18:01:01 +01:00
parent 91fb7fa3d8
commit f37a1026f9
4 changed files with 11 additions and 9 deletions

View File

@@ -91,14 +91,10 @@ struct Partition final : QueueListener, PlayerListener, MixerListener {
playlist.DeleteRange(pc, start, end);
}
#ifdef ENABLE_DATABASE
void DeleteSong(const char *uri) {
playlist.DeleteSong(pc, uri);
void StaleSong(const char *uri) {
playlist.StaleSong(pc, uri);
}
#endif
void Shuffle(unsigned start, unsigned end) {
playlist.Shuffle(pc, start, end);
}