]> kaliko git repositories - mpd-sima.git/commitdiff
simadb: Expose file in view_bl
authorkaliko <kaliko@azylum.org>
Thu, 3 Jun 2021 08:57:24 +0000 (10:57 +0200)
committerkaliko <kaliko@azylum.org>
Thu, 3 Jun 2021 08:57:24 +0000 (10:57 +0200)
It permits to build a Track object for comparison

sima/lib/simadb.py

index e52386cb6fe7554814f0323a70b6836fb8f95982..0125039bf02c3d3fcb26b77ef17842242be6a659 100644 (file)
@@ -683,6 +683,7 @@ class SimaDB:
                albums.mbid AS musicbrainz_album,
                tracks.title AS title,
                tracks.mbid AS musicbrainz_title,
+               tracks.file AS file,
                blocklist.id
                FROM blocklist
                LEFT OUTER JOIN artists ON blocklist.artist = artists.id