[smartpl] refactoring: repurpose playlist type PL_SMART for user created

smart playlists and introduce new type PL_SPECIAL for special system
playlists
This commit is contained in:
chme
2015-04-11 16:55:13 +02:00
parent 2c5ab966e5
commit a174a1d18c
3 changed files with 21 additions and 11 deletions

View File

@@ -166,11 +166,12 @@ struct media_file_info {
#define mfi_offsetof(field) offsetof(struct media_file_info, field)
/* PL_SMART value must be in sync with type value in Q_PL* in db.c */
/* PL_SPECIAL value must be in sync with type value in Q_PL* in db.c */
enum pl_type {
PL_PLAIN = 0,
PL_FOLDER = 1,
PL_SMART = 2,
PL_SPECIAL = 2,
PL_SMART = 3,
PL_MAX,
};