1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00
Commit Graph

129 Commits

Author SHA1 Message Date
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
f3c33279b5 Previous fix to air dates did not take but this fix does correct the issue once causing malformed air dates or no air dates at all. 2014-03-21 10:12:43 -07:00
echel0n
b3662cfb7b Fixed bug with air dates being malformed 2014-03-21 04:09:18 -07:00
echel0n
d5053ef8d3 Fixed regex matching in filterBadReleases function, was to restrictive causing valid releases to be invalid by SB 2014-03-21 02:20:46 -07:00
echel0n
e3a843a823 Bugfix for scene numbering and kickass searches 2014-03-21 01:34:00 -07:00
echel0n
a0d3a790dc Added auto-detection of directory paramater for external post-processing calls for 3rd-party utils such as nzbToMedia where you can specify what fork you are using to setup what paramaters are required to be used, this takes the headache out of it 2014-03-20 18:01:26 -07:00
echel0n
9ba772ba44 Regex fixes to resolve issue #10 2014-03-20 11:06:24 -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
3665a1f69b Fixed a bug in the SQL statement for a transactional 2014-03-20 06:45:43 -07:00
echel0n
972833a7f6 Added Transaction for add/update/delete episodes and change episode status 2014-03-20 03:24:58 -07:00
echel0n
50911a1f0f Small typo corrected 2014-03-20 01:17:56 -07:00
echel0n
ce5053f25d Bunch of code upgrades and bugfixes 2014-03-20 01:15:22 -07:00
echel0n
4b1dc8a63e Fixed small bug in the getUrl function for helpers. 2014-03-19 23:17:18 -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
f4a9987933 Added in a new feature called "Archive First Match", you can enable this feature from displayShow->editShow by using custom qualities and checking off "archive first match"
This feature will snatch and your episode based on matching ANY one of your archive quality choices on a first match basis then set its status to archived to prevent further snatch attempts.
2014-03-19 16:33:49 -07:00
echel0n
748ba6be71 Revamped the failed handler code to fix a few bugs and have everything failed sent directly to backlog 2014-03-19 07:59:34 -07:00
echel0n
31a63d41aa Bugfix in failed handler 2014-03-19 01:34:46 -07:00
echel0n
c0dedd080f Update show_name_helpers.py
Fix for issue #10
2014-03-18 16:49:58 -07:00
echel0n
11f9a891f0 Update generic.py
Fix for invalid key when looking for _banners
2014-03-18 16:38:39 -07:00
echel0n
aa8667106f Resolves issue #13 2014-03-18 07:41:46 -07:00
echel0n
fc24efb957 Fix for new feature "first match" 2014-03-18 07:03:02 -07:00
echel0n
dbaf9955cb Fixed issue with BTN provider.
Started to added in "archive on firstmatch" feature.
2014-03-18 06:50:13 -07:00
echel0n
5c0af16297 Fixed a bug that was majorly slowing down the performance of SB, was causing SB to search for indexer id number from RSS cache results as they came in so basically searching shows that most probally didnt even have indexed. 2014-03-17 08:57:57 -07:00
echel0n
02ef367583 Fix for regex pattern to match Month's using more then 3 for there abbrv 2014-03-16 16:33:27 -07:00
echel0n
a165b891e9 Failed processing backwards compatibility for original param name "dirName" that has been relabled to "dir" 2014-03-16 15:57:38 -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
e19e0e8d1c Fixed issue with new show searches not returning any data.
Fixed issue with show updater.
2014-03-15 18:46:47 -07:00
echel0n
36fd50fb9c Cleaned up code for TVDB/TVRage show searching. 2014-03-15 18:14:02 -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
4430f5f2ea Small fix for API Cache 2014-03-12 21:09:36 -07:00
echel0n
1da8cb148d Bugfix in API Handler prevented language id from being returned. 2014-03-12 20:38:14 -07:00
echel0n
047568ec76 Improved the API Handlers and modulaized it. 2014-03-12 19:44:40 -07:00
echel0n
f1e8a53856 Typo in tvcache fixed 2014-03-11 22:30:49 -07:00