Should do the trick

Use album_dir as leading parameter. Else 'dir' and if not specify just post process
This commit is contained in:
kooimens
2015-12-05 00:21:53 +01:00
parent 56555ad550
commit bb362325ad

View File

@@ -332,13 +332,15 @@ class Api(object):
searcher.searchforalbum()
def _forceProcess(self, **kwargs):
dir = None
if 'dir' in kwargs:
dir = kwargs['dir']
album_dir = None
if 'album_dir' in kwargs:
album_dir = kwargs['album_dir']
postprocessor.forcePostProcess(self, dir, album_dir)
album_dir = kwargs['album_dir']
dir = None
postprocessor.forcePostProcess(self, dir, album_dir)
elif 'dir' in kwargs:
self.dir = kwargs['dir']
postprocessor.forcePostProcess(self.dir)
else:
postprocessor.forcePostProcess()
def _forceActiveArtistsUpdate(self, **kwargs):
updater.dbUpdate()