[Windows] Post Processing Scripts
Re: [Windows] Post Processing Scripts
I did that, but after my download was done and had finished the script - the movie disappeared.
Re: [Windows] Post Processing Scripts
To confirm the entire movie was deleted, including the folder?
Is the folder where SABnzbd downloads the movies to the same as the directory that you set in Movies.exe.config?
I think there may be an issue with that use-case, but I want to ensure this is what you are seeing.
-Markus
Is the folder where SABnzbd downloads the movies to the same as the directory that you set in Movies.exe.config?
I think there may be an issue with that use-case, but I want to ensure this is what you are seeing.
-Markus
Re: [Windows] Post Processing Scripts
I will check it again tomorrow, either way these are my sab settings/config.
My temp directory is F:\Temp and everything (non-script related) gets extracted to E:\SABnzbd. My movies.exe w/ mencoder + config is at <sabroot>\scripts.
I do not use XBMC. Hell, the only option I care about is avi file joining anyways.
My temp directory is F:\Temp and everything (non-script related) gets extracted to E:\SABnzbd. My movies.exe w/ mencoder + config is at <sabroot>\scripts.
I do not use XBMC. Hell, the only option I care about is avi file joining anyways.
Code: Select all
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="logDir" value="F:\Log"/>
<add key="movieDir" value="E:\SABnzbd"/>
<add key="hdMovieDir" value="E:\SABnzbd"/>
<add key="ipodMovieDir" value="E:\SABnzbd"/>
<!--Append IMDB id to end of filename " [tt1234567]" -->
<add key="imdb" value="false"/>
<!--Overwrite movie if it already exists?" -->
<add key="overwriteFile" value="false"/>
<!--Delete Movie Folder?-->
<add key="deleteFolder" value="true"/> // changed it back for time being.
<!-- Update XBMC Library?-->
<add key="updateXbmc" value="true"/>
<!-- Send Popup to XBMC?-->
<add key="notifyXbmc" value="true"/>
<!-- Clean XBMC Library after update & Notify?-->
<add key="cleanLibrary" value="false"/>
<!-- XBMC Path to Movies-->
<add key="xbmcMoviePath" value="E:\1"/>
<!-- XBMC Path to HD Movies-->
<add key="xbmcHdMoviePath" value="E:\1"/>
<!-- XBMC Hostname/IP Address-->
<add key="xbmcHost" value="192.168.178.10"/>
<!-- XBMC Port-->
<add key="xbmcPort" value="9777"/>
<!-- XBMC OS is Windows?-->
<add key="xbmcOsWindows" value="true"/>
</appSettings>
<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>
Re: [Windows] Post Processing Scripts
Okay, looks like you're having the exact issue I mentioned, it should be fixed in version 0.2.7.0, which is just uploaded to Google Code.
Please let me know if this fixes it or now.
-Markus
Code: Select all
http://code.google.com/p/sabscripts/
-Markus
Re: [Windows] Post Processing Scripts
Alright, let me test it quick before I go to bed.
Re: [Windows] Post Processing Scripts
Sorry for the double post, but the new version did the trick. I can confirm it is working as intended now.
That did the trick and it made the script even better than it already was. Thanks markus.
Code: Select all
SABnzbd has downloaded "hanna.2011.dvdrip.xvid-amiable.cd1.par2"
Finished at 2011-08-21 01:59:58
Downloaded 1.4 GB
Results of the job:
Stage stage-download
Downloaded in 1 minute 46 seconds at an average of 13.8 MB/s
Stage stage-repair
[hanna.2011.dvdrip.xvid-amiable.cd2] Quick Check OK
[hanna.2011.dvdrip.xvid-amiable.cd1] Quick Check OK
Stage stage-script
Connecting to XBMC...
Stage stage-unpack
[hanna.2011.dvdrip.xvid-amiable.cd2] Unpacked 1 files/folders in 0 seconds
[hanna.2011.dvdrip.xvid-amiable.cd1] Unpacked 1 files/folders in 0 seconds
[hanna.2011.dvdrip.xvid-amiable.subs] Unpacked 6 files/folders in 0 seconds
[hanna.2011.dvdrip.xvid-amiable] Unpacked 1 files/folders in 0 seconds
Output from user script "Movies.exe" (Exit code = 0):
Processing AVI Movie
Two AVI's Found, processing...
Running mencoder on hanna (2011)
hanna (2011) moved, Folder was kept
Updating XBMC
Connecting to XBMC...
Re: [Windows] Post Processing Scripts
Awesome! Glad its all working, thanks for helping me squash another bugm
-Markus
-Markus
Re: [Windows] Post Processing Scripts
Hi, I'm trying to write a pre queue script that will discard any files from downloading that are larger then 14gb... (due to my temp download storage being limited).
This is what I have so far but it doesn't work
@echo off
if %6 GRQ 14000000000 echo 0
I would appreciate the help...
This is what I have so far but it doesn't work
@echo off
if %6 GRQ 14000000000 echo 0
I would appreciate the help...
Re: [Windows] Post Processing Scripts
There's a "special" option in the sabnzbd.ini file that will give you the same result.
See: http://wiki.sabnzbd.org/configure-special item size_limit
See: http://wiki.sabnzbd.org/configure-special item size_limit
Re: [Windows] Post Processing Scripts
Thank you... Exactly what I needed
Re: [Windows] Post Processing Scripts
I'm closing this topic, it's become to long and mixed up.