Page 3 of 9

Re: Auto tv to SabNZBD

Posted: August 2nd, 2010, 3:38 pm
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',

Re: Auto tv to SabNZBD

Posted: August 2nd, 2010, 4:02 pm
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 ?????

Re: Auto tv to SabNZBD

Posted: August 2nd, 2010, 5:17 pm
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.

Re: Auto tv to SabNZBD

Posted: August 2nd, 2010, 6:49 pm
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  ... ;-)

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 3:31 am
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.

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 5:36 am
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?

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 6:05 am
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"

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 7:02 am
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!

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 7:14 am
by morre95
Yes the whole string like you show.

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 12:40 pm
by nekz
Having thesame problem as xplizion

Trying to add my NZBs.org URL String but the bar stays red  :(

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 1:19 pm
by morre95
Which browser do you use? If you download this install.php. Do you get the same error?

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 1:27 pm
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

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 4:15 pm
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...

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 5:00 pm
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.

Re: Auto tv to SabNZBD

Posted: August 3rd, 2010, 5:59 pm
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.