Minor query fix

Minor fix for non-Extended query mode.
This commit is contained in:
markjfine 2021-04-29 20:19:27 -04:00 committed by GitHub
parent 6cbc68ef67
commit 8a74e88d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,7 +422,7 @@ class NRSC5_DUI(object):
saveStr = os.path.join(aasDir, baseStr)
print("lastXHDR: "+self.lastXHDR)
if ((newArtist=="") and (newTitle=="")) or (self.lastXHDR == "1"):
if ((newArtist=="") and (newTitle=="")) or (setExtend and (self.lastXHDR == "1")):
self.coverImage = os.path.join(aasDir, self.stationLogos[self.stationStr][self.streamNum])
self.streamInfo['Album']=""
self.streamInfo['Genre']=""