Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SiCKRAGE
sickrage
Commits
889fa19f
Commit
889fa19f
authored
Aug 30, 2018
by
echel0n
Browse files
Fixed issues with failed snatch searcher attempting to re-download archived episodes
parent
cd59c7f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
changelog.md
View file @
889fa19f
# Changelog
-
*
eb98521 - 2018-08-30: Pre-Release v9.3.65.dev3
-
*
d51ba52 - 2018-08-30: Fixed issues with failed snatch searcher attempting to re-download archived episodes
-
*
cd59c7f - 2018-08-30: Pre-Release v9.3.65.dev3
-
*
61c0376 - 2018-08-30: Pre-Release v9.3.65.dev2
-
*
a534896 - 2018-08-30: Pre-Release v9.3.65.dev1
-
*
9d880bd - 2018-08-30: Failed processing skips paused shows and archived episodes.
...
...
sickrage/core/searchers/failed_snatch_searcher.py
View file @
889fa19f
...
...
@@ -24,7 +24,7 @@ import threading
import
sickrage
from
sickrage.core
import
findCertainShow
from
sickrage.core.common
import
Quality
from
sickrage.core.common
import
Quality
,
SNATCHED
,
SNATCHED_BEST
,
SNATCHED_PROPER
from
sickrage.core.queues.search
import
FailedQueueItem
from
sickrage.core.tv.episode
import
TVEpisode
from
sickrage.core.tv.show.history
import
FailedHistory
,
History
...
...
@@ -79,6 +79,10 @@ class FailedSnatchSearcher(object):
ep_obj
=
show
.
getEpisode
(
int
(
episode
[
'season'
]),
int
(
episode
[
'episode'
]))
if
isinstance
(
ep_obj
,
TVEpisode
):
curStatus
,
curQuality
=
Quality
.
splitCompositeStatus
(
ep_obj
.
status
)
if
curStatus
not
in
{
SNATCHED
,
SNATCHED_BEST
,
SNATCHED_PROPER
}:
continue
# put it on the queue
sickrage
.
app
.
search_queue
.
put
(
FailedQueueItem
(
show
,
[
ep_obj
],
True
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment