Commit Graph

186 Commits

Author SHA1 Message Date
echel0n 42f88b3b3f Revert "Added lxml to our libs"
This reverts commit 32c029c3cf.
2014-03-28 22:37:22 -07:00
echel0n 32c029c3cf Added lxml to our libs 2014-03-28 21:32:46 -07:00
echel0n 9ac649444d Added cache_auto, cache_urls, and cache_max_age features to our cache handler.
Added session handler to our cache handler so that we can pass in paramaters at the request level and use them for our cache handler to process features.
2014-03-28 21:23:55 -07:00
echel0n 1bb9413b19 Move some code around in our cache handler for better parsing and accuracy of caching 2014-03-27 17:12:44 -07:00
echel0n 3db51ef268 Fixed typo in TVDB Api code
Updated cache handler code
2014-03-27 15:39:54 -07:00
echel0n 6a1ccef8d9 Replaced cache handler with a modified version of our own, gives quicker Indexer API responses to our requests 2014-03-27 14:06:03 -07:00
echel0n ff1e6e6dbc Changed to new cache handler that stores its cached data in sqlite db files for persistance 2014-03-27 05:06:40 -07:00
echel0n 6a7906eeb1 Fixed bug in TVRage API that was not properly handling malformed airdates for shows.
Fixed bug in metadata function that was throwing attribute errors when checking for banner images for shows from TVRage

Converted some list comprehensions to generators to improve speed and lower memory usage of SB
2014-03-27 02:42:00 -07:00
echel0n 95d7d728e0 Re-write of Indexer API wrapper
Re-write of New Show seearch function
Re-write of Existing show search helper function for determining indexer/indexerid
Massive code cleanup and more bugs found and fixed
Indexer code fully modualized for future proofing
2014-03-24 22:57:24 -07:00
echel0n 108df09382 Fix for air dates in TVRage API code 2014-03-21 10:26:22 -07:00
echel0n 10637f8f29 Code Clean up and regex fix for "no repeats" error (reverted from commit 8ecd5a196d) 2014-03-20 11:03:22 -07:00
echel0n 8ecd5a196d Code cleanup and regex fix for "no repeats" error 2014-03-20 10:51:59 -07:00
echel0n 36643acf5e Added TVRage support to our scene numbering lookups.
Tweaked our API's HTTP Handlers for better performance.

Fixed a bug in metadata parser that was preventing TVRage shows from getting images.
2014-03-19 22:33:34 -07:00
echel0n 84e53a2d10 Small typo 2014-03-16 06:36:33 -07:00
echel0n 5cd7ad2afb Fixed issue that was causing malformed dates for shows, now SB will smartly set the date even if one didn't exist so that we don't just toss the episode away so long as we have enough data to satisfiy us. 2014-03-16 06:33:00 -07:00
echel0n 146d9ba23b couple small bugfixes in code when it was expecting a string but got a integer instead well trying to create a search string for providers to use. 2014-03-16 04:57:59 -07:00
echel0n ce193ffcdb Replaced our cache handler 'CacheControl' with 'httpcache' as we found the previous was not stable enough and was causing more issues then good.
Added cache handler to sickbeard it self so now everything should be running faster for searches and rss feeds.
2014-03-16 04:06:21 -07:00
echel0n 437b46f907 CacheHandler checks cached response to be OK before returning to requests HTTP handler now. 2014-03-15 23:47:36 -07:00
echel0n d0ac2936b0 New searches now search only the indexer specified when importing existing shows.
Fixed bug causing addshow's to display the id of the show instead of the name.
2014-03-15 23:28:11 -07:00
echel0n b225794473 Fix for timeouts on TVDB and TVRage searches. 2014-03-15 20:13:30 -07:00
echel0n 31ccc8ffe2 Bug found and fixed in indexerAPI module. 2014-03-15 19:58:15 -07:00
echel0n fac97e5f5a Fixed another issue in showUpdater. 2014-03-15 19:17:34 -07:00
echel0n 1f178686cc Fixed regex pattern for sports events that were preventing searches from working.
Switched out urllib2 HTTP Handler for requests HTTP Handler in main getURL function in helpers module.

Fixed date parsing for sports in NameParser module.

Misc fixes and improvements throughout the code.
2014-03-15 18:01:12 -07:00
echel0n 4dce609667 couple of bugfixes for TVDB Api code and another in the show metadata parser 2014-03-14 16:42:44 -07:00
echel0n 40c69d6a0f Updated cacheHandler to allow us to force cache and set a max-age on the cached content, vastly improved performance with indexers. 2014-03-14 15:35:05 -07:00
echel0n 05410e2aa0 Switched TVDB/TVRage CacheHandlers to CacheControl.
Replaced urllib2 with requests for both TVDB and TVRage.
Updated cache cleanup code to process both TVDB and TVRage cache folders.
2014-03-14 10:15:39 -07:00
echel0n 82db6e9b54 Fixed a bug in TVRage API that was not properly handling datetime issues 2014-03-13 21:44:32 -07:00
echel0n 75c8acc6d4 Bugfix for TVRage search by name, fixed issue with dates and key names 2014-03-13 20:42:58 -07:00
echel0n 0fcd780c2f Improved TVRage API code to now include show/episode summaries and fanart.
Bugfix in metadata code for XBMC 12+ to display proper episodeguide urls.
Misc tweaks here and there.
2014-03-13 20:07:15 -07:00
echel0n 01eb8c0129 Added in TMDB lookups for metadata fanart and posters using there TV api, works good for TVRage shows that don't supply that content.
Few bugfixes to the code.
2014-03-13 05:20:45 -07:00
echel0n 88640b4af6 Bugfix for NoneType error when looking for genres on TVRage 2014-03-10 18:23:49 -07:00
echel0n 1cb293f3d6 Bugfix in date code for TVRage. 2014-03-10 18:02:32 -07:00
echel0n 33cf136487 Fix for firstaired dates as they are inconsistant in format on TVRage 2014-03-10 17:28:28 -07:00
echel0n 056b266613 Auto-detection of indexer code added in for adding existing shows along with TV Cache lookups, few bugfixes as well. 2014-03-10 16:59:22 -07:00
echel0n 688888b17c Fixed more issues with post processing TVRage shows 2014-03-10 04:20:29 -07:00
echel0n 0d9fbc1ad7 Welcome to our SickBeard-TVRage Edition ...
This version of SickBeard uses both TVDB and TVRage to search and gather it's series data from allowing you to now have access to and download shows that you couldn't before because of being locked into only what TheTVDB had to offer.

Also this edition is based off the code we used in our XEM editon so it does come with scene numbering support as well as all the other features our XEM edition has to offer.

Please before using this with your existing database (sickbeard.db) please make a backup copy of it and delete any other database files such as cache.db and failed.db if present, we HIGHLY recommend starting out with no database files at all to make this a fresh start but the choice is at your own risk!

Enjoy!
2014-03-09 22:39:12 -07:00