mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-21 16:34:01 +01:00
Merge branch 'postprocessor-hotfix'
This commit is contained in:
@@ -828,7 +828,7 @@ def forcePostProcess():
|
|||||||
logger.info('Processing: %s' % folder_basename)
|
logger.info('Processing: %s' % folder_basename)
|
||||||
|
|
||||||
# First try to see if there's a match in the snatched table, then we'll try to parse the foldername
|
# First try to see if there's a match in the snatched table, then we'll try to parse the foldername
|
||||||
snatched = myDB.action('SELECT AlbumID, Title from snatched WHERE FolderName LIKE ?', [folder_basename])
|
snatched = myDB.action('SELECT AlbumID, Title from snatched WHERE FolderName LIKE ?', [folder_basename]).fetchone()
|
||||||
if snatched:
|
if snatched:
|
||||||
logger.info('Found a match in the database: %s. Verifying to make sure it is the correct album' % snatched['Title'])
|
logger.info('Found a match in the database: %s. Verifying to make sure it is the correct album' % snatched['Title'])
|
||||||
verify(snatched['AlbumID'], folder)
|
verify(snatched['AlbumID'], folder)
|
||||||
|
|||||||
Reference in New Issue
Block a user