mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-14 08:16:17 -04:00
[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 <time.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
#include "outputs.h"
|
#include "outputs.h"
|
||||||
|
|
||||||
@ -121,7 +122,7 @@ enum media_kind {
|
|||||||
MEDIA_KIND_TVSHOW = 64,
|
MEDIA_KIND_TVSHOW = 64,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MEDIA_KIND_ALL (1 | 2 | 4 | 8 | 32 | 64)
|
#define MEDIA_KIND_ALL USHRT_MAX
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
db_media_kind_label(enum media_kind media_kind);
|
db_media_kind_label(enum media_kind media_kind);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user