db: add compile-time option to disable database
This commit is contained in:
@@ -79,10 +79,14 @@ struct Partition {
|
||||
return playlist.DeleteRange(pc, start, end);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_DATABASE
|
||||
|
||||
void DeleteSong(const char *uri) {
|
||||
playlist.DeleteSong(pc, uri);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void Shuffle(unsigned start, unsigned end) {
|
||||
playlist.Shuffle(pc, start, end);
|
||||
}
|
||||
|
Reference in New Issue
Block a user