mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-12 23:43:23 -05:00
make full rescan rescan playlists as well as songs
This commit is contained in:
parent
d64fe731eb
commit
53510607f1
@ -417,7 +417,13 @@ int db_sql_deinit(void) {
|
||||
* force a rescan
|
||||
*/
|
||||
int db_sql_force_rescan(char **pe) {
|
||||
int result;
|
||||
result = db_sql_exec_fn(pe,E_LOG,"update playlists set db_timestamp=0");
|
||||
if(result != DB_E_SUCCESS)
|
||||
return result;
|
||||
|
||||
return db_sql_exec_fn(pe,E_LOG,"update songs set force_update=1");
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user