Always rescan and update playlists

This is needed to keep relative playlist items up to date in the
database when the playlist file moves around.
This commit is contained in:
Julien BLACHE
2009-06-11 19:04:21 +02:00
parent c589d92b14
commit 538d81b402
4 changed files with 41 additions and 38 deletions

View File

@@ -1847,7 +1847,7 @@ db_pl_add_item(int plid, int mfid)
#undef QADD_TMPL
}
static void
void
db_pl_clear_items(int id)
{
#define Q_TMPL "DELETE FROM playlistitems WHERE playlistid = %d;"