mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 17:17:43 +00:00
Merge pull request #694 from JackDandy/feature/FixForcePP
Fix post processing "Force already processed" processing only the fir…
This commit is contained in:
commit
21eca63e3e
2 changed files with 5 additions and 3 deletions
|
@ -73,6 +73,7 @@
|
||||||
* Change only create threads for providers needing a recent search instead of for all enabled
|
* Change only create threads for providers needing a recent search instead of for all enabled
|
||||||
* Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all
|
* Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all
|
||||||
* Change remove some logging cruft
|
* Change remove some logging cruft
|
||||||
|
* Fix post processing "Force already processed" processing only the first of multiple files
|
||||||
|
|
||||||
|
|
||||||
### 0.11.11 (2016-04-05 19:20:00 UTC)
|
### 0.11.11 (2016-04-05 19:20:00 UTC)
|
||||||
|
|
|
@ -313,7 +313,8 @@ class ProcessTVShow(object):
|
||||||
if not self.files_failed:
|
if not self.files_failed:
|
||||||
_bottom_line(u'Successfully processed.', logger.MESSAGE)
|
_bottom_line(u'Successfully processed.', logger.MESSAGE)
|
||||||
else:
|
else:
|
||||||
_bottom_line(u'Successfully processed at least one video file %s.' % (', others were skipped', 'and skipped another')[1 == self.files_failed], logger.MESSAGE)
|
_bottom_line(u'Successfully processed at least one video file%s.' %
|
||||||
|
(', others were skipped', ' and skipped another')[1 == self.files_failed], logger.MESSAGE)
|
||||||
else:
|
else:
|
||||||
_bottom_line(u'Failed! Did not process any files.', logger.WARNING)
|
_bottom_line(u'Failed! Did not process any files.', logger.WARNING)
|
||||||
|
|
||||||
|
@ -432,7 +433,7 @@ class ProcessTVShow(object):
|
||||||
|
|
||||||
def _already_postprocessed(self, dir_name, videofile, force):
|
def _already_postprocessed(self, dir_name, videofile, force):
|
||||||
|
|
||||||
if force and not self.any_vid_processed:
|
if force or not self.any_vid_processed:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Needed for accessing DB with a unicode dir_name
|
# Needed for accessing DB with a unicode dir_name
|
||||||
|
|
Loading…
Reference in a new issue