mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-28 06:56:01 -05:00
[spotify] Purge spotify songs from db before scanning after oauth (#361)
This commit is contained in:
parent
1dde41fb87
commit
00e5e098d4
@ -2386,6 +2386,8 @@ fullrescan()
|
|||||||
static enum command_state
|
static enum command_state
|
||||||
webapi_scan(void *arg, int *ret)
|
webapi_scan(void *arg, int *ret)
|
||||||
{
|
{
|
||||||
|
db_spotify_purge();
|
||||||
|
|
||||||
*ret = rescan();
|
*ret = rescan();
|
||||||
return COMMAND_END;
|
return COMMAND_END;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user