Add track lookup by name/artist/album

This commit is contained in:
jude
2024-03-17 16:53:07 +00:00
parent 08cc752932
commit 3a196153ba
24 changed files with 931 additions and 2010 deletions

View File

@ -1,9 +1,10 @@
CREATE TABLE "tracked_playlist" (
rule_id UUID NOT NULL PRIMARY KEY, -- Internal ID
playlist_id UUID, -- UUID of the playlist in navidrome
playlist_name VARCHAR(250), -- Name of the playlist in navidrome
playlist_size INT NOT NULL, -- Max number of tracks to populate
tracking_user VARCHAR(250), -- User to track stats for
tracking_type VARCHAR(14), -- Matches time period params from listenbrainz
reduce_duplication_on VARCHAR(250) -- Allow e.g preferring songs from different albums or artists
CREATE TABLE "tracked_playlist"
(
rule_id UUID NOT NULL PRIMARY KEY, -- Internal ID
playlist_id UUID, -- UUID of the playlist in subsonic
playlist_name VARCHAR(250), -- Name of the playlist in subsonic
playlist_size INT NOT NULL, -- Max number of tracks to populate
tracking_user VARCHAR(250) NOT NULL, -- User to track stats for
tracking_type VARCHAR(14) NOT NULL, -- Matches time period params from listenbrainz
reduce_duplication_on VARCHAR(250) -- Allow e.g preferring songs from different albums or artists
);