Closed banankita closed 10 years ago
the ' ' just tell python, that it's a string, not a variable... do your have the anidb.cfg file in the same folder? the configuration sabtoanidb_switches sets the default tasks, the script should do (hash, rename, move, etc.), when using sabtoanidb.py. otherwise, you could also run anidb.py manually and set the parameters yourself... like: python /volume1/transmission/downloads/autoProcessTV/anidb.py --recursive --rename --move --delete --add --watched /volume1/transmission/downloads/complete/[HorribleSubs]\ Fairy\ Tail\ -\ 169\ [720p].mkv/
Hi Benny!
Yes the anidb.cfg file is in the same folder, nothing in the map structure has been changed. i tried calling the python script with the switches but it tossed up the same error
the init and hash file is inside the anidb folder
not sure, if this is still a problem. if there is a problem with the new version of the script, we can reopen the issue.
Hi Benni-chan!
I receive the following error when running the Anidb script
DiskStation> python /volume1/transmission/downloads/autoProcessTV/sabToAniDB.py /volume1/transmission/downloads/complete/[HorribleSubs]\ Fairy\ Tail\ -\ 169\ [720p].mkv/ Traceback (most recent call last): File "/volume1/transmission/downloads/autoProcessTV/sabToAniDB.py", line 26, in
command = sys.executable + " " + os.path.join(os.path.dirname(sys.argv[0]), "anidb.py") + " " + config['sabtoanidb_switches'] + " '" + sys.argv[1] + "'"
KeyError: 'sabtoanidb_switches'
Does the error pertain to sabtoanidb_switches being in ' ' ? or does it just tell python that its a text string?
Kind regards Peter