Hi sorry my bad beeing unclear on that.
I am running sabnzbd 0.6.0 on my Qnap nas.
I renamed the file to "makedots.py" and chmod +x the script containing
Code: Select all
import sys
import os
os.chdir(sys.argv[1])
os.chdir('..')
os.rename(sys.argv[3], sys.argv[3].replace('_', '.'))
I moved the script catalog to be sure to "/share/MD0_DATA/.qpkg/SABnzbdplus"
I can select the script for my movies catagory and save. When an movie is done i still get an error
Cannot run script /share/MD0_DATA/.qpkg/SABnzbdplus/makedots.py
When i check i see even do the script has an failed status the movie get extraced to an dir and got "." dots instead of "_" but it got one extra folder and the .avi filename does contain spaces.
Movie.Name.2011.720P-GRP/grpdirname-moviename720p/Movie Name 2011 720P GRP.avi
So the first dir does look correct but the second level dir should not be there. The movie should be direct in the root of the first folder and also have it's spaces removed.
Movie.Name.2011.720P-GRP/Movie.Name.2011.720P-GRP.avi
Since i dont know anything about python scripting i cant fix it myself. But now it atleast run even do reported with errors.
Your help is mutch appriciated.
Best regards.