sixones / nzbvr

episode downloader written in php5 for sabnzbd+ and newzbin
http://sixones.com/projects/nzbvr
13 stars 0 forks source link

exception when adding tv show #5

Closed ros485 closed 14 years ago

ros485 commented 14 years ago

SimpleXMLElement::__construct() [simplexmlelement.--construct]: http://services.tvrage.com/feeds/full_show_info.php?sid=0:3: parser error : Start tag expected, '<' not found

The exception was thrown from '/share/MD0_DATA/Qweb/nzbvr/application/classes/scrapers/class.tvrage.php' line 89.

Trace:

0 [internal function]: Picnic::errorHandler('http://services...', 0, true)

1 /share/MD0_DATA/Qweb/nzbvr/application/classes/scrapers/class.tvrage.php(89): SimpleXMLElement->__construct(Object(Series))

2 /share/MD0_DATA/Qweb/nzbvr/application/models/class.series.php(129): TVRage->update()

3 /share/MD0_DATA/Qweb/nzbvr/application/controllers/class.series.php(172): Series->update(Object(SeriesWatcher))

4 /share/MD0_DATA/Qweb/nzbvr/application/controllers/class.series.php(154): SeriesController->updateWatcher()

5 /share/MD0_DATA/Qweb/nzbvr/picnic/picnic/class.controller.php(23): SeriesController->create('create')

6 /share/MD0_DATA/Qweb/nzbvr/picnic/picnic/class.picnic.php(134): PicnicController->call()

7 /share/MD0_DATA/Qweb/nzbvr/index.php(24): Picnic->render()

8 {main}

sixones commented 14 years ago

What show are you searching for? It seems to be using an invalid tvrage id.

ros485 commented 14 years ago

24

sixones commented 14 years ago

I set the search to only query when the input is longer than 3 characters, i've changed this so it picks up 2 characters. you should be able to let it search and then select 24 from the list! iv just tested using 24 and it was successfully added to my library.