1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 14:55:07 -05:00
Commit Graph

1737 Commits

Author SHA1 Message Date
echel0n
f8ec897010 Lightning fast indexer searches now!
Version checks reverted back to every 12 hours.
2014-04-24 04:52:44 -07:00
echel0n
c945726f05 Fixed subliminal issues.
Added ignore/required words option to bet set individually for each show.
Fixed issue with global ignore words not properly matching against releases.
Fixed issue with
2014-04-23 22:18:16 -07:00
echel0n
9171a28f68 Fixes issue #53, ignore words not working correctly 2014-04-23 21:04:36 -07:00
echel0n
8d9d62caf5 Updated sumbliminal.
Fixed issue #52
2014-04-23 20:22:21 -07:00
echel0n
f58fb27ada ANother test 2014-04-23 00:57:00 -07:00
echel0n
e715ab6940 Testing auto-updater 2014-04-23 00:49:19 -07:00
echel0n
d6927f1c0d Testing auto-updater 2014-04-23 00:47:42 -07:00
echel0n
b024fe3e3b Testing again auto-updater 2014-04-23 00:26:10 -07:00
echel0n
3c215d8cde More testing for auto-updater code 2014-04-23 00:22:50 -07:00
echel0n
b50fa0aa07 Testing auto-update feature ... 2014-04-23 00:17:43 -07:00
echel0n
3f67782f38 Added in auto-updater feature, this will allow you to optionally have SickBeard run a version check in the background constantly searching for a new version release on GIT and when found it will automatically download and install then restart. 2014-04-23 00:12:51 -07:00
echel0n
94670f7f95 Updated our cache code.
Updated rsstorrents to not bother using requests sessions.
2014-04-22 23:24:08 -07:00
echel0n
5b69783e86 Fixed scene numbering, was not being converted to a int before. 2014-04-22 18:58:35 -07:00
echel0n
18e8b7a5aa Adds an indexer select box in search and general search improvements 2014-04-22 16:12:21 -07:00
echel0n
ca45ec5064 Fixed migration issues for TPB->TVRAGE 2014-04-22 16:09:29 -07:00
Jason Valdron
2af5b95a9d forgot to remove print 2014-04-22 20:00:30 -03:00
Jason Valdron
ac82e32b98 added indexer selectbox and timeout in search 2014-04-22 19:58:43 -03:00
echel0n
984e5e101d Fixes for BTN provider 2014-04-22 14:58:48 -07:00
echel0n
ad14de3d9e Merge branch 'pulls/40' 2014-04-22 14:56:12 -07:00
tehspede
90620e47b8 Update scc.py 2014-04-23 00:43:54 +03:00
tehspede
5b713f0262 Update scc.py 2014-04-23 00:41:01 +03:00
tehspede
4eb9000676 Fixes error "Invalid username or password for SceneAccess Check your settings" 2014-04-23 00:29:03 +03:00
echel0n
4c84351306 Fixed issue #37, ignore words 2014-04-22 13:24:55 -07:00
echel0n
a7ae6a1977 Fix for missing indexes 2014-04-22 13:15:47 -07:00
echel0n
f54a6e25b2 Fixes issues with tvdb and tvrage api content attribute not found 2014-04-22 12:15:15 -07:00
echel0n
fdfc8eb219 Fixes missing indexes for tv_shows and tv_episodes tables 2014-04-22 11:32:45 -07:00
echel0n
5dbfc81bb2 Fixes other temp tables that may have been left behind from a bad migration of the db 2014-04-22 10:57:37 -07:00
echel0n
bc79c93018 Fixes issue with previous db migrations that failed and left behind tables that should have been dropped. 2014-04-22 10:52:14 -07:00
echel0n
3af9e2ce65 New show searches now try and return exact matches first then next best, search speed vastly improved as well. 2014-04-22 07:14:11 -07:00
echel0n
e7cf923cc0 Removes primary keys and unique keys from xem_numbering table in cache.db 2014-04-22 03:30:18 -07:00
echel0n
77696cad66 Fix for rss torrent feeds, resolves issue #32 2014-04-22 03:13:44 -07:00
echel0n
ad339a9b2e Multiple bugfixes for provider code 2014-04-22 01:02:43 -07:00
echel0n
b30ef51b22 Fixed issue with columns not being unique for xem_numbering table. 2014-04-21 22:56:30 -07:00
echel0n
8c78b558b5 Fixes issue #30 2014-04-21 20:50:20 -07:00
echel0n
9ab143dde7 Testing fix for unique index error on xem_numbering table in cache database 2014-04-21 19:33:48 -07:00
echel0n
f2fb9076ad Fixes issue #25 2014-04-05 04:40:55 -07:00
echel0n
74a2f3dca7 Fixed bug in saveAddShowDefaults that was causing defaults not to save 2014-04-02 17:04:40 -07:00
echel0n
e171aa1c10 Conditional check bugfixes 2014-04-02 07:23:17 -07:00
echel0n
bd84656517 Fixed bug "Unknown process method" in postProcessor 2014-04-02 05:09:53 -07:00
echel0n
fb222902c1 Minor bugfixes and improvements 2014-04-01 23:29:46 -07:00
echel0n
23348e0bd0 Fixed bug for returning requests object exceptions 2014-04-01 22:44:47 -07:00
echel0n
94c908b0c3 Remove our auto-dir feature as it was interfearing with nzbToMedia 2014-03-30 18:17:05 -07:00
echel0n
684f1fd671 Added tvdbid and tvrageid support to BTN provider 2014-03-30 17:17:24 -07:00
echel0n
fb85c6e50e Fixed issue #20 2014-03-28 21:41:35 -07:00
echel0n
6da13f4272 Beautiful Soup 4.3.2 update 2014-03-28 12:53:43 -07:00
echel0n
049282ccb9 Improvements to PublicHD provider code 2014-03-27 22:59:45 -07:00
echel0n
fad6876e4f Fixed syntax error for indexerApi code that was related to python 2.6 2014-03-27 20:27:43 -07:00
echel0n
97db8fd408 Fixed IntegrityError caused by primary key not being unique 2014-03-27 19:18:39 -07:00
echel0n
06913ea517 Duplicate code found in rTorrent client module removed 2014-03-27 18:52:11 -07:00
echel0n
69691f9d41 Fix for issue #17 2014-03-27 18:22:32 -07:00
echel0n
84e75ec59d Added back in the code to clean up SB's cache files after a set amount of days have passed 2014-03-27 15:42:12 -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
8742b5825f Bug found and fixed in New Show search related to improperly requesting list of indexers to search through 2014-03-26 19:18:15 -07:00
echel0n
dd58028ba6 Bugfix for indexerApi improperly returning list of indexers 2014-03-26 19:01:53 -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
3534574741 Fix for bug in comingEpisodes template not properly displaying 2014-03-25 21:15:10 -07:00
echel0n
7194c3e197 Added more debug info to post-processor 2014-03-25 19:53:55 -07:00
echel0n
ab124158a4 Fixed up code for searching indexers for show id which fixes a bug that was present in our post processing code 2014-03-25 19:41:28 -07:00
echel0n
381f2e9e1a Fixed issue with auto-indexer detection in post-processing code 2014-03-25 19:05:30 -07:00
echel0n
e62250d63b Bugfix for sports regex matching 2014-03-25 18:49:13 -07:00
echel0n
22a4a066d8 Post-processing now auto-detects the correct indexer for the show both on manual processing and script based processing 2014-03-25 18:42:36 -07:00
echel0n
b8048a7e57 Improved code for searching existing shows to find there indexerID and Indexer that they belong to for speed and accuracy 2014-03-25 11:50:11 -07:00
echel0n
872389d055 New show search code changed to optimize for quicker searches
Increased mainDB version to 28
2014-03-25 11:01:21 -07:00
echel0n
e255e44462 Changed to mass action for db indexer convert code 2014-03-25 00:05:23 -07:00
echel0n
999b1bafe0 Missed coverting scene_numbering table, fixed! 2014-03-24 23:58:31 -07:00
echel0n
5709c8843c Fix in indexer conversion code for mainDB 2014-03-24 23:53:20 -07:00
echel0n
e8fd2d20b3 Added code to convert Indexers from string format to new integer format 2014-03-24 23:42:39 -07:00
echel0n
a65e68837c Fix for curRegex called before assignment issue that was pointed out to us. 2014-03-24 23:11:27 -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
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
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
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
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
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
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
3e3e6d961d fix_checkdates_in_the_future (itofzo)
Fix lastBacklog date in the future after correcting system time
  Fix lastTime in the future after correcting system time (not updating cache)
2014-03-11 13:22:00 -07:00
echel0n
6adbdb5e86 if nothing has changed don't execute the transaction for network table and don't reload the table
Merge pull request #659 from Prinz23/network_update_fix2

don't call unnecessary 2 functions in network_timezones
Check that timezone is not None, in that case return Sickbeard Timezone
Merge pull request #662 from Prinz23/network_none_fix

Check that timezone is not None, in that case return Sickbeard Timezone
2014-03-11 13:18:49 -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
ff548a7f6b bugfix in tv.py 2014-03-11 12:39:25 -07:00
echel0n
264f852a97 Mor bugfixes to code that handles converting sickbeard.db and cache.db files to our new scheme. 2014-03-11 12:28:44 -07:00
echel0n
481fdc1ac6 Small Bugfix 2014-03-11 11:33:57 -07:00
echel0n
c97f5b9c70 Bugfixes and improvements to our code that converts regular sickbeard.db to our new indexer scheme 2014-03-11 11:27:59 -07:00
echel0n
90cdf326b7 Bugfixes 2014-03-11 09:35:13 -07:00
echel0n
0822d7a39b Added in TVRage scene exceptions list that we maintain 2014-03-10 20:58:18 -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
f6e3ee1ef2 quick change of code to the indexerApi 2014-03-10 17:09:21 -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
a4b11a0c95 Bugfix in parser 2014-03-10 13:46:01 -07:00
echel0n
6a4adceb26 Updates to auto post-processing code, additional code added to ensure indexer is always set to the correct value 2014-03-10 13:31:41 -07:00
echel0n
fddee6d687 Post processing bug fixed, forgot to set out indexer api parms after correctly setting the indexer based on values from DB when performing automatic post processing lookups 2014-03-10 05:58:42 -07:00
echel0n
581c4daca2 Automaticly determins the indexer for auto post-processing of shows. this should fix any other issues that were present with post processing 2014-03-10 05:18:04 -07:00
echel0n
688888b17c Fixed more issues with post processing TVRage shows 2014-03-10 04:20:29 -07:00
echel0n
d282f76052 More bugfixes for post processing code 2014-03-10 00:27:37 -07:00
echel0n
45ba1e815b Bugfixes for post processing code 2014-03-10 00:01:46 -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