1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-10 19:35:08 -05:00
Commit Graph

456 Commits

Author SHA1 Message Date
Nils Vogels
84120ee00e Option to prefer single episode releases over season releases:
- Added option "prefer_episode_releases" to config.ini. If a complete season of a show is added to the backlog this option will make sickbeard prefer single episode releases for that season over a comlete season release.

Backport of 1ec7c61023 into dev branch
2014-05-04 15:58:20 +02:00
echel0n
b59c8fd1ec Fix for airdate issues during proper search 2014-05-04 05:20:39 -07:00
echel0n
99da47464d Fix for rssfeed 2014-05-04 05:08:45 -07:00
echel0n
129a8c1d7e Added cache for rss feed items.
Fixed issues with searches
2014-05-04 05:05:27 -07:00
echel0n
5252cbb72c Fixes issues found in cache and with season pack searches 2014-05-04 00:10:49 -07:00
echel0n
dd9a7f657e Merge pull request #341 from BobWatson/patch-1
Fix typo in db.py
2014-05-03 22:41:26 -07:00
echel0n
b349bab569 Fixes more issues that were still present for season pack searches and air-by-date shows. 2014-05-03 22:36:54 -07:00
BobWatson
20798639ae Update db.py
Fixing just one typo ("query's" to "queries"), after staring at it on my screen for the last few hours :)
2014-05-04 15:04:22 +10:00
Michael Johnson
0077a8e518 Fix the Plex notifier
Previously, the fix would cause the Plex notifier not to work except in test mode or when the XBMC notifier was enabled. This fixes that.
2014-05-03 23:57:34 -04:00
echel0n
bb4ef18fe3 Fixes issue #337 2014-05-03 20:52:47 -07:00
echel0n
dea826c3ba Fixed alot of issues pertaining to season pack searches and backlog searches in regards to returning accurate results or no results at all.
Fixed issue #335
2014-05-03 20:16:26 -07:00
echel0n
b4627af3d2 Fixes issue #327 2014-05-03 17:22:33 -07:00
echel0n
a2a608ed85 Fix for issues downloading season packs and episodes and multiples of the same episode. 2014-05-03 16:56:01 -07:00
echel0n
7ca19b88d6 Fix for issue of downloading multiples of the same episode 2014-05-03 16:26:12 -07:00
echel0n
afde3b4c28 Fixes issues #333 and problems with converting str to int via prettyName func 2014-05-03 15:29:00 -07:00
echel0n
c29b29a7e7 Merge pull request #312 from WebSpider/dev-code_cleanup
Code cleanup
2014-05-03 05:24:15 -07:00
echel0n
16441c0582 fix for issues #321 and 258 2014-05-03 05:22:50 -07:00
echel0n
6ee60d213a Fixes issue #325 2014-05-03 05:10:52 -07:00
echel0n
a3bdf6038f Fixes issue #326 2014-05-03 05:07:44 -07:00
echel0n
72828e1a8d Fixes sql issues 2014-05-03 04:50:29 -07:00
echel0n
a47136e551 Fixed issue with saving show info to DB 2014-05-03 04:16:12 -07:00
echel0n
dfd6f38cfe Fix for scene numbering during post-processing 2014-05-03 04:10:20 -07:00
echel0n
c2e79bf031 Fixed inital scene numbering database check to look for a value of -1 before updating to insure this record gets done at startup once and once only 2014-05-03 04:06:11 -07:00
echel0n
b6f7753ec7 Fix for post-processing issue of not being enough info 2014-05-03 03:59:05 -07:00
echel0n
e8fc45058f Test fix #3 2014-05-03 03:54:50 -07:00
echel0n
6a3ff97cec Test fix #1 2014-05-03 03:48:06 -07:00
echel0n
9fc07617f1 Fix for NoneType object error 2014-05-03 03:41:56 -07:00
echel0n
cb4790a213 Typo fixed 2014-05-03 03:37:26 -07:00
echel0n
75c7fbf137 Fixes issues in tvcache 2014-05-03 03:36:57 -07:00
echel0n
e789c065ee Fix in indexerApi code 2014-05-03 03:26:01 -07:00
echel0n
580afec2a7 Fixes more non-sense issues 2014-05-03 03:15:18 -07:00
echel0n
233667c6d1 Fixes for db scene numbering fix 2014-05-03 03:11:52 -07:00
echel0n
cae11c0f06 Fixes for scene numbering in displayShows 2014-05-03 03:09:46 -07:00
echel0n
33be93288a Last set of fixes to correct this problem 2014-05-03 02:58:04 -07:00
echel0n
ac65eab3c0 Missed one :P 2014-05-03 02:48:48 -07:00
echel0n
57fabbad8b More unicode to int issues resolved 2014-05-03 02:46:49 -07:00
echel0n
cecd35bb5d Fix for indexer being sent as unicode when its supposed to me integer 2014-05-03 02:43:01 -07:00
echel0n
48462f4baa Fixes and more fixes 2014-05-03 02:40:17 -07:00
echel0n
49027d6185 Fix for web passing variables in a format that is other then expected 2014-05-03 02:38:02 -07:00
echel0n
1c56876ecc Fixed unicode issues 2014-05-03 02:34:53 -07:00
echel0n
2a04c13b91 Another small typo 2014-05-03 02:31:40 -07:00
echel0n
81a7a2b97f Typo corrected 2014-05-03 02:27:00 -07:00
echel0n
d5f183c171 Major changes made to search code, tvcache code, and name parser 2014-05-03 02:23:26 -07:00
Michael Johnson
10a17d09cb Update the Plex notifier
The new Plex HT notification API is exactly the same as XBMC's new notification API. It uses the same JSON-RPC methods.

Thus, I've changed the Plex notifier class to inherit from the XBMC notifier class and use its notification method.
2014-05-02 19:41:55 -04:00
Nils Vogels
d906bcc049 Attempt to get quality from snatched episode status
Backport from midgetspy
2014-05-03 00:37:41 +02:00
Nils Vogels
84e2ec6605 Adding webm as a supported extension 2014-05-03 00:08:52 +02:00
Nils Vogels
a843303812 Only log deletion when we're really deleting 2014-05-02 23:58:27 +02:00
Nils Vogels
452895a058 Prevent postprocesser from removing TV_DOWNLOAD_DIR 2014-05-02 23:26:26 +02:00
Nils Vogels
238de53c3f Increasing logging for Torrent clients 2014-05-02 14:50:28 +02:00
Nils Vogels
17171dba8b Simplifying expressions 2014-05-02 13:33:06 +02:00
Nils Vogels
dad75ae09b Indent fixes 2014-05-02 13:01:42 +02:00
echel0n
edebacf8ac Merge pull request #308 from WebSpider/dev-fix_speedcd_sql_180
Update SQL to match TVRage edition
2014-05-02 03:12:02 -07:00
echel0n
09476224c5 Improved code for better performance of application memory and cpu usage. 2014-05-02 03:09:17 -07:00
Nils Vogels
2b2e2d484d Update SQL to match TVRage edition 2014-05-02 11:59:13 +02:00
echel0n
6a8bef76c9 Re-code of post-processing, insures the Indexer ID is correct so that shows don't get added with the incorrect Indexer info also no more needing to lookup said info from the Indexers making API calls so overall speed has increased as well.
Fixed issues with returning a show object when parsing release names into show names from our database.
2014-05-02 01:47:02 -07:00
echel0n
5a1823a15a Fixes a few more issues with backlog searches, relates to issue #298 2014-05-01 22:14:56 -07:00
echel0n
1c6b0807b0 Fixed backlog issues and improved cache and provider searches, this resolves issue #298 2014-05-01 21:53:34 -07:00
echel0n
eabd0d092f Fixes for air_by_date and sports shows
Fixes for sports regex matching patterns.
2014-05-01 20:03:44 -07:00
echel0n
42b11cd000 Fixed up sports regex matching pattern 2014-05-01 19:14:10 -07:00
echel0n
3a60683327 Fixed issues with parsing release names and naming patterns including regex for sports is now more accurate then ever!
Added option under general settings to allow specifiying a default indexer to be used for adding newshows and existing shows (All, TVDB, TVRage)
2014-05-01 17:57:51 -07:00
echel0n
85a9a81f4e Fix for issue #290, Post-processing issues 2014-05-01 15:53:37 -07:00
echel0n
74c6bec150 Fix for issue #291 2014-05-01 14:37:53 -07:00
Nils
45f2d72314 Merge pull request #283 from WebSpider/dev-email_notify_order
Changing sorting order for email notification lists, closes enhancement request in #271
2014-05-01 14:14:00 +02:00
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