add fields to returned queue dict (radio_get_queue)

This commit is contained in:
2025-03-13 11:15:52 -04:00
parent 6ef38f17a7
commit c9d0edf77d
2 changed files with 5 additions and 2 deletions

View File

@ -194,7 +194,7 @@ class RadioUtil:
"""
db_query = 'SELECT distinct(artist || " - " || song) AS artistdashsong, id, artist, song, album, genre, file_path, duration FROM tracks\
WHERE artist LIKE "%chunk! n%" GROUP BY artistdashsong ORDER BY artist ASC, album ASC, id DESC'
WHERE (artist LIKE "%color morale%") AND (NOT song LIKE "%%stripped%%" AND NOT song LIKE "%%live%%" AND NOT song LIKE "%%unzipped%%") GROUP BY artistdashsong ORDER BY RANDOM()'
async with sqlite3.connect(self.active_playlist_path,
timeout=2) as db_conn: