handle new env vars during build

+ misc
This commit is contained in:
mungai-njoroge
2023-11-08 00:07:55 +03:00
parent de5b2a53b1
commit 89b05ff80c
11 changed files with 63 additions and 36 deletions
+4 -2
View File
@@ -143,7 +143,6 @@ class LyricsProvider(LRCProvider):
res = self._get(
"track.search",
[
("q_track_artist", f"{title} {artist}"),
("q_track", title),
("q_artist", artist),
("page_size", "5"),
@@ -159,7 +158,10 @@ class LyricsProvider(LRCProvider):
except AttributeError:
return []
tracks = body["track_list"]
try:
tracks = body["track_list"]
except TypeError:
return []
return [
{