[artwork] Define MEDIA_KIND_ALL as USHRT_MAX instead of individual num values
This commit is contained in:
parent
37b4188c3c
commit
0e19102efd
3
src/db.h
3
src/db.h
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue