mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-24 19:46:19 -05:00
[jsonapi] Add support for playlist folders
This commit is contained in:
4
src/db.h
4
src/db.h
@@ -227,6 +227,7 @@ struct media_file_info {
|
||||
|
||||
#define mfi_offsetof(field) offsetof(struct media_file_info, field)
|
||||
|
||||
/* Keep in sync with pl_type_label[] */
|
||||
/* PL_SPECIAL value must be in sync with type value in Q_PL* in db_init.c */
|
||||
enum pl_type {
|
||||
PL_SPECIAL = 0,
|
||||
@@ -236,6 +237,9 @@ enum pl_type {
|
||||
PL_MAX,
|
||||
};
|
||||
|
||||
const char *
|
||||
db_pl_type_label(enum pl_type pl_type);
|
||||
|
||||
struct playlist_info {
|
||||
uint32_t id; /* integer id (miid) */
|
||||
char *title; /* playlist name as displayed in iTunes (minm) */
|
||||
|
||||
Reference in New Issue
Block a user