@@ -102,7 +102,7 @@ class BTNProvider(generic.TorrentProvider):
(title,url)=self._get_title_and_url(torrent_info)
ifnottitleornoturl:
logger.log(u"The BTN provider did not return both a valid title and URL for search parameters: "+str(params)+" but returned "+str(torrentinfo),logger.WARNING)
logger.log(u"The BTN provider did not return both a valid title and URL for search parameters: "+str(params)+" but returned "+str(torrent_info),logger.WARNING)
results.append(torrent_info)
# Disabled this because it overspammed the debug log a bit too much
...
...
@@ -290,7 +290,7 @@ class BTNCache(tvcache.TVCache):
self._clearCache()
ifnotself._checkAuth(data):
raiseexceptions.AuthException("Your authentication info for "+self.provider.name+" is incorrect, check your config")
raiseAuthException("Your authentication info for "+self.provider.name+" is incorrect, check your config")
# By now we know we've got data and no auth errors, all we need to do is put it in the database
Downloads a result to the appropriate black hole folder.
...
...
@@ -395,8 +397,7 @@ def findSeason(show, season):
else:
# Check if the provider of this NZB is BTN, if so it's not a NZB but a torrent so all we can do is leach the entire torrent, user will have to select which eps not do download in his torrent client