Commit graph

51 commits

Author SHA1 Message Date
vergessen
d0ccf9f27a Fix release group not recognised from manually downloaded filename. 2015-03-18 21:37:08 +00:00
Adam
a1e8d21614 Fix name parser unit tests and regex
Add anime unit test cases (port from lad1337/sickbeard)
Fix normal tv show regex (port from midgetspy/sickbeard)
Fix anime regex (port from lad1337/sickbeard)
2015-01-02 07:14:43 +08:00
Supremicus
4c8c6b21d5 Change logos, text etc. branding to SickGear. 2014-11-12 20:56:40 +00:00
Adam
d2077453b6 Fix ABD regex for certain filenames 2014-10-13 19:19:33 +08:00
echel0n
90356544cd Sports regex updated 2014-09-01 00:04:41 -07:00
echel0n
dbb3b75d6e Updated sports regex pattern for more accurate matches and to filter out pre-event episodes 2014-08-22 23:11:21 -07:00
echel0n
ca4fe51b97 Added scene_sports_format regex pattern to help match sports shows 2014-08-22 01:06:37 -07:00
echel0n
be17ed122b Fix for air-by-date and sports shows issues with parsing results. 2014-08-22 00:21:37 -07:00
nielsenj
88a3444db2 Changes "no_season" regex to support XofX naming
Previous version would allow for:

Britannia The Great Elizabethan Journey - 1 of 3 (19th May 2012) [HDTV 720p (x264)]

But disallow (because of no spaces around "of"):

Britannia The Great Elizabethan Journey - 1of3 (19th May 2012) [HDTV 720p (x264)]

Also previous extra_info changes from:
of 3 (19th May 2012) [HDTV 720p (x264)]

To:
(19th May 2012) [HDTV 720p (x264)]
2014-08-06 21:45:38 -07:00
echel0n
7cbeef5ed0 Fixed invalid naming pattern error.
Fixed sports regexes.
Fixed name parsing issues.
2014-07-15 02:40:21 -07:00
echel0n
d02c0bd6eb Fixed issues with editing/saving custom scene exceptions.
Fixed charmap issues for anime show names.

Fixed issues with display show page and epCat key errors.

Fixed duplicate log messages for clearing provider caches.

Fixed issues with email notifier ep names not properly being encoded to UTF-8.

TVDB<->TVRAGE Indexer ID mapping is now performed on demand to be used when needed such as newznab providers can be searched with tvrage_id's and some will return tvrage_id's that later can be used to create show objects from for faster and more accurate name parsing, mapping is done via Trakt API calls.

Added stop event signals to schedualed tasks, SR now waits indefinate till task has been fully stopped before completing a restart or shutdown event.

NameParserCache is now persistent and stores 200 parsed results at any given time for quicker lookups and better performance, this helps maintain results between updates or shutdown/startup events.

Black and White lists for anime now only get used for anime shows as intended, performance gain for non-anime shows that dont need to load these lists.

Internal name cache now builds it self on demand when needed per show request plus checks if show is already in cache and if true exits routine to save time.

Schedualer and QueueItems classes are now a sub-class of threading.Thread and a stop threading event signal has been added to each.

If I forgot to list something it doesn't mean its not fixed so please test and report back if anything is wrong or has been corrected by this new release.
2014-07-14 19:00:53 -07:00
echel0n
9f8c49ce88 Fixed issue with tvcache filling with duplicate data. 2014-06-26 03:20:07 -07:00
echel0n
9d8f695e5a Reverted previous changes made to regexes as no longer needed and started to cause false matches for h264 as a season and episode number result. 2014-06-25 22:03:26 -07:00
echel0n
cec01405d8 Fix for release results x264 issue 2014-06-24 00:42:13 -07:00
echel0n
fcd54c93d6 Fixed minor regex mistake in code. 2014-06-23 23:59:08 -07:00
echel0n
5c5b6f49e1 Fixed regex patterns for both show and release names.
Fixed post-processing loop issue.
2014-06-23 23:45:21 -07:00
echel0n
0573a8add6 Fix for NoneType name parsing issues from new test code.
Fix for h264/x264 matching as absolute number.
2014-06-22 12:25:54 -07:00
echel0n
3f6084fe4b Fixed Name Parser issues, incorrectly matched current regex used to parse results and anime patterns didn't match 1 to 3 digit numbers for absolute. 2014-06-21 18:01:14 -07:00
echel0n
a2a44eae85 Fix for anime regex's 'anime_and_normal' pattern, resolves issues with show-queue refreshes 2014-06-19 19:35:36 -07:00
echel0n
24dfbc3f15 Quality is now set during parsing of results.
Fixed more anime regex bugs.
Fixed Indexer API issues for anime shows and unicode problems.
2014-06-07 04:06:21 -07:00
echel0n
31ce517e8f Added 480p to be ignored for anime regexes when matching for absolute numbers. 2014-06-07 01:57:03 -07:00
echel0n
1e8f3e2883 Added ability for format anime naming from post-processing options.
Fixed regex issues for anime shows matching 720p as a absolute number.
Custom sports naming has been fixed to adhere to dates.
2014-06-07 01:17:12 -07:00
echel0n
99d129bd41 Fixes for anime regex matching 2014-05-31 22:39:24 -07:00
echel0n
9a3e7ab0a9 Added anime support with anidb support.
Added fanzub anime nzb provider.
Fixed NyaaTorrents anime provider.

This is in testing phase so bugs are to be expected.
2014-05-25 23:29:22 -07:00
echel0n
7391a6e454 App name change in code. 2014-05-23 05:37:22 -07:00
echel0n
fc58a44ba2 Fixed issues with post-processing including the web 500 error.
Fixed regex matching for sports.
2014-05-08 10:10:25 -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
071d51fcda Fixes for scene conversion and regexs 2014-05-01 00:18:52 -07: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
echel0n
e30ed48fcf Updated regex patterns to accommodate sports shows with dates in them. 2014-04-30 08:31:12 -07: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
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
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
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
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
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
160b4bc4cc Fix for sports naming patterns 2014-04-28 06:35:49 -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
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
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
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
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
688888b17c Fixed more issues with post processing TVRage shows 2014-03-10 04:20:29 -07:00