[Windows] YoVanilla: Movie and Documentary Post-Processing

Come up with a useful post-processing script? Share it here!
NoTolerance
Full Member
Full Member
Posts: 127
Joined: June 27th, 2012, 9:55 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by NoTolerance »

You should have Sab set to +Unpack at the very least for your SD category. I have mine set to +Delete.

Image
Last edited by NoTolerance on April 20th, 2015, 12:01 pm, edited 1 time in total.
NoTolerance
Full Member
Full Member
Posts: 127
Joined: June 27th, 2012, 9:55 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by NoTolerance »

TheBigGuy wrote:Firstly, thank you for all your hard work on creating your script. i primarily wanted to use it to auto join split avi files. i have catagories for various types of files enabled in sab. I have mencoder in my scripts folder and your script did post process and join one split avi movie I downloaded correctly. not sure why but since the first successful merge it is not working. to make matters worse it is deleting the source files when it errors out. I know the files were downloaded as two separate avi files in my temp folder, as I checked before processing started. After processing all i am left with in the movie folder is the srt and sub files. The movie itself is gone. The original CD1 & CD2 are missing and as far as I can tell are permanently deleted. Very annoying as this has happened 3 times to double CD movies that were intended to be joined by mencoder. I wouldn't care if mencoder errored and could not join the files and I was left with the original movie parts. Unfortunately, I am left with the movie folder and only the accompanying subs. Poof, movie is gone. most frustrating to lose the downloads completely. Any advice would be appreciated.
I would like to see your INI file.
TheBigGuy
Newbie
Newbie
Posts: 11
Joined: May 21st, 2014, 11:23 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by TheBigGuy »

I am posting from my iPhone as I am away from home. I apologize for my delay in answering as my internet access is currently limited to my phone. Thank you for your assistance. I originally had sab set to + delete. When the movies began to be deleted rather than joined I changed my settings to + unpack. This did not resolve the error, the original split files were again deleted. I will post my INI file as soon as I return home. Thanks again for your assistance, and my apologies for the late reply.
TheBigGuy
Newbie
Newbie
Posts: 11
Joined: May 21st, 2014, 11:23 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by TheBigGuy »

I am often not at home, so i apologize if I don't respond promptly. I leave my computer to do unattended downloads using sickbeard. I use sickbeard to post process my TV downloads. I use moviegrabber to queue my movie downloads. Sab does an ok job at post processing my movies. However, I wuld love to get your script working properly to have all my split movies auto joined with mencoder. Thanks in advance.


[Version]
;===========================================================================
; INI Version Number - DO NOT EDIT
;===========================================================================
INIVer=1.0.0.04

[Config]
;===========================================================================
; Check for new versions? 0 = NO, 1 = YES
;===========================================================================
VerChk=1

;===========================================================================
; Enable logging to file? 0 = NO, 1 = YES
; Be sure to specify path for LogDir in next section
; Use this for help with debugging.
;===========================================================================
Logging=1

;===========================================================================
; User-Defined Categories from Sabnzbd
; Taken from "Category" column under Config - Categories
; MUST MATCH EXACTLY
;===========================================================================
; Documentary Category:
DocCat=documentaries

; HD Movie (x264) Category:
HDCat=x264

; SD Movie (DivX/XviD) Category:
SDCat=xvid

; User Defined Category:
UDCat=kids

; User Defined Category Description:
UDCDescrip="Kid Movie"

[Paths]
;===========================================================================
; Full path to Log File directory - no trailing backslash
;===========================================================================
LogDir="G:\Portable Programs\Portable SABnzbd (FW)\Logs"

;===========================================================================
; Full path for 'complete' directory from Sab
;===========================================================================
ComDir="F:\New Downloads"

;===========================================================================
; Full path where final folders should be created - no trailing backslashes
;===========================================================================
; Documentaries:
DocDir="F:\TV\Docs"

; x264 HD Movies:
HDDir="F:\New Downloads\(New Movies)\(HD)"

; DivX/XviD Movies:
SDDir="F:\New Downloads\(New Movies)"

; User Defined Category:
UDCDir="F:\New Downloads\(Animated Movies)"

[Naming]
;===========================================================================
; Move 'The' to end of folder name. 0 = NO, 1 = YES
; Example: The Greatest Movie Ever
; 0 = D:\Movies\The Greatest Movie Ever (2012)
; 1 = D:\Movies\Greatest Movie Ever, The (2012)
;===========================================================================
RenameThe=0

;===========================================================================
; Move 'A' to end of folder name. 0 = NO, 1 = YES
; Example: A Really Great Movie
; 0 = D:\Movies\A Really Great Movie (2012)
; 1 = D:\Movies\Really Great Movie, A (2012)
;===========================================================================
RenameA=0

;===========================================================================
; Add year to end of folder name. 0 = NO, 1 = YES
; Example: My Great Movie
; 0 = D:\Movies\My Great Movie
; 1 = D:\Movies\My Great Movie (2012)
;===========================================================================
AddYear=1

;===========================================================================
; Use Season Folders? 0 = NO, 1 = YES
; NOT IMPLEMENTED YET
;===========================================================================
Seasons=1

;===========================================================================
; Include the TV show's name when renaming the file? 0 = NO, 1 = YES
; NOT IMPLEMENTED YET
;===========================================================================
ShowName=1

;===========================================================================
; Include the TV show's episode title when renaming the file? 0 = NO, 1 = YES
; NOT IMPLEMENTED YET
;===========================================================================
EpName=1

;===========================================================================
; Choose a Style for episode renaming
;===========================================================================
; 1 = 1x02
; 2 = 01x02
; 3 = s01e02
; 4 = S01E02
Style=4

[Files]
;===========================================================================
; List of files to DELETE by extension. Separate entries with a pipe.
; Most cruft files are deleted anyway, but if things are being missed,
; you can specify them here.
;===========================================================================
DelList=.nzb|.srr|.sfv|.txt|.par|.jpg|.html|.url|.exe

;===========================================================================
; List of additional files to KEEP by extension. Separate entries with a pipe.
; Movie file types are already kept
; Good for keeping subtitle or nfo files if you'd like
;===========================================================================
KeepList=.srt|.sub|.idx|.ssf

[Post-Processing]
;===========================================================================
; Run an additional program/script after YoVanilla completes? 0 = NO, 1 = YES
;===========================================================================
RunApp=0

;===========================================================================
; Full path to script/program (including script or program name to run)
;===========================================================================
AppPath="G:\Portable Programs\Portable SABnzbd (FW)\Scripts\YoVanilla.exe"

;===========================================================================
; Pass arguments to script/program? 0 = NO, 1 = YES
; Arguments passed are:
; [1] Final destination directory and file name (e.g. "D:\Media\x264\My Film\My Film.mkv")
; [2] Final destination directory (e.g. "D:\Media\x264\My Film")
; [3] Folder name (e.g. "My Film")
; [4] File name (e.g. "My Film.mkv")
;===========================================================================
PassArgs=0
NoTolerance
Full Member
Full Member
Posts: 127
Joined: June 27th, 2012, 9:55 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by NoTolerance »

Is your F drive a physical hard drive or partition, or is it a mapped network share?
TheBigGuy
Newbie
Newbie
Posts: 11
Joined: May 21st, 2014, 11:23 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by TheBigGuy »

Yes it is a physical drive. I disabled your script because I didn't want more of my movies deleted. I am now having a problem getting SAB to move the post processed files to my F:\ New Downloads\(New Movies) folder. It errors and leaves the original files in the Temp folder, when I configure it as a Movie category download in SAB config. If I leave it as a default category download it is post processed and moved to my F:\ New Downloads folder correctly. I will investigated all my SAB config settings further and may upgrade to the newest version of SAB. Thanks for all your hard work.
TheBigGuy
Newbie
Newbie
Posts: 11
Joined: May 21st, 2014, 11:23 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by TheBigGuy »

I went over my sab ini settings. there was a mistake in my categories being set to E drive. i corrected the error and did some movie downloads with Sab set as post proccessor for movies it worked properly and moved the movies to the correct folder. i then disabled post processing by sab and re-enabled YoVanilla as the post processing scripts for Sd & Hd movies. Downloaded 1 avi movie and it was deleted again.


Back With My Brand New Invention: v1.0.0.64
INI File Version: v1.0.0.04
An updated version is available: v1.0.0.65
Download from: https://dl.dropbox.com/u/12943123/YoVan ... 0_0_65.exe
You have chosen to skip this update.
Your INI File is current.
New Job: Word Of Honor (2003)
Making sure NZB was processed successfully...
NZB processing completed without error. Yo, VIP! Let's kick it!
Subdirectory Check Result: 9
Reading configuration options from G:\Portable Programs\Portable SABnzbd (FW)\Scripts\YoVanilla.ini
Looks like an SD movie.
Processing as an SD movie.
Formatting date...
Date: 2003
Stripped and readded parenthesis to date; renamed title: Word Of Honor (2003)
Date formatted.
Special Edition Folder is now Word Of Honor (2003)
Processing "Word Of Honor (2003)"
Preparing to clean up files...
Looking for F:\New Downloads\(New Movies)\Word Of Honor (2003)
Moved F:\New Downloads\(New Movies)\Word Of Honor (2003)\Word of Honor 2003 FS DVDrip Xvid-OlFa.idx as F:\New Downloads\(New Movies)\Word Of Honor (2003)\Word Of Honor (2003).idx
Moved F:\New Downloads\(New Movies)\Word Of Honor (2003)\Word of Honor 2003 FS DVDrip Xvid-OlFa.sub as F:\New Downloads\(New Movies)\Word Of Honor (2003)\Word Of Honor (2003).sub
Deleted F:\New Downloads\(New Movies)\Word Of Honor (2003)\Word Of Honor (2003).idx
Deleted F:\New Downloads\(New Movies)\Word Of Honor (2003)\Word Of Honor (2003).sub
Deleted F:\New Downloads\(New Movies)\Word Of Honor (2003)\Word of Honor 2003 Xvid.nfo
Preparing to rename and move files...
Only one file left.
Renaming/Moving F:\New Downloads\(New Movies)\Word Of Honor (2003)\Word of Honor 2003 FS DVDrip Xvid-OlFa.avi to F:\New Downloads\(New Movies)\Word Of Honor (2003)\Word Of Honor (2003).avi SUCCEEDED! Now deleting...
Deleting F:\New Downloads\(New Movies)\Word Of Honor (2003) SUCCEEDED!
There is a YoVanilla update available. Please review the log.
Yo man - let's get out of here. Word to your mother.
TheBigGuy
Newbie
Newbie
Posts: 11
Joined: May 21st, 2014, 11:23 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by TheBigGuy »

Sorry Ill be heading out of town for a bit so I wont be able to access my computer for further troubleshooting, Thanks again for your help
NoTolerance
Full Member
Full Member
Posts: 127
Joined: June 27th, 2012, 9:55 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by NoTolerance »

It appears that you're using the same directory for the complete downloads and the destination directory. I'm guessing that this is where the problem is.

In sab, you might want to switch your "Completed Download Folder" to something like "F:\sabnzbd\complete" and keep the rest of your settings as they are.

I'm almost positive that's going to resolve your issue for you.
TheBigGuy
Newbie
Newbie
Posts: 11
Joined: May 21st, 2014, 11:23 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by TheBigGuy »

Thank you. I will give that a try when I am back home and can access my sab install and script settings. Much appreciated. I guess nobody has come up with an automated way to join separate srt sub titles files? That would be the be all and end all if the separate movie and subs files could be auto merged. Thanks again for all your hard work.

Sent from my iPhone
TheBigGuy
Newbie
Newbie
Posts: 11
Joined: May 21st, 2014, 11:23 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by TheBigGuy »

yes my folder selection was causing the issue. I removed the folder paths I had listed in Sab's categories config. I also added a separate SD folder into the Yo.ini file. Seems to have helped resolve the deletion of files. Not all movies are successfully joined, but at least they're not being deleted now. Many thanks, much appreciated. Keep up the good work.
polayer5
Newbie
Newbie
Posts: 19
Joined: August 7th, 2013, 8:31 pm

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by polayer5 »

NoTolerance, glad to see your still active and developing your amazing script. I was curious if this could be modified or adapted to use with utorrent? I know there are other methods available, but love the simplicity and effectiveness of what your script does. Not to sure if you be interested/motivated, but this would be awesome. If you are interested here are some similar projects. Thanks for your consideration and continued development of an amazing script.

http://www.reddit.com/r/sickbeard/comme ... eard_post/
https://github.com/clinton-hall/nzbToMedia
https://code.google.com/p/tv-torrent-linker/wiki/HowTo
NoTolerance
Full Member
Full Member
Posts: 127
Joined: June 27th, 2012, 9:55 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by NoTolerance »

I'll look over the requirements. If I don't have to rewrite the whole thing, I'd be willing to give it a go.
polayer5
Newbie
Newbie
Posts: 19
Joined: August 7th, 2013, 8:31 pm

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by polayer5 »

Glad to see you might be interested. Here is one more link that might help.

http://forum.utorrent.com/topic/75348-e ... s-scripts/
NoTolerance
Full Member
Full Member
Posts: 127
Joined: June 27th, 2012, 9:55 am

Re: [Windows] YoVanilla: Movie and Documentary Post-Processi

Post by NoTolerance »

polayer5 wrote:Glad to see you might be interested. Here is one more link that might help.

http://forum.utorrent.com/topic/75348-e ... s-scripts/
I don't think it's going to be much of a rewrite after glancing at it, but I think it's going to have to be a separate app, in order to not confuse things.

I'm guessing the admins here would prefer we keep this board limited to SAB scripts, so I just registered over at the uTorrent forums. Once I have a working alpha release to test out, I'll post it over there and that's where I'll be looking for testers and feedback.

With the etiquette of using torrents being so different than just grabbing files from a newsgroup, I am going to have a number of questions about this. So if you're not already registered over there, you might want to.
Post Reply