mirror of
https://github.com/Findus23/RadioStats.git
synced 2024-09-09 04:23:47 +02:00
try to avoid more spotify issues
This commit is contained in:
parent
38c018ca2d
commit
6b65a792d5
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ for song in query.limit(limit):
|
|||
try:
|
||||
results = sp.search(q=searchtitle + ' ' + searchartist, type='track', limit=1)
|
||||
except SpotifyException:
|
||||
if len(searchtitle) > 40:
|
||||
if len(searchtitle + ' ' + searchartist) > 50:
|
||||
song.spotify_data = False
|
||||
song.save()
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue