Station logo

Fixed a timing bug where the track info trigger wasn't properly displaying the station logo when it changes to an info/slogan.
This commit is contained in:
markjfine 2021-04-09 15:59:56 -04:00 committed by GitHub
parent d46533a96c
commit 23a232c7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -362,11 +362,11 @@ class NRSC5_DUI(object):
got_cover = False
# only change when there's a new ID3
if (self.id3Changed):
#if (self.id3Changed):
# only care about the first artist listed if separated by slashes
newArtist = self.fix_artist()
baseStr = str(newArtist +" - "+self.streamInfo["Title"]).replace("/","_").replace(":","_")
#saveStr = "aas/"+ baseStr.replace(" ","_")+".jpg"
saveStr = os.path.join(aasDir, baseStr.replace(" ","_")+".jpg")
searchStr = baseStr.replace(" ","+")