mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix post processing "Force already processed" processing only the first of multiple files.
This commit is contained in:
parent
c88e998b5d
commit
356e395ba2
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
|
||||
* Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all
|
||||
* 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)
|
||||
|
|
|
@ -313,7 +313,8 @@ class ProcessTVShow(object):
|
|||
if not self.files_failed:
|
||||
_bottom_line(u'Successfully processed.', logger.MESSAGE)
|
||||
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:
|
||||
_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):
|
||||
|
||||
if force and not self.any_vid_processed:
|
||||
if force or not self.any_vid_processed:
|
||||
return False
|
||||
|
||||
# Needed for accessing DB with a unicode dir_name
|
||||
|
@ -454,7 +455,7 @@ class ProcessTVShow(object):
|
|||
# processed in the past
|
||||
return False
|
||||
|
||||
showlink = (' for "<a href="/home/displayShow?show=%s" target="_blank">%s</a>"' % (parse_result.show.indexerid, parse_result.show.name),
|
||||
showlink = ('for "<a href="/home/displayShow?show=%s" target="_blank">%s</a>"' % (parse_result.show.indexerid, parse_result.show.name),
|
||||
parse_result.show.name)[self.any_vid_processed]
|
||||
|
||||
ep_detail_sql = ''
|
||||
|
|
Loading…
Reference in a new issue