1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-10-31 15:35:01 -04:00
Commit Graph

59 Commits

Author SHA1 Message Date
echel0n
92a554da99 Fixed issue #1024 - EncodingKludge issue identified and fixed 2014-12-12 20:25:44 -08:00
echel0n
9466bddc3e Fixes for issues relating to multi-threading, webui, and databases 2014-12-08 11:58:51 -08:00
echel0n
d7164308a5 Fixed unicode issues with sqlite3 database queries 2014-12-08 05:00:34 -08:00
echel0n
86e7912c41 Possible fix for issues #1016, #993, and #1024 - Unicode decode/encode issues 2014-12-05 20:13:50 -08:00
echel0n
b7a5fc85fe Added encoding tests to test suite.
Possible fix for issue #1016 - Unicode decode/encode issues
2014-12-05 18:46:44 -08:00
echel0n
360c3afa08 Removed FTFY, python 2.6 compatibility issues.
Re-coded encodingKludge encode/decode for unicode <-> utf-8
2014-11-25 17:22:31 -08:00
echel0n
a9b44a156d Fixed issues importing encodingKludge module. 2014-11-24 14:31:50 -08:00
echel0n
ec6208428e Removed obsolete tvrname reference from tv_tests 2014-11-23 05:19:19 -08:00
echel0n
6f833286b7 Fixed issue with default_ep_status when loading from DB.
Updated tv_tests to reflect new default_ep_status show option.
2014-11-23 05:18:03 -08:00
echel0n
26ae17d349 Fixed missing system path appends that where causing issues for travis-cl testing 2014-11-22 19:33:25 -08:00
echel0n
ed4c99b6f0 Fixed issue with scene exception tests 2014-11-22 07:18:35 -08:00
echel0n
be0e3ab836 Fixed scene naming tests 2014-11-18 20:31:52 -08:00
echel0n
1a37238ba6 Fixed scene naming tests 2014-11-18 20:29:33 -08:00
echel0n
461b1d89d3 Fix for bug #911, escapes regex for ignored words 2014-11-18 20:25:27 -08:00
echel0n
81ddee4760 Update pp_tests.py 2014-11-17 02:30:39 -08:00
echel0n
b7381b3d0a Update scene_helpers_tests.py 2014-11-17 02:29:59 -08:00
echel0n
60c03996a6 Fix name parser issues for unitests 2014-11-16 07:20:12 -08:00
Adam
f4ea244dc9 Fixes some unittests 2014-10-30 23:50:15 +08:00
JackDandy
6c8d72b9c1 Revert "Added gui for IMDB watchlists in Config General."
The main core of this code was lifted from Trakt code and not developed enough to be suitable for purpose given that the Trakt code isn't fully developed either. An issue found leading to this decision was that show statuses were set false instead of the expected default, however, worse was that users had no way of choosing shows to add, was not informed of what was actually going on once a URL was added to the UI, and was not offered options prior to adding shows like the normal add new show work-flow does. Basically, there are too many issues and this feature is too immature for inclusion.
2014-10-24 17:03:32 +01:00
KontiSR
7165df7405 Added gui for IMDB watchlists in Config General.
Used regex checks with javascript popup, for checking if valid imdb csv watchlist.
Added test/test_tvdb_api.py for testing the tvdb api for retrieving shows by IMDB id.

TODO: Help for assisting users in getting the correct IMDB url.
maybe, make interval configurable

First changes for imdb watchlist checker

Thrown the couch code overboard and created my own version of an imdb watchlist scraper

Added IMDB thread and test values with an IMDB csv url. These values should be replaced by front end UI settings.

- Removed some tracelogs when unable to download watchlist
- Added settings for enabling and setting of the watchlist csv url
TODO:
- create UI for setting from frontend
- Implement frontend and backend checks for validating the csv url

Default interval is 1 hour.
2014-09-30 12:25:11 +02:00
Adam
5a5b2af676 Fix another unittest error 2014-09-24 12:51:48 +08:00
Adam
f0d8bcb62c Fix some of the unit tests 2014-09-16 18:25:59 +08:00
Adam
1d41a638ee Update .travis.yml, fix imports and tests 2014-09-13 13:20:47 +08:00
echel0n
be17ed122b Fix for air-by-date and sports shows issues with parsing results. 2014-08-22 00:21:37 -07:00
echel0n
403c267953 Further improved memory handling of bs4 for torrent providers. 2014-07-21 16:01:46 -07:00
echel0n
4a29476415 Added code to perform disposal of bs4 class when finished as well as perform garbage collection afterwards, this fixed a memory leak issue SR was experiancing during backlog/manual/failed searches. 2014-07-21 15:16:04 -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
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
b547226353 Fix for unrar2 2014-05-12 13:56:22 -07:00
echel0n
a5b72dea84 Fixes issues with findpropers and airdate.
Fixes issues with unhashable dict types.
Fixes issues with 100% CPU usage.
Fixes issues with RSS feed cache.
Fixes issues with scene numbering and converting back to indexer numbering.
Fixes issues with backlog searches.
Fixes issues with season pack searches.
Fixes issues with BTN.
2014-05-04 20:08:32 -07:00
echel0n
129a8c1d7e Added cache for rss feed items.
Fixed issues with searches
2014-05-04 05:05:27 -07:00
echel0n
d5f183c171 Major changes made to search code, tvcache code, and name parser 2014-05-03 02:23:26 -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
3cefc5be86 Fix for startup issue when using python 2.6 2014-05-01 04:38:05 -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
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
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
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
5d16eda620 More XEM scene tests 2014-04-28 16:04:11 -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
28d39df816 Fix for air-by-date issues 2014-04-27 15:51:52 -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
18b781532c Fix for KAT provider 2014-04-26 15:20:52 -07:00
echel0n
4f049f4e7e Fixed show name formatting issues.
Added tests for XEM scene numbering.
2014-04-26 13:12:58 -07:00
echel0n
f9cd37c243 Fix for formatting pattern issues 2014-04-26 04:17:28 -07:00