We now append the torrent info hash to the output destination folder name, this allows us to re-use it for manual runs if something failed during the post-processing or other future uses.

This commit is contained in:
echel0n 2014-04-22 02:53:39 -07:00
commit eeca672e00
3 changed files with 17 additions and 5 deletions

View file

@ -1,9 +1,12 @@
import nzbtomedia
from nzbtomedia.nzbToMediaUtil import extractFiles
from nzbtomedia.nzbToMediaUtil import extractFiles, append_downloadID
# Initialize the config
nzbtomedia.initialize()
inputDirectory = "Z:\complete\tv\Game.of.Thrones.S04E03.HDTV.XviD-RARBG"
inputName = "Game of Thrones - S04E03 - Breaker of Chains"
inputHash = 'wdfc8fdn09w1wn908ede0820d8berd434213'
outputDestination = append_downloadID(inputDirectory, inputHash)
print outputDestination