Auto tv to SabNZBD

Got a program that plays well with SABnzbd? Share it here!
morre95
Jr. Member
Jr. Member
Posts: 63
Joined: February 21st, 2010, 7:17 am

Re: Auto tv to SabNZBD

Post by morre95 »

@rascalli: Well done mate  ;D Yes the URL string is the part of the RSS feed.

Make sure the cache folder is writable where you created the .kohana_cache folder.

Why you get a not available page is because your server has not mod_rewrite enebeld. How you enable it I dont know. But you can run autoTvToSab without mod_rewrite. What you need to do is to edit this line

Code: Select all

'index_file' => FALSE,
in application/bootstrap.php to

Code: Select all

'index_file' => 'index.php',
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Auto tv to SabNZBD

Post by rascalli »

OK that seems to be working

I added some shows.

How can I see that they are added to sab ?
When will it do that ?



Also ... why is thre a file called : credit_cards.php ?????
Last edited by rascalli on August 2nd, 2010, 4:22 pm, edited 1 time in total.
morre95
Jr. Member
Jr. Member
Posts: 63
Joined: February 21st, 2010, 7:17 am

Re: Auto tv to SabNZBD

Post by morre95 »

How can I see that they are added to sab ?:
Do you meen how to add shows to sabnzbd queue? If that is the case you have to add the rss feed to sab (it is the same url you find in the menu). I suppose you know how to do that. But I have not figured out how to solve the automatic rss feed yet. In the mean time you have to use crontab. If you click on "update all" you can choose to generate the files needed. Ask google about the crontab script. I cant help you there. When you hit generate the script gonna create two files. One in the root folder of the script and one in the cmd folder. Make sure these folders are writeble. It is the file in the cmd folder your crontab script should update. It works like this in windows i dont know about linux.

Or you can manually add shows to sabnzbd by klicking on the show name and than click on the name of the episode you whant to download. But beware, it is very slow the first time you click on a show name. That is because it has to download all the images you se in the episode list. But it only download the images once.

credit_cards.php is there because autoTvToSab is based on a framework called Kohana nothing to worry about.
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Auto tv to SabNZBD

Post by rascalli »

K now I understand.

I thought it would be the same as sickbeard , so that it would send the results automaticly to sab



Maybe it is an idea to write down how it works  ... ;-)
Last edited by rascalli on August 2nd, 2010, 6:51 pm, edited 1 time in total.
morre95
Jr. Member
Jr. Member
Posts: 63
Joined: February 21st, 2010, 7:17 am

Re: Auto tv to SabNZBD

Post by morre95 »

I've not tested sickbeard, maybe I should to see how they have solved things. The originally idea  was that you should not need to use crontab and stuff like that. But as it is now was just a convenient way out. But it's on my to do list to make it more automatic.
xplizion
Newbie
Newbie
Posts: 4
Joined: August 3rd, 2010, 5:35 am

Re: Auto tv to SabNZBD

Post by xplizion »

rascalli wrote: Ok trying again.
svn client is no problem, alreday use that for other things.

I see you added suport to NZBs.org, and you need the : NZBs.org URL String.
Is that the part of the RSS feed ?

This part : &i=xxxxx&h=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
morre95 wrote: Yes the URL string is the part of the RSS feed.
first of all, this looks great, great job.


I tried filling that part of the rss feed in, but the field stays red, what am I doing wrong?
morre95
Jr. Member
Jr. Member
Posts: 63
Joined: February 21st, 2010, 7:17 am

Re: Auto tv to SabNZBD

Post by morre95 »

@xplizion: Thanks ;D I dont know what you are doing wrong. Maybe you dont select which site you want to use. If you want to use both nzbmatrix.com and nzbs.org select "use both". If you only want to use nzbs.org select "use nzbs.org"
xplizion
Newbie
Newbie
Posts: 4
Joined: August 3rd, 2010, 5:35 am

Re: Auto tv to SabNZBD

Post by xplizion »

Hi,

I selected the use nzbs.org only.
do I just fill in the '&i=xxxx&h=xxxxxxxx' part or the complete url?
do I add the &dl=1 part?

Thanks a lot!
morre95
Jr. Member
Jr. Member
Posts: 63
Joined: February 21st, 2010, 7:17 am

Re: Auto tv to SabNZBD

Post by morre95 »

Yes the whole string like you show.
nekz
Newbie
Newbie
Posts: 10
Joined: August 3rd, 2010, 12:38 pm

Re: Auto tv to SabNZBD

Post by nekz »

Having thesame problem as xplizion

Trying to add my NZBs.org URL String but the bar stays red  :(
morre95
Jr. Member
Jr. Member
Posts: 63
Joined: February 21st, 2010, 7:17 am

Re: Auto tv to SabNZBD

Post by morre95 »

Which browser do you use? If you download this install.php. Do you get the same error?
xplizion
Newbie
Newbie
Posts: 4
Joined: August 3rd, 2010, 5:35 am

Re: Auto tv to SabNZBD

Post by xplizion »

It's working for me now.
Appearantly there is a validation error on the nzbmatrix username even if you select nzbs.org only.
so just select nzbmatrix, fill in some bogus info, then select nzbs.org and fill in the needed info.
save and done :)

I also noticed that I had to disable my username/password on sabnzbd to make it work.

Grtz
nekz
Newbie
Newbie
Posts: 10
Joined: August 3rd, 2010, 12:38 pm

Re: Auto tv to SabNZBD

Post by nekz »

morre95 wrote: Which browser do you use? If you download this install.php. Do you get the same error?
Thats new file seems to solve my first problem, but now i'm getting this:

Warning: file_get_contents(http://localhost:8080/sabnzbd/api?mode= ... xxxxxxxxxx) [function.file-get-contents]: failed to open stream

Fatal error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\autoTvToSab\install.php on line 26


I'm sure i entered the correct API, tried a new key and restarted sabnzbd a couple of times. But still same error as above...
Last edited by nekz on August 3rd, 2010, 4:40 pm, edited 1 time in total.
morre95
Jr. Member
Jr. Member
Posts: 63
Joined: February 21st, 2010, 7:17 am

Re: Auto tv to SabNZBD

Post by morre95 »

Are you sure it is the right url to sab? Because if it's the api key that is wrong, you should gen an error message about that.
PermaNoob
Newbie
Newbie
Posts: 6
Joined: August 3rd, 2010, 5:43 pm

Re: Auto tv to SabNZBD

Post by PermaNoob »

Dropping in to say that on OS X (snow leopard) I got it working using MAMP (lamp for mac). I had to change 'index_file' => FALSE, to ( 'index_file' => 'index.php', like morre95 said, but it seems to be working just fine now.

Bit of advice for mac noobs like me. The 'www' folder mentioned is '/Applications/MAMP/htdocs" on mac. Also make sure you change the ports in MAMP preferences to default (80, 3306). Make sure Apache in MAMP preferences has '/Applications/MAMP/htdocs'. I think that's default, but I can't remember.
Post Reply