[db] Move calculation of artist/album id's from sqlite to code

The purpose of this is to support library backends making their own
calculation of these id's, which is relevant if they have more information
available than just album_artist and album.

This also removes a bunch of sqlite extension code plus some triggers, which
in itself is probably an improvement.
This commit is contained in:
ejurgensen
2019-05-12 23:28:38 +02:00
parent c8650a0450
commit b3bfb0a5f6
7 changed files with 58 additions and 209 deletions

View File

@@ -130,6 +130,9 @@ swap_pointers(char **a, char **b);
uint32_t
djb_hash(const void *data, size_t len);
int64_t
two_str_hash(const char *a, const char *b);
char *
b64_decode(const char *b64);