mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
more logging to help capture #205
This commit is contained in:
parent
d707a738be
commit
1c592c679d
1 changed files with 6 additions and 0 deletions
|
@ -156,9 +156,15 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID):
|
|||
Logger.debug("MAIN: Removing sample file: %s", filePath)
|
||||
os.unlink(filePath) # remove samples
|
||||
else:
|
||||
Logger.debug("MAIN: Found media file: %s", filePath)
|
||||
video2 = video2 + 1
|
||||
else:
|
||||
Logger.debug("MAIN: File %s is not a media file", filepath)
|
||||
if video2 >= video and video2 > 0: # Check that all video files were moved
|
||||
Logger.debug("MAIN: Found %s media files", video2)
|
||||
status = 0
|
||||
else:
|
||||
Logger.debug("MAIN: Found %s media files in output. %s were found in input", video2, video)
|
||||
|
||||
# Hardlink solution for uTorrent, need to implent support for deluge, transmission
|
||||
if clientAgent in ['utorrent', 'transmission'] and inputHash and useLink != "no":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue