[artwork] Define MEDIA_KIND_ALL as USHRT_MAX instead of individual num values

This commit is contained in:
ejurgensen 2020-04-18 21:55:06 +02:00
parent 37b4188c3c
commit 0e19102efd

View File

@ -5,6 +5,7 @@
#include <time.h>
#include <stddef.h>
#include <stdint.h>
#include <limits.h>
#include "outputs.h"
@ -121,7 +122,7 @@ enum media_kind {
MEDIA_KIND_TVSHOW = 64,
};
#define MEDIA_KIND_ALL (1 | 2 | 4 | 8 | 32 | 64)
#define MEDIA_KIND_ALL USHRT_MAX
const char *
db_media_kind_label(enum media_kind media_kind);