I wish there was an option to run the script manually though on a folder with files already in it
![Sad :(](./images/smilies/sad.gif)
You could do this with a pretty simple batch script, using a "for" argument with tokens: http://ss64.com/nt/for_f.htmlNewYears1978 wrote:I wish there was an option to run the script manually though on a folder with files already in it
Code: Select all
YoVanilla.exe" "D:\sabnzbd\complete\The Magnificent Seven 2016 1080p BluRay x264 DTS-WiKi" "The.Magnificent.Seven.2016.1080p.BluRay.x264.DTS-WiKi.nzb" "The Magnificent Seven 2016 1080p BluRay x264 DTS-WiKi" "" "x264" "alt.binaries.kenpsx" "0"
Code: Select all
dir /b > file_list.txt
Code: Select all
for /f tokens=1 %%G IN (file_list.txt) DO "[YOUR_PATH_TO]\YoVanilla.exe ""[YOUR_MOVIE DIRECTORY]\%%G"" ""%%G.nzb"" ""%%G"" """" ""x264"" ""a.b.c"" ""0"""
I updated the second post. The change log version numbers are now clickable links for versions .60 thru current.polayer5 wrote:Would you be able to link a download of each version in the second post? This would be useful in case we need to roll back a version or two due to an outage with the current version. Thank you for your consideration of this request.
I haven't had time to test this - I was hoping MajorMercy Flush was going to post back with some results from testing.polayer5 wrote:Can you provide an update or details on how you solved the problem. I'm still trying to isolate what the root cause is. The file appears to download and create a folder where it should. I'm assuming YoVanilla then deletes the file and is not able to find it when it's time to work it's magic and move the file. I would really like to resolve this as soon as possible if anyone can help.
Thank you!!! Greatly appreciated.NoTolerance wrote:I updated the second post. The change log version numbers are now clickable links for versions .60 thru current.polayer5 wrote:Would you be able to link a download of each version in the second post? This would be useful in case we need to roll back a version or two due to an outage with the current version. Thank you for your consideration of this request.
Thank you! I will test this and report back. Hopefully this will fix the issue with the mapped drives.NoTolerance wrote:I haven't had time to test this - I was hoping MajorMercy Flush was going to post back with some results from testing.polayer5 wrote:Can you provide an update or details on how you solved the problem. I'm still trying to isolate what the root cause is. The file appears to download and create a folder where it should. I'm assuming YoVanilla then deletes the file and is not able to find it when it's time to work it's magic and move the file. I would really like to resolve this as soon as possible if anyone can help.
Here's my working theory: I suspect this has something to do with UAC and permissions in Windows 10, along with mapped network drives.
My advice to resolve this issue it to locate the YoVanilla.exe file in your scripts directory, right-click on it, choose Properties, go to Compatibility tab, check the box that says "Run this program as an administrator". You could also enable the option to "Run this program in compatibility mode for: Windows 7".
Or disable UAC completely, though this is obviously much less secure.
Which suggestion in particular? I'll update the first post with the suggested fix.polayer5 wrote:I got it to work based on your suggestions! Thanks for the support and keep up the great work on your script.
NoTolerance wrote:My advice to resolve this issue it to locate the YoVanilla.exe file in your scripts directory, right-click on it, choose Properties, go to Compatibility tab, check the box that says "Run this program as an administrator". You could also enable the option to "Run this program in compatibility mode for: Windows 7".
No, I am on Windows 10. I might add 1.2.0 only affected the Yovanilla script which I use for movies. My TV catagories still worked fine but of course they use the Sab script.safihre wrote:Are you on Linux or Mac? For those platforms, any script needs the execution bit (+x) set. This is to prevent people taking over your PC when they manage to get access to your SAB API-key.
safihre wrote:Can you see anything in the log?
When the download is in the queue, does it get the correct Category and does it show the script under the Script section for the job? (so while it's still downloading)
Sorry I misunderstood. The answer is no it does not select the Movie Category with the YoVanilla Script. Instead it selects the default category and does not process with YoVanilla. I can manually select the Movie Category before the download finishes and it works as usual. But in version 1.1.1 it selects the Movie category with the Yovanilla script automatically.safihre wrote:So probably the correct category is not applied to the job.
What I actually meant is to click on the little arrow that's visible when the Job is in the queue on the right, there it will show the actual category and script Sab is applying after the download finishes.
Does it show the script there?