Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage
Commits
0e986b3e
Commit
0e986b3e
authored
Jun 6, 2015
by
Dustyn Gibson
Browse files
Options
Downloads
Patches
Plain Diff
Clean up some more logging, especially when using hard links
parent
8a195320
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
sickbeard/processTV.py
+3
-6
3 additions, 6 deletions
sickbeard/processTV.py
sickbeard/show_name_helpers.py
+1
-1
1 addition, 1 deletion
sickbeard/show_name_helpers.py
with
4 additions
and
7 deletions
sickbeard/processTV.py
+
3
−
6
View file @
0e986b3e
...
...
@@ -316,9 +316,8 @@ def validateDir(path, dirName, nzbNameOriginal, failed, result):
ek
.
ek
(
os
.
path
.
realpath
,
sqlShow
[
"
location
"
]).
lower
()
+
os
.
sep
)
or
dirName
.
lower
()
==
ek
.
ek
(
os
.
path
.
realpath
,
sqlShow
[
"
location
"
]).
lower
():
result
.
output
+=
logHelper
(
u
"
You
'
re trying to pos
t process an episode that
'
s already been moved to its show dir, skipping
"
,
u
"
Canno
t process an episode that
'
s already been moved to its show dir, skipping
"
+
dirName
,
logger
.
ERROR
)
result
.
missedfiles
.
append
(
dirName
+
"
: Already processed
"
)
return
False
# Get the videofile list for the next checks
...
...
@@ -383,7 +382,6 @@ def unRAR(path, rarFiles, force, result):
u
"
Archive file already post-processed, extraction skipped:
"
+
file_in_archive
,
logger
.
DEBUG
)
skip_file
=
True
result
.
missedfiles
.
append
(
archive
+
"
: RAR already processed
"
)
break
if
skip_file
:
...
...
@@ -492,13 +490,12 @@ def process_media(processPath, videoFiles, nzbName, process_method, force, is_pr
processor
=
None
for
cur_video_file
in
videoFiles
:
cur_video_file_path
=
ek
.
ek
(
os
.
path
.
join
,
processPath
,
cur_video_file
)
if
already_postprocessed
(
processPath
,
cur_video_file
,
force
,
result
):
result
.
missedfiles
.
append
(
ek
.
ek
(
os
.
path
.
join
,
processPath
,
cur_video_file
)
+
"
:
Already processed
"
)
result
.
output
+=
logHelper
(
u
"
Already Processed
"
+
cur_video_file
_path
+
"
:
Skipping
"
,
logger
.
DEBUG
)
continue
cur_video_file_path
=
ek
.
ek
(
os
.
path
.
join
,
processPath
,
cur_video_file
)
try
:
processor
=
postProcessor
.
PostProcessor
(
cur_video_file_path
,
nzbName
,
process_method
,
is_priority
)
result
.
result
=
processor
.
process
()
...
...
This diff is collapsed.
Click to expand it.
sickbeard/show_name_helpers.py
+
1
−
1
View file @
0e986b3e
...
...
@@ -359,7 +359,7 @@ def determineReleaseName(dir_name=None, nzb_name=None):
# NOTE: Multiple failed downloads will change the folder name.
# (e.g., appending #s)
# Should we handle that?
logger
.
log
(
u
"
Folder name (
"
+
folder
+
"
) appears to be a valid release name. Using it.
"
)
logger
.
log
(
u
"
Folder name (
"
+
folder
+
"
) appears to be a valid release name. Using it.
"
,
logger
.
DEBUG
)
return
folder
return
None
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment