Auto tv to SabNZBD
Auto tv to SabNZBD
I have been working on a php script for some time now. Click here to look at some screenshots of it.
Description:
Outputs RSS feed for Sabnzbd.
Searches NZBMatrix for new episodes.
Getting information about series and episodes from Thetvdb.com.
Search function.
Manual downloading episodes if rss does not work for you.
Administrate Sabnzbd queue.
It is built on Kohana 3 framework.
Renamer function
And more.
[edit]
If you use this software and like it and want to help me by requesting a new feature, that would be nice.
Request features here so I can keep a nice todo-list of all things I should do.
Version 0.2.6 is out with new design and new features.
NEW WINDOWS INSTALLER. Click here to download. It is tested on Vista and XP. It uses xampp portable server. Just double click on the .exe file. And it will self extract. If you have problem to get it to work. Try clicking on the setup button in the xammp control panel. And answer yes to all questions.
For more help with installation on windows, see here
You can download the project here: http://sourceforge.net/projects/autotvtosab/files/
How to install: http://sourceforge.net/apps/trac/autotvtosab/
Description:
Outputs RSS feed for Sabnzbd.
Searches NZBMatrix for new episodes.
Getting information about series and episodes from Thetvdb.com.
Search function.
Manual downloading episodes if rss does not work for you.
Administrate Sabnzbd queue.
It is built on Kohana 3 framework.
Renamer function
And more.
[edit]
If you use this software and like it and want to help me by requesting a new feature, that would be nice.
Request features here so I can keep a nice todo-list of all things I should do.
Version 0.2.6 is out with new design and new features.
NEW WINDOWS INSTALLER. Click here to download. It is tested on Vista and XP. It uses xampp portable server. Just double click on the .exe file. And it will self extract. If you have problem to get it to work. Try clicking on the setup button in the xammp control panel. And answer yes to all questions.
For more help with installation on windows, see here
You can download the project here: http://sourceforge.net/projects/autotvtosab/files/
How to install: http://sourceforge.net/apps/trac/autotvtosab/
Last edited by morre95 on November 7th, 2010, 12:17 pm, edited 1 time in total.
Re: Auto tv to SabNZBD
Is there anyone useing this script?
Re: Auto tv to SabNZBD
WTF! This looks amazing. Please add nzbs.org support!
Re: Auto tv to SabNZBD
Thanks, I'm already working on nzbs.org support
Re: Auto tv to SabNZBD
It looks very good
Does it have a rename feature like SICKBEARD ??
And does it auto scan folders ?
Does it have a rename feature like SICKBEARD ??
And does it auto scan folders ?
Re: Auto tv to SabNZBD
having this error , any idea ?
---
SYSPATH/classes/kohana/request.php [ 1007 ]
1002 Request::$current = $this;
1003
1004 try
1005 {
1006 // Load the controller using reflection
1007 $class = new ReflectionClass($prefix.$this->controller);
1008
1009 if ($class->isAbstract())
1010 {
1011 throw new Kohana_Exception('Cannot create instances of abstract :controller',
1012 array(':controller' => $prefix.$this->controller));
1.
SYSPATH/classes/kohana/request.php [ 1007 ] » ReflectionClass->__construct(arguments)
argument
string(15) "controller_TEST"
1002 Request::$current = $this;
1003
1004 try
1005 {
1006 // Load the controller using reflection
1007 $class = new ReflectionClass($prefix.$this->controller);
1008
1009 if ($class->isAbstract())
1010 {
1011 throw new Kohana_Exception('Cannot create instances of abstract :controller',
1012 array(':controller' => $prefix.$this->controller));
2.
APPPATH/bootstrap.php [ 195 ] » Kohana_Request->execute()
190 /**
191 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].
192 * If no source is specified, the URI will be automatically detected.
193 */
194 echo Request::instance()
195 ->execute()
196 ->send_headers()
197 ->response;
198
3.
DOCROOT/index.php [ 103 ] » require(arguments)
---
SYSPATH/classes/kohana/request.php [ 1007 ]
1002 Request::$current = $this;
1003
1004 try
1005 {
1006 // Load the controller using reflection
1007 $class = new ReflectionClass($prefix.$this->controller);
1008
1009 if ($class->isAbstract())
1010 {
1011 throw new Kohana_Exception('Cannot create instances of abstract :controller',
1012 array(':controller' => $prefix.$this->controller));
1.
SYSPATH/classes/kohana/request.php [ 1007 ] » ReflectionClass->__construct(arguments)
argument
string(15) "controller_TEST"
1002 Request::$current = $this;
1003
1004 try
1005 {
1006 // Load the controller using reflection
1007 $class = new ReflectionClass($prefix.$this->controller);
1008
1009 if ($class->isAbstract())
1010 {
1011 throw new Kohana_Exception('Cannot create instances of abstract :controller',
1012 array(':controller' => $prefix.$this->controller));
2.
APPPATH/bootstrap.php [ 195 ] » Kohana_Request->execute()
190 /**
191 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].
192 * If no source is specified, the URI will be automatically detected.
193 */
194 echo Request::instance()
195 ->execute()
196 ->send_headers()
197 ->response;
198
3.
DOCROOT/index.php [ 103 ] » require(arguments)
Re: Auto tv to SabNZBD
No Linux support due to the incorrect case sensitivity under *nix systems. Going to try on my Windows box tomorrow.
Re: Auto tv to SabNZBD
Over the line "SYSPATH / classes / Kohan / request.php [1007]" in the red zone, what does that say? And when do you get this error? What operating system?rascalli wrote: having this error , any idea ?
---
SYSPATH/classes/kohana/request.php [ 1007 ]
1002 Request::$current = $this;
1003
1004 try
1005 {
1006 // Load the controller using reflection
1007 $class = new ReflectionClass($prefix.$this->controller);
1008
1009 if ($class->isAbstract())
1010 {
1011 throw new Kohana_Exception('Cannot create instances of abstract :controller',
1012 array(':controller' => $prefix.$this->controller));
1.
SYSPATH/classes/kohana/request.php [ 1007 ] » ReflectionClass->__construct(arguments)
argument
string(15) "controller_TEST"
1002 Request::$current = $this;
1003
1004 try
1005 {
1006 // Load the controller using reflection
1007 $class = new ReflectionClass($prefix.$this->controller);
1008
1009 if ($class->isAbstract())
1010 {
1011 throw new Kohana_Exception('Cannot create instances of abstract :controller',
1012 array(':controller' => $prefix.$this->controller));
2.
APPPATH/bootstrap.php [ 195 ] » Kohana_Request->execute()
190 /**
191 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].
192 * If no source is specified, the URI will be automatically detected.
193 */
194 echo Request::instance()
195 ->execute()
196 ->send_headers()
197 ->response;
198
3.
DOCROOT/index.php [ 103 ] » require(arguments)
I have only tested this on a Windows server. But the script is based on Kohana 3. It should not be too much work to get Linux support. Do you get any error messages?PainToad wrote: No Linux support due to the incorrect case sensitivity under *nix systems. Going to try on my Windows box tomorrow.
Re: Auto tv to SabNZBD
When do you get the error : when I surf to the webadres (after deleting the install.php)
OS : Ubuntu Linux 9.04
The RED LINE on TOP of the page says : ReflectionException [ -1 ]: Class controller_TEST does not exist
OS : Ubuntu Linux 9.04
The RED LINE on TOP of the page says : ReflectionException [ -1 ]: Class controller_TEST does not exist
Re: Auto tv to SabNZBD
Are you sure you surf to the right address? Make sure you dont added /TEST to the end of the address.
Re: Auto tv to SabNZBD
TEST is the folder in which I placed the folder of autoTvToSab
So the full address is : http://192.168.1.11/TEST/autoTvToSab/index.php
Or dit you make it so it can only be placed in the root of www ??
So the full address is : http://192.168.1.11/TEST/autoTvToSab/index.php
Or dit you make it so it can only be placed in the root of www ??
Re: Auto tv to SabNZBD
Looks good, but i will wait for it to mature a bit more before testing
Re: Auto tv to SabNZBD
I make it so it can only be placed in www/autoTvToSab. But it is easy to fix. You simple open .htaccess file in your favorite text editor. Edit line 5rascalli wrote: TEST is the folder in which I placed the folder of autoTvToSab
So the full address is : http://192.168.1.11/TEST/autoTvToSab/index.php
Or dit you make it so it can only be placed in the root of www ??
Code: Select all
RewriteBase /autoTvToSab/
Code: Select all
RewriteBase /TEST/autoTvToSab/
Code: Select all
'base_url' => '/autoTvToSab/',
Code: Select all
'base_url' => '/TEST/autoTvToSab/',
Last edited by morre95 on July 29th, 2010, 2:56 pm, edited 1 time in total.
Re: Auto tv to SabNZBD
getting the following now "
Kohana_Request_Exception [ 0 ]: Unable to find a route to match the URI: index.php
SYSPATH/classes/kohana/request.php [ 635 ]
630 }
631
632 // No matching route for this URI
633 $this->status = 404;
634
635 throw new Kohana_Request_Exception('Unable to find a route to match the URI: :uri',
636 array(':uri' => $uri));
637 }
638
639 /**
640 * Returns the response as the string representation of a request.
1.
SYSPATH/classes/kohana/request.php [ 272 ] » Kohana_Request->__construct(arguments)
uri
string(9) "index.php"
267
268 // Remove all dot-paths from the URI, they are not valid
269 $uri = preg_replace('#\.[\s./]*/#', '', $uri);
270
271 // Create the instance singleton
272 Request::$instance = Request::$current = new Request($uri);
273
274 // Add the default Content-Type header
275 Request::$instance->headers['Content-Type'] = 'text/html; charset='.Kohana::$charset;
276 }
277
2.
APPPATH/bootstrap.php [ 194 ] » Kohana_Request::instance()
189
190 /**
191 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].
192 * If no source is specified, the URI will be automatically detected.
193 */
194 echo Request::instance()
195 ->execute()
196 ->send_headers()
197 ->response;
198
3.
DOCROOT/index.php [ 103 ] » require(arguments)
Might this be because I use linux
Kohana_Request_Exception [ 0 ]: Unable to find a route to match the URI: index.php
SYSPATH/classes/kohana/request.php [ 635 ]
630 }
631
632 // No matching route for this URI
633 $this->status = 404;
634
635 throw new Kohana_Request_Exception('Unable to find a route to match the URI: :uri',
636 array(':uri' => $uri));
637 }
638
639 /**
640 * Returns the response as the string representation of a request.
1.
SYSPATH/classes/kohana/request.php [ 272 ] » Kohana_Request->__construct(arguments)
uri
string(9) "index.php"
267
268 // Remove all dot-paths from the URI, they are not valid
269 $uri = preg_replace('#\.[\s./]*/#', '', $uri);
270
271 // Create the instance singleton
272 Request::$instance = Request::$current = new Request($uri);
273
274 // Add the default Content-Type header
275 Request::$instance->headers['Content-Type'] = 'text/html; charset='.Kohana::$charset;
276 }
277
2.
APPPATH/bootstrap.php [ 194 ] » Kohana_Request::instance()
189
190 /**
191 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].
192 * If no source is specified, the URI will be automatically detected.
193 */
194 echo Request::instance()
195 ->execute()
196 ->send_headers()
197 ->response;
198
3.
DOCROOT/index.php [ 103 ] » require(arguments)
Might this be because I use linux
Re: Auto tv to SabNZBD
If it doesnt help to remove index.php so that the address becomes http://192.168.1.11/TEST/autoTvToSab/rascalli wrote: Might this be because I use linux
It maybe is because you are on a linux server, but I do not think so. It's hard for me to sit here and guess. But I think it is just a setup thing. Can you try one more thing? Open application/bootstrap.php and edit line 55 from
Code: Select all
'index_file' => FALSE,
Code: Select all
'index_file' => 'index.php',
If this doesnt work, the only thing i can think of right now is the line 54 in bootstrap.php. Test to set it to
Code: Select all
'base_url' => '/',
Last edited by morre95 on July 29th, 2010, 3:59 pm, edited 1 time in total.