mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-22 08:53:59 +01:00
Disabling what.cd caching for now, it isn't threadsafe.
This commit is contained in:
@@ -831,7 +831,7 @@ def searchTorrent(albumid=None, new=False, losslessOnly=False):
|
|||||||
logger.warn("What.cd credentials incorrect or site is down.")
|
logger.warn("What.cd credentials incorrect or site is down.")
|
||||||
|
|
||||||
if whatcd:
|
if whatcd:
|
||||||
whatcd.enableCaching()
|
# whatcd.enableCaching()
|
||||||
logger.info("Getting artist information for %s..." % artistterm)
|
logger.info("Getting artist information for %s..." % artistterm)
|
||||||
artist = whatcd.getArtist(artistterm)
|
artist = whatcd.getArtist(artistterm)
|
||||||
artist_id = artist.getArtistId()
|
artist_id = artist.getArtistId()
|
||||||
|
|||||||
Reference in New Issue
Block a user