Search found 14 matches

by FatalOne
July 7th, 2013, 3:59 pm
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Made the change in the script on my machine, and it seemed to work just fine. Nice one! On another note, was thinking of starting a new thread here soon, since we have a working script, that way we can title it in a manner that will be a little more obvious of what it does. Is there specific forum r...
by FatalOne
July 7th, 2013, 8:10 am
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Yes, it is my first python script :)
by FatalOne
July 6th, 2013, 9:05 pm
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Sanders, After a couple hours of research, modifications, and trial and error, I've finally got a pp script that does what I want. This script will take a movie folder that was renamed by SABnzbd, from the movies category completed folder, identify the first letter of the movie title, ignoring "...
by FatalOne
July 6th, 2013, 2:27 pm
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Sanders, I had a chance to test this, and was not successful. I keep getting a syntax error, here is what the script log says: File "C:\Program Files (x86)\SickBeard\autoProcessTV\Move-it.py", line 8 destinationdirectory = 'E:\ServerFolders\Videos\Movies\' + jobname ^ SyntaxError: EOL whil...
by FatalOne
July 6th, 2013, 10:53 am
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Kk, had to step out for about an hour, will test this when I get back.
by FatalOne
July 6th, 2013, 10:34 am
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Yes, that makes perfect sense. Question though... why "print" the various info, doesn't that just display it on the console screen? Just trying to understand whats going on is all... :)

Thank you again!
by FatalOne
July 6th, 2013, 3:29 am
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Ah yes, I read about the 5 or so parameters that are passed from SABnzbd, im guessing the nzb clean name or path is what we want?

Yes I have ran python pp script I run a custom fork of sickbeard from source, so python is Installed with environment variables path set to point to python install...
by FatalOne
July 6th, 2013, 3:06 am
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

As a SABnzbd pp script... After each movie category download
by FatalOne
July 5th, 2013, 8:26 pm
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Sanders, Ok, so after messing with the code for a couple days, I have yet to get it to work properly, it could very well be something I'm doing incorrectly. So I have gotten the bit of code that actually moves the directories to function correctly, though I was having trouble getting it to move the ...
by FatalOne
July 4th, 2013, 12:37 pm
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Sanders, Yes, the output looks correct, though, i'm not sure about using the file name rather then the folder name. Think I would prefer folder name, unless there is a reason for using the file name that I'm missing. Just to clarify, I'm not looking to actually do any renaming to the movies folder o...
by FatalOne
July 4th, 2013, 10:36 am
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Sanders start with srcDir split the srcDir-name on "\", find latest string, remove "the" (and "The") and space from the beginning then get the first letter, turn to capital. if letter is not a letter, then turn into "#". set dstVar = to first letter set dstDir...
by FatalOne
July 4th, 2013, 1:26 am
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

Sanders, First off, thank you in advance for your help. So I have catagories setup in SABnzbd, SAB will be handling the downloading, unpacking, directory clean up, as well as renaming, once this is complete I will have a folder in my "movies" catagory directory with a name in the format of...
by FatalOne
July 3rd, 2013, 5:05 pm
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Re: Help with a script function

So I've created a portion of the script that I need, haven't tested this, but what I'm looking to do is move a directory and its contents to another directory. Although, this still lacks the ability to grab first letter of movie name and make the destination directory be a folder of that letter. My ...
by FatalOne
July 2nd, 2013, 3:09 pm
Forum: Post-Processing Scripts
Topic: Help with a script function
Replies: 23
Views: 11322

Help with a script function

Hi all, Attempting to write a python script that will rename and move movies. There are several of these around the forum, though they all lack one tiny function. Hoping somebody can point me in the right direction My drive structure is: E:\Videos\Movies\M\Movie name, The (year)\ The Movie Name.avi ...