mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
[db] Remove unused functions db_files_update_songartistid,
db_files_update_songalbumid
This commit is contained in:
parent
f5fe1e665a
commit
7856498951
12
src/db.c
12
src/db.c
@ -2024,18 +2024,6 @@ db_files_get_count_bymatch(char *path)
|
|||||||
#undef Q_TMPL
|
#undef Q_TMPL
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
db_files_update_songartistid(void)
|
|
||||||
{
|
|
||||||
db_query_run("UPDATE files SET songartistid = daap_songalbumid(LOWER(album_artist), '');", 0, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
db_files_update_songalbumid(void)
|
|
||||||
{
|
|
||||||
db_query_run("UPDATE files SET songalbumid = daap_songalbumid(LOWER(album_artist), LOWER(album));", 0, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
db_file_inc_playcount(int id)
|
db_file_inc_playcount(int id)
|
||||||
{
|
{
|
||||||
|
6
src/db.h
6
src/db.h
@ -498,12 +498,6 @@ db_files_get_album_count(void);
|
|||||||
int
|
int
|
||||||
db_files_get_count_bymatch(char *path);
|
db_files_get_count_bymatch(char *path);
|
||||||
|
|
||||||
void
|
|
||||||
db_files_update_songartistid(void);
|
|
||||||
|
|
||||||
void
|
|
||||||
db_files_update_songalbumid(void);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
db_file_inc_playcount(int id);
|
db_file_inc_playcount(int id);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user