mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 20:16:14 -05:00
[db] Use db_get_one_int in db_pl_id_bypath
This commit is contained in:
7
src/db.h
7
src/db.h
@@ -536,7 +536,7 @@ struct media_file_info *
|
||||
db_file_fetch_byid(int id);
|
||||
|
||||
struct media_file_info *
|
||||
db_file_fetch_byvirtualpath(char *path);
|
||||
db_file_fetch_byvirtualpath(const char *path);
|
||||
|
||||
int
|
||||
db_file_add(struct media_file_info *mfi);
|
||||
@@ -572,11 +572,14 @@ db_pl_ping(int id);
|
||||
void
|
||||
db_pl_ping_bymatch(char *path, int isdir);
|
||||
|
||||
int
|
||||
db_pl_id_bypath(const char *path);
|
||||
|
||||
struct playlist_info *
|
||||
db_pl_fetch_bypath(const char *path);
|
||||
|
||||
struct playlist_info *
|
||||
db_pl_fetch_byvirtualpath(char *virtual_path);
|
||||
db_pl_fetch_byvirtualpath(const char *virtual_path);
|
||||
|
||||
struct playlist_info *
|
||||
db_pl_fetch_bytitlepath(char *title, char *path);
|
||||
|
||||
Reference in New Issue
Block a user