SABnzbd Smart Downloader
Re: SABnzbd Smart Downloader
FYI..
latest 'trunk' has a seperate user config file (SSD.cfg) and Daily log rotation.
Sorry Markus, but it was earier to implement those then fix the () & ' issue (well it wass after a few Ale's)
latest 'trunk' has a seperate user config file (SSD.cfg) and Daily log rotation.
Sorry Markus, but it was earier to implement those then fix the () & ' issue (well it wass after a few Ale's)
Re: SABnzbd Smart Downloader
Haha, awesome, I have no complaints with that, config file is much appreciated.
Any idea how you're going to handle the implementation of new options to the config file? In the event you have to add more options that is. I was thinking it might be best to have the new options at the bottom of the file so it would be easy to copy them in, but then you lose organization if they are in any sort of order.
I'll try out the new one tonight hopefully, does it have support for Newzbin again?
-Markus
Any idea how you're going to handle the implementation of new options to the config file? In the event you have to add more options that is. I was thinking it might be best to have the new options at the bottom of the file so it would be easy to copy them in, but then you lose organization if they are in any sort of order.
I'll try out the new one tonight hopefully, does it have support for Newzbin again?
-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
Re: SABnzbd Smart Downloader
Running nicely except will not add to SAB.
Here is the log:
2009-02-24 15:14:20,431 INFO NZB: **
2009-02-24 15:14:23,134 INFO TVDB: **
2009-02-24 15:14:23,134 INFO CHECK WANTED: **
2009-02-24 15:14:23,134 INFO FAILED PROCESSING: ** - 5x05 - Lucky Thirteen
2009-02-24 15:14:23,134 INFO PROCESSING: ** - 5x05 - Lucky Thirteen
2009-02-24 15:14:23,134 INFO NZB: **
2009-02-24 15:14:25,838 INFO TVDB: **
2009-02-24 15:14:25,838 INFO CHECK WANTED: **
2009-02-24 15:14:25,838 INFO FAILED PROCESSING: ** - 5x05 - Lucky Thirteen
2009-02-24 15:14:25,838 INFO PROCESSING: ** - 5x05 - Lucky Thirteen
2009-02-24 15:14:25,838 INFO NZB: **
2009-02-24 15:14:28,618 INFO TVDB: **
2009-02-24 15:14:28,618 INFO CHECK WANTED: **
2009-02-24 15:14:28,618 INFO FAILED PROCESSING: ** - 5x05 - Lucky Thirteen
Running latest .92
Show Name/Season XX/ShowName - sXXeXX - Ep Name.FILE
Newzbin
Here is the log:
2009-02-24 15:14:20,431 INFO NZB: **
2009-02-24 15:14:23,134 INFO TVDB: **
2009-02-24 15:14:23,134 INFO CHECK WANTED: **
2009-02-24 15:14:23,134 INFO FAILED PROCESSING: ** - 5x05 - Lucky Thirteen
2009-02-24 15:14:23,134 INFO PROCESSING: ** - 5x05 - Lucky Thirteen
2009-02-24 15:14:23,134 INFO NZB: **
2009-02-24 15:14:25,838 INFO TVDB: **
2009-02-24 15:14:25,838 INFO CHECK WANTED: **
2009-02-24 15:14:25,838 INFO FAILED PROCESSING: ** - 5x05 - Lucky Thirteen
2009-02-24 15:14:25,838 INFO PROCESSING: ** - 5x05 - Lucky Thirteen
2009-02-24 15:14:25,838 INFO NZB: **
2009-02-24 15:14:28,618 INFO TVDB: **
2009-02-24 15:14:28,618 INFO CHECK WANTED: **
2009-02-24 15:14:28,618 INFO FAILED PROCESSING: ** - 5x05 - Lucky Thirteen
Running latest .92
Show Name/Season XX/ShowName - sXXeXX - Ep Name.FILE
Newzbin
Last edited by JohnnyV on February 24th, 2009, 4:31 pm, edited 1 time in total.
Re: SABnzbd Smart Downloader
Please can people try and refrain from posting the exact details of what they are downloading, it is against our forum rules
Thanks.
http://forums.sabnzbd.org/index.php?topic=41.0# Talking about the great stuff you get from Usenet.
# Posting un-sanitized screenshots or logs showing what you have or are downloading from Usenet. (Since we may at times need you to post these things, PLEASE apply black bars to your screenshots in MS Paint, and replace names and ID's with asterisks in logfiles.)
Thanks.
Last edited by switch on February 24th, 2009, 4:32 pm, edited 1 time in total.
Re: SABnzbd Smart Downloader
Oooppss Sorry. Corrected.switch wrote: Please can people try and refrain from posting the exact details of what they are downloading, it is against our forum ruleshttp://forums.sabnzbd.org/index.php?topic=41.0Talking about the great stuff you get from Usenet.
Re: SABnzbd Smart Downloader
Hi JohnnyV,
Can you post your config options from the script please. and are you running the script on WIndows or Linux?
Can you post your config options from the script please. and are you running the script on WIndows or Linux?
Re: SABnzbd Smart Downloader
Here they are.minimad wrote: Hi JohnnyV,
Can you post your config options from the script please. and are you running the script on WIndows or Linux?
Running Windows 2003
Code: Select all
[SSD]
# Set debug to True, to see what this scrip is doing
DEBUG = True
# 'Smart' Queue checking
# Set to True to use 'Smart' Queue checking
# Looks for the Show, Episode in Queue rather than the filename
SMART_QUEUE = True
# SABnzbd or tvnamer.py style illegal char replaement
# Set to True to use SABnzbd Style
SABnzbdIllegalCharsStyle = True
# Force Windows Compliant Names
# Set to True to force script to use windows compliant names
WINDOWS_COMPLIANT = True
# Add to SABnzbd Queue directly or download NZB to 'blackhole'
# Downloading to 'blackhole' allows for renaming of the NZB to correct shownames etc
NZB_DOWNLOAD = False
# NZB 'blackhole' directory
# Windows Users
NZB_BLACKHOLE_WIN32 = '\\Server\_Removable 200gb\_Usenet\nzb'
# Linux Users
NZB_BLACKHOLE_LINUX = '/A/Linux/Dir'
# NZBs.org UserID & password
NZBS_ORG_USERID = 'i='
NZBS_ORG_PASSWORD = 'h='
[SABnzbd Config]
# your SABNZB address
URL = http://192.168.0.189:8080
# additional SAB parameters to e.g. specify the category, and/or script to run.
# see http://sabnzbd.wikidot.com/automation-support
ADD_PARAMS = &cat=tv
[MEDIA LOCATION]
#Linux Users
TV_DIRS_LINUX = /A/Linux/Dir
# Windows Users
TV_DIRS_WIN32 = \\SERVER\TV Shows\TV Shows
[LOGGING]
ERROR_LOG = /__TV Script/VAD/SSD.log
DEBUG_LOG = /__TV Script/VAD/SSD-Debug.log
[NZB_FEEDS]
# Add a new FEEDx for each feed
# if you had 10 feeds they would be FEED1..FEED5..FEED10 etc
FEED1 = http://www.newzbin.com/browse/category/p/tv/?BLAHBLAHBLAHBLAH
FEED2 = http://www.newzbin.com/search/?q=BLAHBLAHBLAHBLAH
[VIDEO_FORMAT]
# Required video formats
# for x264 enter 'x264'
# for xvid enter 'xvid'
# for 720p enter '720p'
# for 1080p enter '1080'
# for multiple formats put | between them and brackets around each group e.g.
# ([x264])|([xvid])
FORMAT = x264
[NAMING_FORMAT]
# Season Directory Numbering Format
# Type 1 = Season 01
# Type 2 = Season 1
SeasonType = '1'
# Episode File Numbering Format
# Type 1 = Episode 01
# Type 2 = Episode 1
EpisodeType = '1'
[TVDB_API]
# Set tvdb_interactive=True to select shows returned, otherwise it takes first show returned (usually the right one)
INTERACTIVE = False
DEBUG = False
Last edited by JohnnyV on February 24th, 2009, 5:09 pm, edited 1 time in total.
Re: SABnzbd Smart Downloader
If its helpful I'm having the same problem as JonnyV. I'm also using newzbin on windows XP. Folder style is "Season 1"
I have also tried ver 9.3 and it exits right it reads the feed. I know your working on it. Really like the separate config file! and hows its laid out. This is just getting better every day
I have also tried ver 9.3 and it exits right it reads the feed. I know your working on it. Really like the separate config file! and hows its laid out. This is just getting better every day
-
- Newbie
- Posts: 16
- Joined: February 9th, 2009, 7:17 pm
Re: SABnzbd Smart Downloader
Some advice please?
I'm a noob, so never done anything with a script at all, but really want to get this & the tv shows scripts running.
Firstly, I'm using Windows XP & I dont use Newzbin, I use nzbs.org. Is this the right script for me to use:
http://pastebin.com/f5f530116
Also, & this is a major, major noobish question, how exactly do I get this to run?
I need to use Python application in combination with a cmd prompt?
I've a couple of minor questions about how to amend fields in the script too, but they can wait!
Sorry to ask such basic questions, but we all have to learn sometime, right? I knew nothing about newsgroups up until six months ago so be gentle!
Thanks in advance for your time.
I'm a noob, so never done anything with a script at all, but really want to get this & the tv shows scripts running.
Firstly, I'm using Windows XP & I dont use Newzbin, I use nzbs.org. Is this the right script for me to use:
http://pastebin.com/f5f530116
Also, & this is a major, major noobish question, how exactly do I get this to run?
I need to use Python application in combination with a cmd prompt?
I've a couple of minor questions about how to amend fields in the script too, but they can wait!
Sorry to ask such basic questions, but we all have to learn sometime, right? I knew nothing about newsgroups up until six months ago so be gentle!
Thanks in advance for your time.
Re: SABnzbd Smart Downloader
Hey FoxForceFive,
Maybe this post I made might give you a start
http://forums.sabnzbd.org/http://forums ... 040#p11040
I'm not sure but I think the movie script is being kept in that thread. This one is for the tv script. Possibly a new thread for the movie script might be a good idea sometime soon. Its getting a little confusing over there.
When you got it running you'll want to schedule a task in the task scheduler. If you want to hide the window use pythonw.exe
Tip: If you want the script to run every 15mins, get to the advanced screen and set repeat task every 15mins and then set duration to 23hr 59mins
Maybe this post I made might give you a start
http://forums.sabnzbd.org/http://forums ... 040#p11040
I'm not sure but I think the movie script is being kept in that thread. This one is for the tv script. Possibly a new thread for the movie script might be a good idea sometime soon. Its getting a little confusing over there.
Well as I found out a little later, you can use the program that comes with python called IDLE. Open the script in there then go to run then to run module.FoxForceFive wrote: I need to use Python application in combination with a cmd prompt?
When you got it running you'll want to schedule a task in the task scheduler. If you want to hide the window use pythonw.exe
Tip: If you want the script to run every 15mins, get to the advanced screen and set repeat task every 15mins and then set duration to 23hr 59mins
Re: SABnzbd Smart Downloader
It also produced the same error using NZB.org.
Re: SABnzbd Smart Downloader
Minimad,
Question about the configuration for sending directly to SAB or having it place the nzb in the nzb "blackhole" It's not clear (to me at least), which is the option to send it right to SAB, is TRUE send to SAB or is TRUE send to "blackhole" directory?
I'm pretty sure it's the first option, but I'm not 100% sure.
-Markus
Question about the configuration for sending directly to SAB or having it place the nzb in the nzb "blackhole" It's not clear (to me at least), which is the option to send it right to SAB, is TRUE send to SAB or is TRUE send to "blackhole" directory?
I'm pretty sure it's the first option, but I'm not 100% sure.
-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
Re: SABnzbd Smart Downloader
Hi All,
I present RELEASE 0.9.3.
get it here: http://my-svn.assembla.com/svn/SABnzbd_ ... tag/0.9.3/
Changes (number from Trac tickets, see first post):
Fixed #1 - Show mismatch on () and '
New #2 - ALL config now in seperate file called SSD.cfg
New #5 - New Aliases config file called Aliases.cfg, no more hard coded aliases.
New #4 - Ability to use a username & password with SAB, good for SAB 'trunk' with https.
New #3 - seperate log file with daily log rotation, no limit on number of files yet.
Confimed working with NewzBin,nzbs.org but not tvbinz.net (anyone have an email for those guys? I still can't access their site or feed)
@JohnnyV,
That looks like the new config file from 'trunk', which didn't work until now. Please update to release 0.9.3
@Markus
I've updated the config file with additional comments to make it clearer.
NZB_DOWNLOAD = TRUE , will download the NZB
NZB_DOWNLOAD = FALSE , will send to SAB.
@ALL
Please remember that 'trunk' may not always work, it pretty much always in flux as I'm working on the script. Stable releases are under the 'tag' directory.
Have Fun.
I present RELEASE 0.9.3.
get it here: http://my-svn.assembla.com/svn/SABnzbd_ ... tag/0.9.3/
Changes (number from Trac tickets, see first post):
Fixed #1 - Show mismatch on () and '
New #2 - ALL config now in seperate file called SSD.cfg
New #5 - New Aliases config file called Aliases.cfg, no more hard coded aliases.
New #4 - Ability to use a username & password with SAB, good for SAB 'trunk' with https.
New #3 - seperate log file with daily log rotation, no limit on number of files yet.
Confimed working with NewzBin,nzbs.org but not tvbinz.net (anyone have an email for those guys? I still can't access their site or feed)
@JohnnyV,
That looks like the new config file from 'trunk', which didn't work until now. Please update to release 0.9.3
@Markus
I've updated the config file with additional comments to make it clearer.
NZB_DOWNLOAD = TRUE , will download the NZB
NZB_DOWNLOAD = FALSE , will send to SAB.
@ALL
Please remember that 'trunk' may not always work, it pretty much always in flux as I'm working on the script. Stable releases are under the 'tag' directory.
Have Fun.
Re: SABnzbd Smart Downloader
Woohoo! I'll test later tonight hopefully. Thanks Minimad!
-Markus
-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
Re: SABnzbd Smart Downloader
Getting this error message, despite seeing that section in the SSD.cfg file...
Using Python 2.5.2 if that makes a difference.
Looks like it doesn't like the space, I changed it to ML-LINUX and now everything is working properly. Weird...any thoughts?
EDIT: Even WEIRDER...just tried to return it to the same format as it came.. [MEDIA LOCATION - LINUX] and had no issues re-running it...I had some other config issues that I came across after getting past this message (now fixed), not sure what I did to fix it, so it works now.
EDIT2: Figured out the issue...most frustrating, it's due to the run the script from, if I run it from a directory other than the where the script resides it throws the above error, but if I call it form the script's directory it works without issue. Relative path = fail in this case.
Got around this by passing telling the calling shell script, to change the directory to the tv_rss.py script directory.
Still having issues with some shows, here is a log: http://pastebin.com/m71944e73
-Markus
Code: Select all
Traceback (most recent call last):
File "/boot/scripts/tv_rss/tv_rss.py", line 46, in <module>
for dir in config.items('MEDIA LOCATION - LINUX'):
File "/usr/lib/python2.5/ConfigParser.py", line 309, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'MEDIA LOCATION - LINUX'
Looks like it doesn't like the space, I changed it to ML-LINUX and now everything is working properly. Weird...any thoughts?
EDIT: Even WEIRDER...just tried to return it to the same format as it came.. [MEDIA LOCATION - LINUX] and had no issues re-running it...I had some other config issues that I came across after getting past this message (now fixed), not sure what I did to fix it, so it works now.
EDIT2: Figured out the issue...most frustrating, it's due to the run the script from, if I run it from a directory other than the where the script resides it throws the above error, but if I call it form the script's directory it works without issue. Relative path = fail in this case.
Got around this by passing telling the calling shell script, to change the directory to the tv_rss.py script directory.
Still having issues with some shows, here is a log: http://pastebin.com/m71944e73
-Markus
Last edited by markus101 on February 27th, 2009, 2:26 am, edited 1 time in total.
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com