mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
[artwork] Define MEDIA_KIND_ALL as USHRT_MAX instead of individual num values
This commit is contained in:
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);
|
||||
|
||||
Reference in New Issue
Block a user