add last fm similar artists to db table

+ add db methods for the above
+ try and discard last fm store
This commit is contained in:
mungai-njoroge
2023-07-01 01:39:39 +03:00
parent 4a9d6bc3e6
commit f5de09bd09
11 changed files with 209 additions and 49 deletions
+8 -3
View File
@@ -26,7 +26,14 @@ CREATE TABLE IF NOT EXISTS settings (
root_dirs text NOT NULL,
exclude_dirs text,
artist_separators text
)
);
CREATE TABLE IF NOT EXISTS lastfm_similar_artists (
id integer PRIMARY KEY,
artisthash text NOT NULL,
similar_artists text NOT NULL,
UNIQUE (artisthash)
);
"""
CREATE_APPDB_TABLES = """
@@ -58,8 +65,6 @@ CREATE TABLE IF NOT EXISTS albums (
UNIQUE (albumhash)
);
CREATE TABLE IF NOT EXISTS artists (
id integer PRIMARY KEY,
artisthash text NOT NULL,