Commit graph

45 commits

Author SHA1 Message Date
Adam
7ffd36388b Change py2 iteritems to py2/3 compatible statements using six library 2015-06-14 00:58:36 +08:00
Adam
37496189f1 Change py2 exception clauses to py2/3 compatible clauses
Add py2/3 regression testing for exception clauses

Any new code added with old py2 style exceptions will now fail the travis test
2015-06-08 22:56:45 +08:00
Supremicus
dc95006371 Add Kodi notifier and metadata 2015-02-25 22:33:40 +10:00
Supremicus
4c8c6b21d5 Change logos, text etc. branding to SickGear. 2014-11-12 20:56:40 +00:00
Adam
687d2b96ab Fix post processing when using tvrage indexer and mediabrowser metadata generation 2014-11-09 13:44:47 +08:00
echel0n
14c354b551 Added proxy support to Indexer APIs.
Provider getURL and downloadResult functions now removed and replaced with ones from helpers.py to help slim the code down plus allow more better control over request sessions.

Removed TVTumbler code.

Fixed HDBits provider.

Fixed config settings that were ment to be booleans but instead where set as str or int, should help resolve random html errors.

XEM Refresh check re-coded.

NameParser code for creating show object has been changed to only attempt at the very end once its found the bestMatch result, helps on resources and performance.
2014-07-27 03:59:21 -07:00
echel0n
e5ac585b6a Fix for webui becoming unresponsive when using SSL and possibly in other situations as well. 2014-07-23 23:36:44 -07:00
echel0n
561a12a735 Fix for metadata mede8er provider for error: tvdb_attributenotfound: Cannot find attribute '_actors' 2014-07-07 09:10:35 -07:00
echel0n
c2ba2d6550 Reverted episode cache changes 2014-06-11 07:37:30 -07:00
echel0n
3d062b3510 Fix for import issue with episodeCache 2014-06-07 21:32:06 -07:00
echel0n
89ad4bccc3 Moved show season/episode cache to outside of the show class and turned it into a global to avoid circular ref that may memory leak. 2014-06-07 21:20:59 -07:00
echel0n
d42b864ecc Fix for UnboundLocalError: local variable 'rating_text' referenced before assignment 2014-05-31 12:58:43 -07:00
echel0n
2dcd26e69c Update imdbpy libs to v5.0
Fixed invalid indexer id issues for TVRage shows.

Fixed issues for getting posters and backdrops for TVRage shows.

We now convert XML straight to a dict object for Indexer APIs, improved overall performance api's

Fixed issues with TVRage shows and displaying genre's properly.
2014-05-28 23:09:38 -07:00
echel0n
e009641804 SickRage now stores the XEM scene data to the main DB under tv_episodes for faster lookups and better linkages with epiosde objects, insures we have scene data on hand when we want it!
Adding functions to lookup scene season and ep info via scene absolute numbers.

We now try and create a show object from parsed release info before we consider it a valid parsed result to insure we even have the show in our show list, also used to validate anime releases.

Misc bug fixes here and there.
2014-05-28 14:16:03 -07:00
echel0n
7391a6e454 App name change in code. 2014-05-23 05:37:22 -07:00
echel0n
a15db1719d Removed some re-dundant code from daily search.
Fixed up some entries in mede8er metadata provider.
Changed detection of non-season packs.
2014-05-20 08:08:44 -07:00
echel0n
f8a8f4c5b4 Fixed issues in mede8er metadata module 2014-05-18 06:26:34 -07:00
echel0n
bde70f1881 Fixed metadata code to add proper indexer info to the tvshow.nfo files 2014-05-14 02:42:08 -07:00
Nils Vogels
91729bdab7 Adding in Mede8er metadata (backport from Midgetspy)
Original commit by itofzo midgetspy/Sick-Beard@34bf07d487
2014-05-12 01:15:24 +02:00
echel0n
2893b3331e Fix for index out of range issues 2014-04-29 15:33:00 -07:00
echel0n
b9fa92e439 Fix for mediabrowser absolute_number issue 2014-04-27 14:52:50 -07:00
echel0n
6967a8faef Code cleanup 2014-04-27 03:59:00 -07:00
echel0n
5772de9eec Complete re-code of season/episode search code.
Switched from using standard requests to using sessions.
Fixed bug in speedcd that was preventing config from saving.
2014-04-27 03:31:54 -07:00
echel0n
8c78b558b5 Fixes issue #30 2014-04-21 20:50:20 -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
8004685d3f Re-wrote the indexerApi wrapper, was causing a bottlekneck
Fixed bug when show folder is deleted before being deleted from SB
New Show searches now confirm results have a valid firstaired date
2014-03-26 12:28:46 -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
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
ce5053f25d Bunch of code upgrades and bugfixes 2014-03-20 01:15:22 -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
11f9a891f0 Update generic.py
Fix for invalid key when looking for _banners
2014-03-18 16:38:39 -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
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
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
047568ec76 Improved the API Handlers and modulaized it. 2014-03-12 19:44:40 -07:00
echel0n
f2bbe76271 Code improvements for the indexer API handler and a few code cleanups as well. 2014-03-11 22:28:30 -07:00
echel0n
00e29a1ef5 Small fixes to metadata code 2014-03-11 16:48:10 -07:00
echel0n
3bdebb4e6d Bugfix for XBMC 12+ metadata parser 2014-03-11 12:59:48 -07:00
echel0n
b435fc9d71 Fixes to metadata parser 2014-03-11 12:52:00 -07:00
echel0n
bbf9491943 Code cleanup and bugfixes 2014-03-10 19:32:02 -07:00
echel0n
c9ddd633ee Bugfix in the metadata code 2014-03-10 18:32:00 -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
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