mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-22 04:39:26 +00:00
Added a little log message when searching TPB with the Blackhole option set
This commit is contained in:
@@ -1073,6 +1073,8 @@ def searchTorrent(albumid=None, new=False, losslessOnly=False):
|
||||
provider))
|
||||
|
||||
# Pirate Bay
|
||||
if headphones.PIRATEBAY and headphones.TORRENT_DOWNLOADER == 0:
|
||||
logger.warn("Cannot search Pirate Bay with Blackhole option set")
|
||||
if headphones.PIRATEBAY and headphones.TORRENT_DOWNLOADER != 0:
|
||||
provider = "The Pirate Bay"
|
||||
providerurl = url_fix("http://thepiratebay.sx/search/" + term + "/0/99/")
|
||||
|
||||
Reference in New Issue
Block a user