From 3a196153ba03cf0bfc9613794e6f136172b303d3 Mon Sep 17 00:00:00 2001 From: jude Date: Sun, 17 Mar 2024 16:53:07 +0000 Subject: [PATCH] Add track lookup by name/artist/album --- .idea/sqldialects.xml | 6 + .idea/workspace.xml | 109 ++- Cargo.lock | 1051 +++++++++++++---------- Cargo.toml | 14 +- migrations/20230816135241_initial.sql | 17 +- navidrome/Cargo.lock | 1144 ------------------------- navidrome/Cargo.toml | 10 - navidrome/src/client/auth.rs | 6 - navidrome/src/client/builder.rs | 72 -- navidrome/src/client/library.rs | 22 - navidrome/src/client/mod.rs | 25 - navidrome/src/client/playlists.rs | 61 -- navidrome/src/lib.rs | 2 - navidrome/src/models/generic.rs | 9 - navidrome/src/models/mod.rs | 2 - navidrome/src/models/navidrome.rs | 70 -- src/daemon/mod.rs | 2 - src/daemon/update_playlists.rs | 75 +- src/daemon/update_tracks.rs | 33 - src/listenbrainz.rs | 17 + src/main.rs | 40 +- src/models.rs | 4 +- src/subsonic.rs | 141 +++ src/track.rs | 9 + 24 files changed, 931 insertions(+), 2010 deletions(-) create mode 100644 .idea/sqldialects.xml delete mode 100644 navidrome/Cargo.lock delete mode 100644 navidrome/Cargo.toml delete mode 100644 navidrome/src/client/auth.rs delete mode 100644 navidrome/src/client/builder.rs delete mode 100644 navidrome/src/client/library.rs delete mode 100644 navidrome/src/client/mod.rs delete mode 100644 navidrome/src/client/playlists.rs delete mode 100644 navidrome/src/lib.rs delete mode 100644 navidrome/src/models/generic.rs delete mode 100644 navidrome/src/models/mod.rs delete mode 100644 navidrome/src/models/navidrome.rs delete mode 100644 src/daemon/update_tracks.rs create mode 100644 src/subsonic.rs create mode 100644 src/track.rs diff --git a/.idea/sqldialects.xml b/.idea/sqldialects.xml new file mode 100644 index 0000000..55bb7b3 --- /dev/null +++ b/.idea/sqldialects.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 8f25295..89ca353 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,7 +1,7 @@ - @@ -13,15 +13,24 @@ - - + + + + + + + + + + + @@ -40,6 +49,9 @@ + + @@ -57,35 +69,41 @@