Add media_kind music videos and add forgotten return in db upgrade

This commit is contained in:
ejurgensen 2015-04-23 23:38:36 +02:00
parent f37833051d
commit 0e1de8e0bb
2 changed files with 3 additions and 0 deletions

View File

@ -5963,6 +5963,8 @@ db_upgrade(int db_ver)
case 1500: case 1500:
ret = db_generic_upgrade(db_upgrade_v1501_queries, sizeof(db_upgrade_v1501_queries) / sizeof(db_upgrade_v1501_queries[0])); ret = db_generic_upgrade(db_upgrade_v1501_queries, sizeof(db_upgrade_v1501_queries) / sizeof(db_upgrade_v1501_queries[0]));
if (ret < 0)
return -1;
/* FALLTHROUGH */ /* FALLTHROUGH */

View File

@ -90,6 +90,7 @@ enum media_kind {
MEDIA_KIND_MOVIE = 2, MEDIA_KIND_MOVIE = 2,
MEDIA_KIND_PODCAST = 4, MEDIA_KIND_PODCAST = 4,
MEDIA_KIND_AUDIOBOOK = 8, MEDIA_KIND_AUDIOBOOK = 8,
MEDIA_KIND_MUSICVIDEO = 32,
MEDIA_KIND_TVSHOW = 64, MEDIA_KIND_TVSHOW = 64,
}; };