Newzbin url fix, post-processor bug fix for folders with an underscore

This commit is contained in:
Remy
2011-08-02 00:23:58 -07:00
parent 769579bed2
commit 5c4641c130
3 changed files with 6 additions and 3 deletions

View File

@@ -372,7 +372,9 @@ def findArtistbyAlbum(name):
def findAlbumID(artist=None, album=None):
term = '"'+album+'" AND artist:"'+artist+'"'
term = album + '" AND artist:"'+artist+'"'
f = ws.ReleaseGroupFilter(query=term, limit=1)
results = None

View File

@@ -377,10 +377,11 @@ def forcePostProcess():
logger.info('Querying MusicBrainz for the release group id for: %s - %s' % (name, album))
from headphones import mb
try:
rgid = unicode(mb.findAlbumID(name, album))
rgid = mb.findAlbumID(name, album)
except:
logger.error('Can not get release information for this album')
if rgid:
rgid = unicode(rgid)
verify(rgid, albumpath)

View File

@@ -237,7 +237,7 @@ def searchNZB(albumid=None, new=False):
if headphones.NEWZBIN:
provider = "newzbin"
providerurl = "https:/www.newzbin.com/"
providerurl = "https://www.newzbin.com/"
if headphones.PREFERRED_QUALITY == 3:
categories = "7" #music
format = "2" #flac