Upgrade database to version 14 (artist groups and seek)

- add songartistid to support artist groups
- add corresponding trigger
- add seek field for later use (to save playback position)
- add G_ARTISTS and adjust queries
- add smart playlists Podcasts/Audiobooks with db upgrade
This commit is contained in:
ejurgensen
2013-12-17 20:58:55 +01:00
parent ec2637285d
commit dbb043198d
3 changed files with 477 additions and 193 deletions

View File

@@ -939,10 +939,11 @@ filescanner(void *arg)
pthread_exit(NULL);
}
/* Recompute all songalbumids, in case the SQLite DB got transferred
/* Recompute all songartistids and songalbumids, in case the SQLite DB got transferred
* to a different host; the hash is not portable.
* It will also rebuild the groups we just cleared.
*/
db_files_update_songartistid();
db_files_update_songalbumid();
bulk_scan();