Search found 33 matches

by minimeh
05 Feb 2014, 10:24
Forum: Extension scripts
Topic: Help writing a copy script
Replies: 4
Views: 2438

Re: Help writing a copy script

I've been using sab for a while, and I had a coder friend write a script for me to copy files that matched certain categories into a given folder, so I essentially ended up with 2 copies of the same file in 2 different places. I'd like to do the same thing with NZBGet but I'm having trouble adaptin...
by minimeh
26 Dec 2013, 20:41
Forum: Extension scripts
Topic: [PP-Script] VideoSort - better video sorting
Replies: 448
Views: 113290

Re: [PP-Script] VideoSort - better video sorting

I am trying to create a post processing script that will run after VideoSort. I want to copy the resulting file to a secondary location. Is there a way to determine the final filename (or final path) after VideoSort renames and moves it? I know I can get FINALDIR, but I can't figure out how to get ...
by minimeh
04 Dec 2013, 17:59
Forum: Support
Topic: Issue with multiple postprocessing scripts
Replies: 1
Views: 589

Re: Issue with multiple postprocessing scripts

I think what you are looking for is the NZBPP_FINALDIR environment variable. Videosort sets it to the new directory or directories separated by the pipe or bar character. finaldirectory = os.environ.get('NZBPP_FINALDIR', '') if len(finaldirectory) == 0: print('[INFO] No final directories passed to t...
by minimeh
20 Sep 2013, 16:45
Forum: Support
Topic: questions on my logfile
Replies: 5
Views: 1433

Re: questions on my logfile

Your receiver does not have the xmlrpc python library. Fri Sep 20 14:48:31 2013 INFO EMail: File "/usr/share/nzbget/ppscripts/EMail.py", line 88, in <module> Fri Sep 20 14:48:31 2013 INFO EMail: from xmlrpc.client import ServerProxy # python 3 Fri Sep 20 14:48:31 2013 INFO EMail: ImportError: No mod...
by minimeh
19 Sep 2013, 01:01
Forum: Feature discussion
Topic: [New Feature] Smart duplicates
Replies: 146
Views: 26208

Re: [New Feature] Smart duplicates

I compiled r830 for Windows. When I run it, I see the following error messages: Error reading diskstate for file C:\NZBGet\downloads\queue\queue Error reading diskstate for history When I run it in the debugger, if find the error in line 1301 of DiskState.cpp: if (fscanf(infile, "%i,%lu,%lu,%u,%i\n"...
by minimeh
07 Sep 2013, 20:28
Forum: Extension scripts
Topic: [PP-Script] VideoSort - better video sorting
Replies: 448
Views: 113290

Re: [PP-Script] VideoSort - better video sorting

Version 3.0: added for seasoned TV shows: if year in the file name goes directly after show name, it will be added to show name. This may be necessary for media players like XBMC, Boxee or Plex (or anyone using TheTVDB) to properly index TV show. New option "SeriesYear" to disable this if necessary...
by minimeh
29 Aug 2013, 01:04
Forum: Extension scripts
Topic: [PP-Script] VideoSort - better video sorting
Replies: 448
Views: 113290

Re: [PP-Script] VideoSort - better video sorting

2. the set_dest_dir can be much simpler. The files are already in category destination directory. You just need to take the parent path of NZBPP_DIRECTORY. What I meant is at the time when VideoSort is started files are already in category destination dir: Z:\Media\dailycolbert\The.Daily.Show.2013....
by minimeh
28 Aug 2013, 19:23
Forum: Extension scripts
Topic: [PP-Script] VideoSort - better video sorting
Replies: 448
Views: 113290

Re: [PP-Script] VideoSort - better video sorting

Thanks for your suggestions and changes. 2. the set_dest_dir can be much simpler. The files are already in category destination directory. That is not what I am seeing. VideoSort is putting the files into "Z:\Media\TV" when the expectation is that they be placed into "Z:\Media\dailycolbert". I have...
by minimeh
28 Aug 2013, 10:47
Forum: Extension scripts
Topic: [PP-Script] VideoSort - better video sorting
Replies: 448
Views: 113290

Re: [PP-Script] VideoSort - better video sorting

I have been migrating my sabnzbd functionality to nzbget. That's been going very well but I have run into a few hitches with video sorting for dated episodes of tv shows. I have two separate requirements for dated tv episodes. In one case, I need the show name, broadcast date, and episode title (whi...
by minimeh
20 Aug 2013, 10:16
Forum: Support
Topic: RSS Filters
Replies: 85
Views: 14285

Re: RSS Filters

In word-search-mode the wildcards * and ? only match non-word-separating characters. Okay, that's the bit I was missing out. In Sabnzbd (from where I copied the working filters), the wild cards match the dots. I'll just use regex expressions to get what I need. Thanks prinz2311 for setting me strai...