1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-15 22:05:02 -05:00
Commit Graph

643 Commits

Author SHA1 Message Date
Nils Vogels
71cd57927f Changing sorting order for email notification lists to alphabetical, ascending 2014-05-01 14:09:12 +02:00
echel0n
3cefc5be86 Fix for startup issue when using python 2.6 2014-05-01 04:38:05 -07:00
echel0n
271afb8c5d Merge pull request #276 from WebSpider/dev-increase_client_timeout
Increasing generic client timeout
2014-05-01 03:32:11 -07:00
echel0n
226b930987 Merge pull request #278 from WebSpider/dev-typo_fix_237
Small typo in debug logging
2014-05-01 03:30:57 -07:00
echel0n
20bc92650b Fix for issues relating to adding existing shows and nothing happens. 2014-05-01 03:00:05 -07:00
Nils Vogels
a3094bcbba Small typo in debug logging 2014-05-01 10:44:48 +02:00
Nils Vogels
812e8443bd Increasing generic client timeout to 20s to work around busy hosts 2014-05-01 10:17:00 +02:00
echel0n
071d51fcda Fixes for scene conversion and regexs 2014-05-01 00:18:52 -07:00
echel0n
308add5a11 Fix for string issues 2014-04-30 23:26:13 -07:00
echel0n
dfd8ead9f8 Fix for published_parsed errors 2014-04-30 22:17:54 -07:00
echel0n
5ba99db64e Fix for issue #274, ebObj ref'd before assignment 2014-04-30 22:07:23 -07:00
echel0n
f6cf80aa99 Fixed issue #221
Manual and Backlog searches now gather all the search results FIRST then loop through them filtering the bad ones out, this should improve overall speed of searching for downloads.
2014-04-30 21:09:03 -07:00
echel0n
e6056c5745 Fix for adding existing shows. 2014-04-30 20:05:35 -07:00
echel0n
1f74488a38 Fix for showObj attribute error in cache 2014-04-30 19:10:46 -07:00
echel0n
408ffa857a Fixed another bug in the cache searcher for NoneType indexerid 2014-04-30 19:04:34 -07:00
echel0n
9d69e43378 Merge branch 'origin/dev' 2014-04-30 18:51:40 -07:00
echel0n
f354839efd Merge pull request #106 from joshjowen/indexerfix
Create an INDEXER_DEFAULT config variable and fix traktWatchListChecker.py
2014-04-30 18:51:05 -07:00
echel0n
75a1e0970a Merge pull request #267 from jValdron/post-process-nonetype
Fixed 'NoneType' object has no attribute 'status' error
2014-04-30 18:48:48 -07:00
echel0n
bb3e609565 Fix for default sports naming pattern issue #269 2014-04-30 18:36:23 -07:00
echel0n
85679e99f1 Fixed indexerid issue when searching SB for show ID 2014-04-30 18:34:05 -07:00
echel0n
880e923714 Fix for issue #255, metadata saving for xbmc12+ 2014-04-30 18:29:13 -07:00
echel0n
7e800ff524 Fixed manual episode searches.
Corrected a issue where SB was being searched twice for the same show wasting cpu cycles.
2014-04-30 18:20:53 -07:00
echel0n
54f769e224 Small fix for post-processing 2014-04-30 16:19:38 -07:00
Jason Valdron
4cd67aa6ec fixed post-processing uncaught exception 2014-04-30 19:26:39 -03:00
echel0n
9d191f6999 Fixes for post-processing issues.
Improvements made to caches for overall performance boost and more accurate matches.

Misc bug fixes applied.
2014-04-30 15:16:31 -07:00
Nils
9f2a6dad5d Merge pull request #262 from Wizkidje/master
Fix API history request in dev
2014-05-01 00:05:07 +02:00
Nils
3c49e3e202 Merge pull request #247 from Prinz23/ical_pause_bugfix
Bugfix for logic error in sql queue for ical (paused shows)
2014-04-30 23:58:00 +02:00
Nils
d595a9abfd Merge pull request #252 from WebSpider/dev-cache_typo
Typo in logging text, closes #251
2014-04-30 23:54:11 +02:00
echel0n
e30ed48fcf Updated regex patterns to accommodate sports shows with dates in them. 2014-04-30 08:31:12 -07:00
Nils Vogels
316500b8e7 Fixing typo 2014-04-30 17:27:22 +02:00
echel0n
67b7eac21b Revert "Fixed up regex patterns for better matching of sports events"
This reverts commit 8ee477085e.
2014-04-30 08:10:36 -07:00
echel0n
8ee477085e Fixed up regex patterns for better matching of sports events 2014-04-30 08:07:11 -07:00
echel0n
3f8729ef83 Added back in name cache but force it to only store entries if they have a valid Indexer ID otherwise disgard them. 2014-04-30 07:02:47 -07:00
echel0n
9384881241 Fixed issues with searching for air by date shows and sports.
Several bugfixes applied throughout the code along with cleanup performed.
2014-04-30 06:49:50 -07:00
Prinz23
9d61d1cab1 Bugfix for logic error in sql queue for ical (paused shows)
Fixes: https://github.com/echel0n/SickBeard-TVRage/issues/243
2014-04-30 15:03:56 +02:00
echel0n
a912140ec5 Code correction for scene conversion in Parsing cache 2014-04-30 05:21:16 -07:00
echel0n
08714357dd Fixed missing code. 2014-04-30 05:18:20 -07:00
echel0n
319ac2602f Fixed scene_numbering issues for shows that use scene numbers instead of TVDB numbering.
Fixed issues with local SB cache.

Fixed issues with sports naming patterns, we no longer treat sports as a airdate show and have created custom regex's to aid in finding sports related shows.
2014-04-30 05:10:13 -07:00
echel0n
d14581b8cc Fixes classification issues for determining if a show is air-by-date or sports or regular 2014-04-29 16:57:01 -07:00
echel0n
a97dcad291 Fix for sports naming pattern issues, finally this is resolved!
Fixes issues for air-by-date shows as well.
2014-04-29 16:44:08 -07:00
echel0n
2893b3331e Fix for index out of range issues 2014-04-29 15:33:00 -07:00
echel0n
5ef7a0fb30 Merge pull request #216 from iron8core/scc_fix_archive
Fix archive search and correct logging for foreign searches
2014-04-29 15:22:25 -07:00
echel0n
19cf543693 Fix for indexerid issues with cache.
Fix for regex matching.
2014-04-29 15:14:03 -07:00
echel0n
50b792d6df Regex fixes 2014-04-29 08:36:39 -07:00
echel0n
e379d57376 Fix for showobj none type 2014-04-29 08:23:32 -07:00
echel0n
77bc5c7291 More fixes for strftime and findpropers 2014-04-29 08:16:17 -07:00
echel0n
cc0296783b More cache fixes 2014-04-29 07:55:38 -07:00
echel0n
e10a725d27 Fix for None type in cache 2014-04-29 07:52:48 -07:00
echel0n
dbe7e019f6 Cache issue fixes.
Naming Pattern issues fixed.
Regex patterns cleaned up.
Misc bug fixes.
2014-04-29 07:44:13 -07:00
echel0n
87b752b4e5 Re-coded the Indexer cache, cache lookups are only performed for existing shows and we don't add any cache entries unless we are Indexing the show in our database so we don't waste cpu cycles and memory.
Manual and backlog searches both search the cache first before even attempting to send a search request to a provider.

More bugs have been worked out.
2014-04-29 06:14:19 -07:00
root
be2d71d1d4 Fix API history request 2014-04-29 09:37:27 +02:00
echel0n
dbee4b6dbf Fix for issues getting indexerID during cache updates 2014-04-28 23:04:32 -07:00
echel0n
96a2c047a0 Fixes issues with scene converting 2014-04-28 22:41:40 -07:00
echel0n
51f691eeb2 Fix for issue #182 2014-04-28 21:59:00 -07:00
echel0n
c330bbb386 Fixed issues with post-processing, we now perform the auto-detection of the indexer in a spot that doesn't require the post-processing to start all the way from the begining allowing for less processing time to take place.
Fixed more code relating to scene converting and sports event episodes/shows.

Post-processing now checks for indexer id in the cache as well as the other normal ways it did before.
2014-04-28 21:55:59 -07:00
echel0n
7f44a2cfad Fixed issues with finding propers to many keywords.
Fixed issues with scene numbering when searching for propers.
2014-04-28 18:25:27 -07:00
echel0n
dc867d049b Merge remote-tracking branch 'origin/master' 2014-04-28 17:44:06 -07:00
echel0n
872056cc5d Fixed issue of unknown attribute keyword 'show' 2014-04-28 17:18:30 -07:00
echel0n
43b6b4b594 Improved XEM scene numbering converting.
Fixed release naming and parsing.
Improved overall application performance and foorprint.
2014-04-28 17:12:06 -07:00
echel0n
ce0f452183 Fixes unicode issues with TVCache log message 2014-04-28 16:08:29 -07:00
echel0n
9425c1702d Added TVCache checks scene exceptions list to try and get Indexer ID 2014-04-28 16:04:12 -07:00
echel0n
3fbfed7d93 Fixes cache issues with lookups resulting in wasted cpu cycles.
Fixes issues with scene numbered releases not properly being converted before a cache lookup is performed and not being properly converted when returned from providers as a possible match for a show requested to be snatched.
2014-04-28 16:04:11 -07:00
echel0n
96f543aa29 Added debug option to config.ini to allow logging of debug messages to console output. 2014-04-28 16:04:10 -07:00
echel0n
e0f52e1045 Merge pull request #162 from sammy2142/master
Adds seed time and seed ratio to utorrent client
2014-04-28 14:58:59 -07:00
echel0n
069e1f4215 Merge pull request #172 from Prinz23/ical_fix_time
ical Bugfix and Change from All-Day Event to Time Event
2014-04-28 14:57:44 -07:00
Nils Vogels
55155214c1 Fixing typo 2014-04-28 23:53:25 +02:00
echel0n
0ec4be65da Added in error 542 as requested 2014-04-28 11:46:35 -07:00
Prinz23
9221067b35 Fix NoneType exception in episode['description']
Change from All-Day Event to Time Event
2014-04-28 20:22:08 +02:00
root
5abd9b2f97 Now returns both tvdbid and indexerid for 'future', 'history', 'sb.searchtvdb' and 'shows' 2014-04-28 17:56:40 +02:00
sammy2142
fea4ef43b7 Adds seed time and seed ratio to utorrent client
Adds support for setting the seed ratio and seed duration for the
utorrent client.
2014-04-28 15:34:27 +01:00
root
f0cb9177fb API now accepts either indexerid or tvdbid for backward compability with third party applications 2014-04-28 15:59:01 +02:00
echel0n
160b4bc4cc Fix for sports naming patterns 2014-04-28 06:35:49 -07:00
iron8core
0f395a636a Fix archive search and correct logging for foreign searches
Archive searches are now handled correctly
Fix debug logging for searches in foreign section
Include title fix from mr-oranges's PirateBay edition
2014-04-28 13:26:25 +02:00
echel0n
ba660a1942 Fix for sports naming issues 2014-04-28 04:21:48 -07:00
echel0n
99bbd0649c Fix for debug logging on console.
Fix for RSS feeds for all providers.
2014-04-28 03:57:30 -07:00
echel0n
5e38813a73 Added sports feature, acts just like air_by_date except allows us to control the date pattern to match events that air_by_date could not.
Custome sports naming patterns can be set now as well.

Fixed issues with FINDPROPERS.

Fixed issues with session connections.

Cleaned up code.
2014-04-28 02:15:29 -07:00
echel0n
1d56ce7182 Fix for BTN provider 2014-04-27 19:51:15 -07:00
echel0n
896295b090 Fix for air-by-date shows 2014-04-27 17:16:09 -07:00
echel0n
71ec47ae6b Fix for error code checking for Newznab providers. 2014-04-27 17:08:12 -07:00
echel0n
8c2c319c7f Code fix typo 2014-04-27 16:56:36 -07:00
echel0n
2550b8c831 Couple small code fixes 2014-04-27 16:03:13 -07:00
echel0n
28d39df816 Fix for air-by-date issues 2014-04-27 15:51:52 -07:00
echel0n
2a5cd9b02e Fix for exception error in TorrentLeech 2014-04-27 15:20:34 -07:00
echel0n
56a0a04a2c Fix for subtitles datetime issue
Code cleanup.
2014-04-27 15:16:43 -07:00
echel0n
b9fa92e439 Fix for mediabrowser absolute_number issue 2014-04-27 14:52:50 -07:00
echel0n
29a5fe4cf5 Fix for FINDPROPERS 2014-04-27 14:45:43 -07:00
echel0n
6d55c4be00 Fixed missing UPDATE_FREQUENCY from globals. 2014-04-27 08:23:34 -07:00
echel0n
864af297c6 Fixes interval setting for auto updates and check version, will set the interval in realtime and take effect right away. 2014-04-27 08:02:34 -07:00
echel0n
35f70c7924 Fix for air-by-date and sports shows 2014-04-27 07:48:19 -07:00
echel0n
fb0339a274 Fix for sql mass add issues.
Fix for KAT and TPB providers.
Fix for Newznab providers.
2014-04-27 06:46:08 -07:00
echel0n
b64f12e940 Added in min_update_frequency 2014-04-27 05:22:48 -07:00
echel0n
1cfe91eb80 Fix for update frequency ... again! 2014-04-27 05:18:18 -07:00
echel0n
b0ec12e421 Fixes issue with update frequency.
Fixes backlog search issues with newznab providers.
2014-04-27 05:13:46 -07:00
echel0n
831e9a537e Disabled sceneConvert renamer for now till we add it in optionally. 2014-04-27 04:46:21 -07:00
echel0n
41293b1155 Merge branch 'pulls/95' 2014-04-27 04:32:29 -07:00
echel0n
d8171acc97 Fix for backlog searches 2014-04-27 04:32:22 -07:00
echel0n
2f0fa9a4ce Making frequency of version update checker (CHECKVERSION) configurable
Conflicts:
	sickbeard/__init__.py
2014-04-27 04:32:02 -07:00
echel0n
ceb3c6efbc Merge pull request #98 from WebSpider/fix_proxy_setting
Typo in PROXY_SETTING variable
2014-04-27 04:04:10 -07:00
echel0n
6967a8faef Code cleanup 2014-04-27 03:59:00 -07:00
echel0n
0ae27fa6e6 Fix for shows that are air-by-date 2014-04-27 03:40:50 -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
joshjowen
745b106013 Trait must use tvdbid 2014-04-27 19:14:44 +10:00
joshjowen
5d9c84a15e Update __init__.py 2014-04-27 18:49:30 +10:00
joshjowen
57340651f4 Added INDEXER_DEFAULT to config for when a default indexer is needed 2014-04-27 18:17:28 +10:00
joshjowen
1f03d1c252 Fixed to use tvdb_id from trakt api instead of indexer_id which is not given 2014-04-27 18:16:06 +10:00
echel0n
18b781532c Fix for KAT provider 2014-04-26 15:20:52 -07:00
echel0n
78e4abd1f7 Merge pull request #88 from WebSpider/speedcd_mrorange
Speedcd mrorange
2014-04-26 14:43:14 -07:00
Nils Vogels
4970697904 Typo in PROXY_SETTING variable
Closes #91
2014-04-26 23:35:36 +02:00
Nils Vogels
a1d2c3bcb1 Making frequency of version update checker (CHECKVERSION) configurable
Adds an option in Config > General > Misc called "Update Frequency"

Closes #54
2014-04-26 23:24:29 +02:00
echel0n
abc6841eb3 Fix for DownloadStation issues.
Added season and episode formatting options for XEM scene numbering.
2014-04-26 14:14:38 -07:00
echel0n
4f049f4e7e Fixed show name formatting issues.
Added tests for XEM scene numbering.
2014-04-26 13:12:58 -07:00
Nils Vogels
a5b85dcc1c Adding SpeedCD provider
Cherrypicking from mr-orange's fork
This is 30d8807d74

Closes #47
2014-04-26 15:48:37 +02:00
echel0n
f10dd3131f Fix for ignore_words 2014-04-26 04:54:33 -07:00
echel0n
8d4d1a21cd Fix for no status attribute error 2014-04-26 04:23:00 -07:00
echel0n
f9cd37c243 Fix for formatting pattern issues 2014-04-26 04:17:28 -07:00
echel0n
e787ef8332 XEM Scene Numbering fixes.
Deepcopy thread.lock issue fixed.
Overall performance increased, searches faster and more accurate.
2014-04-26 03:37:40 -07:00
echel0n
bf31077cc2 Fix for thread locking issues 2014-04-26 01:09:38 -07:00
echel0n
4e7710797a Fixed mediaToSickBeard issues 2014-04-26 00:56:24 -07:00
echel0n
4cf5dc0fba Merge pull request #69 from joshjowen/master
Fixed issue #49
2014-04-26 00:17:52 -07:00
echel0n
690e842bb1 Fix for SSL issues.
Fix for Download Station issues.
2014-04-26 00:09:00 -07:00
echel0n
07cee09c83 Fix for reguired and prefered ignore words. 2014-04-25 23:33:02 -07:00
echel0n
3d43c6b5bf Fix for invalid scene release issues due to no ignore words being set causing a match on spaces, issue resolved. 2014-04-25 23:26:53 -07:00
echel0n
450d96e041 Fix for addCacheEntry 2014-04-25 22:42:40 -07:00
echel0n
26e259c036 Fix for Newznab providers 2014-04-25 21:53:44 -07:00
echel0n
6c9fb4b0bd Small text fix 2014-04-25 21:08:27 -07:00
echel0n
754cc8e791 JSON parsed by requests lib instead of helper function 2014-04-25 20:58:24 -07:00
echel0n
83bcc63683 More RSS cache fixes 2014-04-25 20:42:35 -07:00
echel0n
7a22f6c77a More RSS fixes 2014-04-25 18:49:38 -07:00
echel0n
3ee6d45fcd More updates for RSS feed code 2014-04-25 18:39:43 -07:00
echel0n
a455bcb7c6 Fixes for RSS searches 2014-04-25 17:03:24 -07:00
echel0n
0e82c5f573 Added RSS feedparser lib to process custom torrent RSS feeds.
Adjusted code for custom RSS feed parsing now that feedparser does the parsing for us all we do is pull the data from the returned entries.
2014-04-25 16:41:47 -07:00
joshjowen
97088b3453 WebApi addshow and add existing fixes 2014-04-26 09:39:53 +10:00
joshjowen
c86bb23c01 WebApi addshow and add existing fixes 2014-04-26 09:14:24 +10:00
echel0n
2b57fce5e6 Resolves issues with saving notification settings and http(s) setting 2014-04-25 15:05:34 -07:00
echel0n
a71ed25b19 Fixes issues with searches and importing existing shows 2014-04-25 14:22:31 -07:00
echel0n
aa94711788 Fixed issue with searches that contain special characters such as () 2014-04-25 12:36:42 -07:00
echel0n
ce9f079136 Fixes issues with RSS feeds not being parsed correctly. 2014-04-25 04:45:34 -07:00
echel0n
a74b12f519 Fixes issues with RSS feeds not being parsed correctly. 2014-04-25 04:43:24 -07:00
echel0n
0d90d01460 Fix for SSL issues 2014-04-25 04:25:22 -07:00
echel0n
6d3f66aa4d Fixes issue with proxy setting and config not saving. 2014-04-25 04:11:52 -07:00
echel0n
10babc4d34 Merge branch 'pulls/72' 2014-04-25 03:14:08 -07:00
sammy2142
6c84fed536 Update utorrent.py
Adds high priority mode for recently aired show to utorrent using already existing tickbox under "search options\episode search".
2014-04-25 10:34:24 +01:00
echel0n
08f67e09de Fixed bug in backlog search for wanted and failed statuses, was improperly loading our segment lists and dicts. 2014-04-25 01:17:32 -07:00
echel0n
d8428b515d Small fix in backlog UI message 2014-04-25 00:47:17 -07:00
echel0n
dafff0281e Merge branch 'pulls/62' 2014-04-25 00:32:22 -07:00
echel0n
dd20cf80ee Merge branch 'pulls/65' 2014-04-25 00:31:10 -07:00
echel0n
0766dfe310 Resolves problem for display country icons if show has more then one country listed for it. 2014-04-25 00:28:16 -07:00
joshjowen
c2e3cd8689 Fixed addshow and addexisting Api commands to work with indexer 2014-04-25 15:49:28 +10:00
echel0n
0cc5ba4eb7 Fix for country codes not being properly accessed from imdb causing no icon to display when looking at show info 2014-04-24 13:21:04 -07:00
Peter Maciocia
5007b806a5 fix indent 2014-04-24 18:41:44 +01:00
Peter Maciocia
ddaa5bb5e6 remove default proxy setting, fix indent 2014-04-24 18:08:24 +01:00
Peter Maciocia
09b106ec6b remove duplicate variable 2014-04-24 17:19:38 +01:00
SickBeard Custom User
484dba0de8 proper settings for proxy 2014-04-24 17:01:20 +01:00
iron8core
d72966c203 Add support for more sections on SceneAccess
Add (hopfully fully functioning) support for non-scene and foreign sections
for SceneAccess provider.
2014-04-24 17:44:22 +02:00
SickBeard Custom User
65e0dd9ff7 use tor for generic providers:w 2014-04-24 16:04:44 +01:00
SickBeard Custom User
aae27f36f6 use proxies 2014-04-24 16:04:41 +01:00
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