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

1462 Commits

Author SHA1 Message Date
echel0n
e6149513c8 Merge pull request #714 from adam111316/more_cache_fixes
Consolidate more provider code
2014-08-12 18:34:17 -07:00
echel0n
27ac36cde9 Merge pull request #713 from piejanssens/dev
Add priority option for daily snatches (inc force)
2014-08-12 18:33:53 -07:00
echel0n
f43e4ef9dd Merge pull request #712 from tresni/normalize_lf
Return to linux line feeds
2014-08-12 18:33:15 -07:00
echel0n
1fbecf5ebd Merge pull request #710 from adam111316/fix_versionspropers
Fix non-anime propers being skipped for not having a version
2014-08-12 18:32:36 -07:00
echel0n
d22f326737 Merge pull request #709 from adam111316/fix_branches
Fixes listing branches for when using source code
2014-08-12 18:32:10 -07:00
echel0n
a602d213a5 Merge pull request #708 from adam111316/fix_trakt_config
Fixes for trakt settings not saving
2014-08-12 18:31:28 -07:00
echel0n
9cffbfe6ee Merge pull request #707 from adam111316/sync_files
Halt post processing if lftp temporary files are detected
2014-08-12 18:31:18 -07:00
adam
22f3a2e41b Consolidate more provider code
Fix tvtorrents issue

Remove old providers
2014-08-13 05:52:59 +08:00
Brian Hartvigsen
37e35754c4 Add fixing name_parser/parse.py too... 2014-08-11 17:38:37 -06:00
piejanssens
e4282df953 Add priority option for daily snatches (inc force)
This adds a priority option that allows the user to specify the
priority to be used for daily/recent snatches instead of the default
high value ‘100’.

This also includes the use of priority ‘force’ which will let nzbget
download the task even if the queue is paused.
2014-08-11 22:07:02 +02:00
Adam
d0b0ec2f3d Fix non-anime propers being skipped for not having a version 2014-08-11 22:01:27 +08:00
Adam
0abbdf3d44 Fixes listing branches for when using source code 2014-08-11 19:41:53 +08:00
Adam
f4c0893d32 Fixes for trakt settings not saving 2014-08-11 19:29:35 +08:00
Adam
72b0b04045 Halt post processing if lftp temporary files are detected 2014-08-11 18:29:28 +08:00
Adam
d9f073bbd0 Fixes resetting of auto postprocessing timer config 2014-08-11 18:19:48 +08:00
echel0n
90146d33fa Merge pull request #703 from dwaldhans/branch-search_pattern_fix
Fixed search pattern for checking ignored and required words in release names
2014-08-10 21:37:37 -07:00
echel0n
4d7d85e21b Merge pull request #704 from adam111316/hdbits_cache
Fix for HDbits tvcache issue
2014-08-10 21:37:02 -07:00
Adam
66f962f89b Fix for tpb ABD shows 2014-08-11 08:10:24 +08:00
Adam
e19f1ee53e Fix for HDbits tvcache issue 2014-08-11 07:59:56 +08:00
David Waldhans
16ae4c1db7 Fixed search pattern for checking ignored and required words in release names 2014-08-10 13:56:55 +02:00
echel0n
9714fc3299 Code fix for attribute error 2014-08-09 17:28:15 +00:00
echel0n
50b91f9d7c Code correction 2014-08-09 17:17:44 +00:00
echel0n
e98418ba8d Small code change 2014-08-09 11:36:14 +00:00
echel0n
f1c45a596d Code typo fixed 2014-08-09 11:30:36 +00:00
echel0n
3ae4c13104 Code fix 2014-08-09 11:28:22 +00:00
echel0n
6a5567d040 Another minor code fix 2014-08-09 11:22:56 +00:00
echel0n
f5725f4402 Minor code correction. 2014-08-09 11:20:24 +00:00
echel0n
17906539ae Fixed improper line indentation 2014-08-09 11:16:55 +00:00
echel0n
1ee64ced4d If we fail to find season/episode info for air-by-date shows via DB query we attempt via indexerAPI calls 2014-08-09 11:14:51 +00:00
echel0n
dfc18b8d54 Small code change for parsing air-by-date shows to get season/episode info 2014-08-09 10:59:39 +00:00
echel0n
7f8c170f67 Fixed AttributeError: 'dict' object has no attribute 'name' error 2014-08-09 06:22:54 +00:00
echel0n
3eed021200 Fixed issues where data needing to be posted was being sent via a GET instead of POST 2014-08-09 00:45:21 +00:00
echel0n
8bec8751fb Merge pull request #697 from cptjhmiller/dev
Trakt method, error checking, remove series
2014-08-08 17:35:16 -07:00
echel0n
c658fe0f26 Fixed NoneType error when mapping indexers to show 2014-08-09 00:19:29 +00:00
Jamie
18da621016 Trakt method, error checking, remove series 2014-08-09 00:07:17 +01:00
echel0n
3592e559d0 Fixed unbound method editShow() error 2014-08-08 00:18:03 -07:00
echel0n
1bf47900df More fixes for source code updating 2014-08-07 23:30:56 -07:00
echel0n
f9ababe7cb Fix for updating issues 2014-08-07 23:21:30 -07:00
echel0n
922df4c160 Fix for NoneType errors 2014-08-07 22:58:41 -07:00
echel0n
de8adb24d0 Fix for AttributeError in SourceUpdateManager 2014-08-07 22:44:06 -07:00
echel0n
318379522b Merge pull request #692 from Supremicus/dev
Provider image fixes.
2014-08-07 22:11:26 -07:00
echel0n
1710fe6362 Merge pull request #691 from nielsenj/XofXEpNaming
Changes "no_season" regex to support XofX naming
2014-08-07 22:11:05 -07:00
echel0n
2a0d747f8b Merge pull request #690 from adam111316/btsync
Halt postprocessing if temporary btsync files are detected
2014-08-07 22:10:50 -07:00
echel0n
aa09e88d5f Merge pull request #689 from adam111316/tidy
Tidying provider code
2014-08-07 22:10:40 -07:00
echel0n
df4f2d11d2 Merge pull request #688 from adam111316/hdbits_fix
HDbits fix
2014-08-07 22:10:29 -07:00
Supremicus
b5c703c893 Provider image fixes.
newznab.py - changed to use provider image from set gui interface (for
gui skin support).
rsstorrent.py - as per above, directory was wrong all together.
2014-08-08 09:17:31 +10: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
adam
c4d5e480b5 Halt postprocessing if temporary btsync files are detected 2014-08-06 21:55:17 +08:00
Adam
6ad5ccf966 HDbits fix 2014-08-06 19:58:10 +08:00
Simon
ff9c8ae82c Fixed notifier failing when it shouldn't 2014-08-06 12:06:26 +01:00
Adam
4b3a680bb3 Tidy provider code 2014-08-06 01:38:16 +08:00
echel0n
1908c74e96 Merge pull request #679 from adam111316/nyaa_consolidation
Remove unnecessary code from nyaatorrents provider and PEP8
2014-08-03 00:14:11 -07:00
echel0n
76011d4653 Merge pull request #680 from adam111316/animezb_consolidation
Animezb tidy proper code and PEP8
2014-08-03 00:14:03 -07:00
echel0n
493f9af02e Merge pull request #681 from adam111316/fanzub_tidy
Tidy fanzub proper code and PEP8
2014-08-03 00:13:55 -07:00
echel0n
d33929ad6d Merge pull request #682 from adam111316/fix_anime_propers
Fixing anime propers due to missed code when rebasing
2014-08-03 00:13:47 -07:00
Joe Breu
9bcd914ef2 Handle case where we don't get back valid data from trakt 2014-08-01 12:26:36 -05:00
Adam
e7660c559a Fixing anime propers due to missed code when rebasing 2014-08-01 17:40:46 +08:00
Adam
74fa44d14e Tidy fanzub proper code and PEP8 2014-07-31 18:18:12 +08:00
Adam
f94b0085f0 Animezb tidy proper code and PEP8 2014-07-31 18:11:46 +08:00
Adam
4728e19edf Remove unnecessary code from nyaatorrents provider and PEP8 2014-07-31 17:45:51 +08:00
echel0n
dbc30c43cb Switched the following providers to use HTTPS connections instead of standard HTTP, more secure. 2014-07-30 22:02:45 -07:00
echel0n
efe115f909 Fixed startup issue due to import module issues. 2014-07-30 21:47:17 -07:00
echel0n
9761c6c6a3 Fixed issues with torrent blackhole download issues. 2014-07-30 21:31:54 -07:00
echel0n
a15258c784 Fixed massEdit issues. 2014-07-30 19:41:02 -07:00
echel0n
7c650d730c Switched a logger error to a logger debug 2014-07-30 18:59:52 -07:00
echel0n
429db5b7d4 Shutdown/restarts now wait for Tornado to finish shutting down before proceeding further 2014-07-30 18:57:31 -07:00
echel0n
29b3f2ab3b Fix for issues relating to subprocess imports and BRANCH checks 2014-07-30 18:17:12 -07:00
echel0n
b4efb2d641 Fixed a small typo in versionChecker 2014-07-30 17:25:55 -07:00
echel0n
39fe8e8477 More fixes for checkout/updating issues. 2014-07-30 17:19:44 -07:00
echel0n
ad39ac8772 Fix for version branch issues. 2014-07-30 16:40:42 -07:00
echel0n
b8b5947ae6 Fix for trakt.tv issues when adding/removing/syncing shows.
Fix for indexer mapper to return a result no matter what.
2014-07-30 16:33:28 -07:00
echel0n
281c5c333e Fixes for updating/checkout of source installed versions. 2014-07-30 15:57:08 -07:00
echel0n
bfe0a00cc7 Removed unrequired version file. 2014-07-30 15:38:56 -07:00
echel0n
650862fafc Fix for updating/checkouts when using source files instead. 2014-07-30 15:34:05 -07:00
echel0n
4ff4ebb0d6 Fix for brnch checkouts from webui. 2014-07-30 15:08:16 -07:00
echel0n
818536fcb4 Fixed naming issues for sports and air-by-date shows. 2014-07-30 14:42:52 -07:00
echel0n
b1de2c7080 Doesn't start a scheduled task for things not enabled to not waste resources. 2014-07-28 21:46:56 -07:00
echel0n
cdd190e1e7 Fixed trakt library update issues. 2014-07-28 21:46:20 -07:00
echel0n
b484192390 Fixed issue with threads not exiting on shutdown properly. 2014-07-28 21:45:45 -07:00
echel0n
331be097cb Fixed a typo 2014-07-28 21:45:11 -07:00
echel0n
326d0204c0 Fixes issues with inital setting of branch version on startup first run 2014-07-28 21:44:37 -07:00
echel0n
bd2748d33a Fixed code to set branch version at startup 2014-07-28 21:44:03 -07:00
echel0n
534104b8b0 Changed how SickRage determins its branch version which will resolve issues with app switching back to master branch by mistke on startup. 2014-07-28 21:43:28 -07:00
echel0n
e6c8982d2b Testing fix for torrent download issues from ezrss 2014-07-28 21:42:53 -07:00
echel0n
19a89d453c We now check if a torrent url links to a valid file before adding as a verified result to get snatched, this helps prevent issues when attempting to add torrent to client later on to find the url returned nothing resulting in a error. 2014-07-28 12:19:41 -07:00
echel0n
60a6569064 Merge remote-tracking branch 'origin/nightly' into nightly 2014-07-28 09:53:16 -07:00
echel0n
7cb2296b6a Fixed issue with reverts to master on startup due to bug in version checker.
Fixed issues with indexerApi caching code, seemed TVRage was really the only one experiancing the problems but has been corrected for theTVDB just in case.
2014-07-28 09:03:07 -07:00
echel0n
6e6ae5bb87 Further corrections for torrent download issues related to content being empty and not properly checked in advance. 2014-07-27 23:48:10 -07:00
echel0n
52010d9951 Fix for invalid torrent files causing NoneType errors. 2014-07-27 23:00:25 -07:00
tlex
789f87090a Completed migration to v2 Pushbullet API. Added extra debug logging. 2014-07-28 07:30:13 +02:00
echel0n
480199085e Fix for images in cache folder being deleted by cleaner routine. 2014-07-27 19:11:24 -07:00
echel0n
d916958abc Fixes for editshow functions. 2014-07-27 18:46:15 -07:00
echel0n
cef53beee0 PEP* Cleanups and added timeouts for threads when shutting down or restarting. 2014-07-27 18:01:26 -07:00
echel0n
0f2941435f Testing checkout feature 2014-07-27 17:21:55 -07:00
echel0n
e9eca837a8 More fixes for webui branch checkout feature. 2014-07-27 16:22:57 -07:00
echel0n
f4b24bd85d Added a checkout branch button to the advanced config settings tab to tie things in better and make them easier. 2014-07-27 15:21:52 -07:00
echel0n
ef8b4e587d Fixed code that was preventing branch checkouts from working. 2014-07-27 14:23:40 -07:00
echel0n
a8bcbc66c3 Fix for incorrectly displayed remote branch list when in advanced settings. 2014-07-27 13:00:53 -07:00
echel0n
7dc89c084f Added ability to switch branches from general settings/advanced, will perform a forced checkout of whatever branch you choose and restart automatically.
Git updates are now forced to overwrite locale changes to avoid needing to manually stash uncommited changes before being able to proceed with a update.

Fixed indexer mapping when unable to locate show on indexer that we are trying to map to.
2014-07-27 11:39:02 -07:00
echel0n
91ee2c9ef5 More fixes for Trakt.tv connection issues. 2014-07-27 07:49:13 -07:00
echel0n
4094e2ed3c Fix for trakt connection issues. 2014-07-27 07:39:33 -07:00
echel0n
60205979a8 Merge pull request #667 from adam111316/anime_propers_3
Anime proper support
2014-07-27 07:17:55 -07:00
echel0n
b5e0282942 Fixed scene exceptions issue when editing shows. 2014-07-27 07:14:41 -07:00
echel0n
9493a8f7e5 Added back in missing code for finding propers, was removed by mistake.
Fixed issue with torrent clients not snatching due to improper handling of torrent hashes/files.
2014-07-27 07:04:37 -07:00
Adam
fd9be53fcb Anime propers 2014-07-27 21:04:17 +08:00
echel0n
f67fa660be Tornado WebUI now asynchronous, huge performance increase. 2014-07-27 05:51:22 -07:00
echel0n
f2a1331110 Skip cleaning images cache folder. 2014-07-27 05:34:03 -07:00
echel0n
f404f6f3ee Merge pull request #660 from Prinz23/ical_fix
Remove old Code that caused an exception in the iCal Feed
2014-07-27 04:59:38 -07:00
echel0n
5e7bfaa475 Merge pull request #666 from tlex/nightly
Fixed: pushbullet notifications don't work
2014-07-27 04:58:57 -07:00
echel0n
b13e72e0a3 Moved code for cleaning up cache folder to seperate function located in helper.py.
Added call to cache folder cleanup during SickRage main init.

Changed a error message in rss feed class to a debug message for when url returns no data.

Moved indexer api cache files to be placed under cache folder subfolder indexers.

Moved rss feed cache files to be placed under cache folder subfolder rss.
2014-07-27 04:58:14 -07:00
echel0n
14c354b551 Added proxy support to Indexer APIs.
Provider getURL and downloadResult functions now removed and replaced with ones from helpers.py to help slim the code down plus allow more better control over request sessions.

Removed TVTumbler code.

Fixed HDBits provider.

Fixed config settings that were ment to be booleans but instead where set as str or int, should help resolve random html errors.

XEM Refresh check re-coded.

NameParser code for creating show object has been changed to only attempt at the very end once its found the bestMatch result, helps on resources and performance.
2014-07-27 03:59:21 -07:00
echel0n
fcded3c3cf PEP8 Cleanups 2014-07-26 14:52:49 -07:00
Alex
877c35cb16 Fixed: pushbullet notifications don't work
Apparently the pushpubllet api URL has changed. I suspect it will be the case, in the future, to update the devices url (and maybe code) as well.
2014-07-26 21:46:00 +02:00
echel0n
0e5fbbc5c3 Fix for incorrect show snatches 2014-07-24 21:29:03 -07:00
echel0n
bb437299d5 Added in missing redirects for config pages, should also resolve subtitle uncaught exception issues. 2014-07-24 12:43:01 -07:00
echel0n
012baeda0c Fix for no providers found error during searches. 2014-07-24 12:05:49 -07:00
echel0n
f47734446d Fixed further json issues with speedcd provider.
Fixed several providers and ssl cert verify issues.

Air-by-date shows now automatically get there respective season/episode numbers during release parsing.
2014-07-24 11:16:59 -07:00
echel0n
b16ff81478 Fixes for thread naming issues where provider names are getting stacked on top each other per loop iteration.
Fix for speedcd no json data issue.

Fix for DB upgrade syntax errors caused by previous commit.
2014-07-24 09:12:29 -07:00
echel0n
161226180f Cleaned up NyaaTorrents search code and fixed unicode issues. 2014-07-24 01:33:38 -07:00
echel0n
a697805923 Fixed NameParser to properly parse anime episodes that use normal season and episode naming conventions.
NameParser now properly creates absolute numbers from season/episode info or season/episode numbers from absolute info for anime shows. Removed scene convert routine and migrated the code into the parsing routine with a boolean to scene convert if needed.

Fixed NyaaTorrents issue with dict object errors.
2014-07-24 01:27:35 -07:00
echel0n
e5ac585b6a Fix for webui becoming unresponsive when using SSL and possibly in other situations as well. 2014-07-23 23:36:44 -07:00
echel0n
de5db9be64 Added ability to set a default indexer for trakt notifier used for adding shows from watch list so that SickRage knows what indexer to set the show as.
Indexer mapping now uses indexer api calls to gather its information and then stores it to a new table called indexer_mapping for instant lookups later on.

Fixed trakt related issues for adding new shows and syncing.

Centered items at bottom of pages to just look a little nicer and fit properly.
2014-07-23 22:07:01 -07:00
Prinz23
8313e12267 The RegEx is also not needed anymore 2014-07-23 16:42:11 +02:00
Prinz23
b54724c058 Remove old Code that caused an exception in the iCal Feed 2014-07-23 16:32:41 +02:00
echel0n
3a2b67330c During backlog/manual/failed searches we now cache disgarded/ignored results pre-parsed for usage later on incase we end up setting a episode to wanted that matches said results, allows for maximum performance and helps limit the waste of resources used. 2014-07-21 23:00:58 -07:00
echel0n
a317ff61c2 Created a context manager wrapper for BeautifulSoup4 so that we can cleanup/clear tags/context on exit via WITH statements.
Fixed issues with torrent providers returning no results.
2014-07-21 21:26:58 -07:00
echel0n
77feb5a74c Added 10sec timeout for subtitlesFinderScheduler on shutdowns 2014-07-21 19:31:58 -07:00
echel0n
899d03b5fe Fixed issue with appending UNNOWN qualities to provider results after being sorted. 2014-07-21 18:48:16 -07:00
echel0n
bf41ba59be Fixed sorting provider results by quality code, was causing a error. 2014-07-21 17:55:45 -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
f340f9b073 Fix for sports shows. 2014-07-21 08:49:20 -07:00
echel0n
459b201b9a Merge pull request #653 from adam111316/clearer_PP_logs
Tidy PP log message
2014-07-21 08:44:06 -07:00
echel0n
8a12c9306c Merge pull request #652 from adam111316/fix_airdate_propers
Fix proper searches with ABD and sports
2014-07-21 08:43:26 -07:00
echel0n
6f817c0c5c Quality sorting fixed for provider results.
Reverted newznab search strings being confined to just season till we can find a better way of correcting the issue with Usenet Crawler.
2014-07-21 08:38:56 -07:00
echel0n
39054d7810 Fix for validating episode data during provider result gathering. 2014-07-21 07:21:03 -07:00
echel0n
7b54611361 Moved code for marking failed download successful out of loop.
Newznab providers now create season search strings for all searches as single ep search strings combined with using rage id numbers seems broken currently.
2014-07-21 06:44:01 -07:00
echel0n
5ac99b8c5c Fix for extensions being stripped off by mistake made when adding in -RP fix from few commits ago. 2014-07-21 06:29:07 -07:00
adam
72a3ab63f8 Tidy PP log message 2014-07-21 18:13:17 +08:00
adam
c63c5e43d6 Fix proper searches with ABD and sports 2014-07-21 17:20:54 +08:00
echel0n
efb94f1675 Merge pull request #649 from Prinz23/nzbget13_append
Added Support for new append method of NZBGet 13+
2014-07-21 00:32:55 -07:00
echel0n
b4981317a8 Merge pull request #650 from dhellwich/patch-1
Fix for symlinking during Post-Processing
2014-07-21 00:32:45 -07:00
echel0n
57cf86279b Places Quality UNKNOWN items from provider results at end of itemsList leaving order of sorted items highest to lowest. 2014-07-20 23:59:57 -07:00
echel0n
d6442e0685 Provider results get sorted by quality before filtering occures. 2014-07-20 23:43:52 -07:00
echel0n
af0ccd65cf Fixes for a few provider issues plus passing of search_mode variable. 2014-07-20 22:47:13 -07:00
echel0n
ff5107cfe2 Provider searches for backlog, manual, and failed have been re-worked to not hammer the providers so much plus perform alot faster. 2014-07-20 22:07:53 -07:00
dhellwich
aba5cc10d2 Fix for symlinking during Post-Processing
As described here: https://sickrage.tv/forums/forum/help-support/bug-issue-reports/5016-several-issues
2014-07-20 21:47:37 +02:00
Prinz23
1a625d1418 Added Support for new append method of NZBGet 13+ 2014-07-20 13:44:54 +02:00
echel0n
f6d662ca6b Fixed TypeError: processEpisode() got an unexpected keyword argument issues when using nzbToMedia scripts. 2014-07-20 00:14:05 -07:00
echel0n
6e613145b3 removed sleep timers from db code all together, overall speed increased. 2014-07-20 00:01:42 -07:00
echel0n
636bbfa2de Fixes issues with scene exception updating when editing a show, should resolve problems with it duplicating scene exception name over and over again.
Reduced DB sleep timer to increase overall performance of application.

Improved generic queue code for threading.
2014-07-19 22:29:19 -07:00
echel0n
bd20f9d2ae Merge pull request #647 from adam111316/log_clear_cache
Updating provider clear cache log message
2014-07-19 21:28:44 -07:00
marseneault
662353e936 Add support for Bitsoup 2014-07-20 12:12:22 +08:00
Justin Nielsen
ad17b81560 Added TVTorrents.ro Provider
Missed some files

Removed seeders==0 as per request
2014-07-20 11:09:26 +08:00
echel0n
830a4c840e Checks if trakt is enabled before attempting to start schedualed thread tasks. 2014-07-19 18:54:40 -07:00
echel0n
c423d349e8 Fixed failed and manual snatches that where causing WebUI lock-ups. 2014-07-19 18:06:04 -07:00
echel0n
0cdd1cf813 Fix for threading schedualers and subtitles. 2014-07-19 17:03:23 -07:00
echel0n
24cd235988 "Borrowed" code from SB's post-processing routine. 2014-07-19 16:08:50 -07:00
echel0n
1b84c6d281 Fix for subtitle processing. 2014-07-19 15:32:28 -07:00
echel0n
02c8b867c6 Fixed -RP release issues.
Removes .nzb and .torrent extensions from files for parsing purposes.
2014-07-19 15:23:01 -07:00
echel0n
423c09fd9e Provider DB connections remain open instead of constantly open/close for misc db calls. 2014-07-19 14:16:05 -07:00
echel0n
267affa5e9 Fix for missing indexerid number when performing naming pattern tests. 2014-07-19 13:34:30 -07:00
echel0n
5802fc372c Fix for naming pattern issues. 2014-07-19 13:31:31 -07:00
echel0n
8b5559bdef PEP8 Fix for backlog searches 2014-07-19 12:52:16 -07:00
echel0n
39d9fc6434 Fix for renaming non-anime shows and absolute numberings being applied by mistake. 2014-07-19 12:50:08 -07:00
echel0n
14fd0daa6c Fix for nameparser error during PP 2014-07-19 06:53:06 -07:00
echel0n
cf99eb9625 Fix for rls words 2014-07-19 06:27:53 -07:00
echel0n
3fd5f75180 Removed a sleep timer 2014-07-19 06:11:53 -07:00
echel0n
9fe6b66475 Forgot to commit these 2014-07-19 06:10:02 -07:00
echel0n
bf40e6bd98 Updated code to perform indexer id comparisons to confirm show is correctly choosen if we passed in a show object to test against. 2014-07-19 06:09:16 -07:00
echel0n
222f702f46 Skips to next regex if unable to create result.show 2014-07-19 05:15:48 -07:00
echel0n
09a3333399 Moved code out of series_name check for show object creation/checking. 2014-07-19 05:13:11 -07:00
echel0n
eff064f347 Accuracey and speed improved for nameparser. 2014-07-19 05:06:18 -07:00
echel0n
c25da850ab Updated scene exception code for checking when last refreshed. 2014-07-19 04:52:55 -07:00
echel0n
e0e10dd289 Improved name parser scoring 2014-07-18 17:44:06 -07:00
echel0n
c4a0f314fd Fixed name parsing result issues with improper regex patterns being used. 2014-07-18 11:47:19 -07:00
echel0n
579681386e Another test fix for anime PP issues 2014-07-18 00:03:29 -07:00
echel0n
9bef354899 Testing another fix for anime PP issues. 2014-07-17 23:54:58 -07:00
echel0n
42c0d7f9f6 Testing fix for incorrectly cached results that may cause PP issues. 2014-07-17 23:45:48 -07:00
echel0n
4470735437 Added 10 second timeout for anidb thread for restarts/shutdowns 2014-07-17 23:21:11 -07:00
echel0n
6957bd0656 Possible fix for stacked provider names during backlog search.
Possible fix for anidb connection stop issues during restart/shutdown.
2014-07-17 23:16:18 -07:00
echel0n
5bc775dfb9 Fix for threading issues with backlogs and whitelist/blacklist issues for anime shows. 2014-07-17 22:57:35 -07:00
echel0n
a435a7d3d2 Added thread lock for internal name cache.
Removed unrequired scene exception retrieval during adding of new shows.
2014-07-17 19:37:14 -07:00
echel0n
70c2a2d130 Fixed errors in scene exceptions when retrieving list of exceptions.
Fixed trakt.tv errors when updating/syncing show lists.
2014-07-17 18:06:42 -07:00
echel0n
7f20f5e27f Fixed whitelist error when editing shows, needs more code changes to fully function correctly.
Possible fix for threading exceptions.
2014-07-17 17:43:36 -07:00
echel0n
546f7c00b4 Reverted persistent storage of nameparser cache, testing fix to prevent crashes possibly related to memory usage. 2014-07-15 15:01:23 -07:00
echel0n
89c8ed4372 Using unicode for name keys now in NameParser cache, resolves 8-byte error. 2014-07-15 11:51:40 -07:00
echel0n
c577ff2887 Reverted back to using Shove+SQLAlchemy for storing persistent object data to avoid any more DB corruption errors. 2014-07-15 11:40:40 -07:00
echel0n
c0cf45830c Fix for processEpisode to accept both "on" and "1" as True conditions when passing in options for post-processing from scripts such as nzbToMedia. 2014-07-15 10:26:01 -07:00
echel0n
2fec443c37 Forgot to add check if naming pattern was calling nameparser for previous commit. 2014-07-15 03:18:34 -07:00
echel0n
c3f6417f5f NameParser now gets episode/season numbers for anime shows using absolute numbers. 2014-07-15 03:11:54 -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
5fb3fe6797 Fix for absolute numbering issue during renaming of files for non-anime shows. 2014-07-15 00:24:58 -07:00
echel0n
4a061d4dd2 AniDB now updates its xml lists daily.
Added writeback cache for both rss feeds and name parser.
2014-07-14 23:55:52 -07:00
echel0n
fefcfa0952 Fix for NameParser invalid show errors.
Fix for NameParserCache and RSSFeed Cache errors.
2014-07-14 22:53:32 -07:00
echel0n
79f923dc9c Fixed andidb scene exceptions to be called only on shows that are marked as anime.
Cleanup now performed after scene exception retrieval is performed on globals.

Fixed db type errors for name parser cache and rss feed cache.
2014-07-14 21:10:57 -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
Adam
ec860cfc1f Updating provider clear cache log message 2014-07-15 01:12:36 +08:00
echel0n
09f53d3537 Filtering of torrents with 0 seeders is no longer forced, filtering now is done strictly by min seed and min leech user settins which can be set from search provider config settings. 2014-07-12 16:16:58 -07:00
echel0n
9a6be98f1f Fix for symlinking during Post-Processing 2014-07-12 15:10:10 -07:00
echel0n
21cc92664f Fix for KickAss Torrents Invalid URL error. 2014-07-11 21:12:25 -07:00
echel0n
d9f37eb852 Fixed the default naming patterns for ABD and SPORTS plus increased default indexer timeout from 10 to 20 2014-07-11 20:52:09 -07:00
echel0n
b7ab95996c Merge pull request #638 from adam111316/add_animezb_provider
Add animezb provider
2014-07-11 19:40:51 -07:00
echel0n
84fe4f0aeb Added back tvrage_name and tvrage_id to mirror show_name and indexer_id so that other apps that need those values have them available.
Cleaned up video html in display shows.
2014-07-11 18:38:22 -07:00
echel0n
13f12b2635 Fixed issue with WEB Api and setting episode statuses for backlog searches. 2014-07-11 18:01:55 -07:00
echel0n
2f0683ec1e Fixed restart/updating issues for synology/qnap devices, may also resolve other OS related simular issues. 2014-07-11 16:37:09 -07:00
echel0n
2d87de0fd8 Fix for search provider config page errors. 2014-07-11 14:57:49 -07:00
echel0n
9e365310b6 Fixed redirect issues which should now resolve reverse proxy web_root issues as well. 2014-07-11 12:33:49 -07:00
echel0n
6a3c6a5be4 Added anime and scene params to WEBApi for adding new shows. 2014-07-11 10:45:45 -07:00
echel0n
be6c884a40 Fixed WEBApi issues for adding new shows. 2014-07-11 10:42:42 -07:00
adam
923a58b2ab Add animezb provider 2014-07-12 01:21:56 +08:00
echel0n
aa74dfb68d Merge pull request #637 from marseneault/torrentbytes
Add TorrentBytes provider
2014-07-11 10:18:08 -07:00
echel0n
cc07bdb12f Disabled purging of feed-cache items for providers. 2014-07-11 04:43:28 -07:00
echel0n
424674464f Playing videos from display show page has now been made opt-in, you can enable/disable via general config menu.
Swapped out video-js player for jwplayer to support mkv video codec.

Fixed issue with videos not playing.
2014-07-11 04:05:33 -07:00
echel0n
0e3495d30f Fix for show parsing errors to be displayed via debug logs now instead as a warning. 2014-07-11 00:59:05 -07:00
echel0n
933fad20c7 Unable to parse filename errors are now set to show via DEBUG logs only to prevent unicode chars from causing misc beeping sounds ... 2014-07-10 23:44:36 -07:00
echel0n
9dd679e30f Fix for anime showObj regex matching.
Fix for xbmc notifier.
2014-07-10 22:35:00 -07:00
echel0n
c7e58cadb5 Fix for XBMC notifier 2014-07-10 21:41:54 -07:00
echel0n
356ac845d4 Fix for XBMC notifier, KeyError: 'result' 2014-07-10 19:53:27 -07:00
echel0n
172dec1017 Startup/Restart issues resolved. 2014-07-10 17:20:31 -07:00
root
6304c5ed17 Add TorrentBytes provider 2014-07-10 10:15:44 -04:00
echel0n
52f65ca735 Testing yet another possible fix for web_root 2014-07-09 13:50:46 -07:00
echel0n
a103035ac2 Testing fix for web_root issues. 2014-07-09 13:14:53 -07:00
echel0n
2d0c31510e Fixed issues with trakt and root dirs.
Fixed web root issues.
2014-07-09 11:41:04 -07:00
echel0n
e891e9d637 Fixed nextaired not found issues and fixed kat provider issues. 2014-07-09 09:01:12 -07:00
echel0n
f925488373 KickAss torrents now uses multiple urls to try from incase one goes down. 2014-07-09 01:26:45 -07:00
echel0n
d6225dd8d3 Updated next episode airdate function to be run once at startup and then each time after that with show update schedualer 2014-07-09 00:49:05 -07:00
echel0n
23239e0a5d NextEpisode sets episodes that dont return a next air date to todays date to help improve load times for home page. 2014-07-09 00:33:44 -07:00
echel0n
5237e70fb3 Updated nextepisode function to only perform db calls when nextaired date has been reached. 2014-07-09 00:15:27 -07:00
echel0n
dbe22b570b NextEpisode code modified to return the airdate ordinal instead of a ep object, faster. 2014-07-08 23:07:26 -07:00
echel0n
58788f52e5 Corrected API to work with new nextepisode function code changes. 2014-07-08 22:53:51 -07:00
echel0n
a085f0f538 Improved and faster nextepisode function, speeds up home page load times. 2014-07-08 22:42:56 -07:00
echel0n
fe65ecd2c3 Fixed issues with searches for show specials causing SR to think its a entire season. 2014-07-08 21:13:43 -07:00
echel0n
bea3a13c2b Switched update url for git repo to use non-ssl url. 2014-07-08 20:39:31 -07:00
echel0n
004e82e459 Merge remote-tracking branch 'origin/dev' 2014-07-08 15:33:43 -07:00
echel0n
74f73bcc34 New event queue system in place, currently handles shutdown and restart calls.
Fixed ctrl-c issues with new event queue system.
Added a sleep timer to the NameParser class to help lower cpu usage spikes.
2014-07-08 15:26:26 -07:00
echel0n
0866bcc344 Merge pull request #632 from adam111316/fix_webdl_quality
Fixes web-dl quality detection for some episode naming patterns
2014-07-08 10:04:39 -07:00
echel0n
c5adfae655 Merge pull request #626 from arogl/dev
Minor GUI and console fixes
2014-07-08 09:54:56 -07:00
echel0n
15c7332277 Merge pull request #623 from nielsenj/customrssratio
Adds custom RSS provider ratio setting.
2014-07-08 09:53:07 -07:00
echel0n
86b9598e3c Merge pull request #631 from adam111316/fix_add_to_mylist
Fix for 'add to my list' option defaulting to on upon a restart.
2014-07-08 09:50:12 -07:00
adam
257181ee4f Fixes web-dl quality detection for some episode naming patterns 2014-07-08 20:57:14 +08:00
echel0n
79a1b1c31e Fix for root dir location not being saved or set correctly for shows.
Fix for mass update edits of shows, bwlist no longer gets updated during this process as its not required. You can not change your root dir even if location does not exist so long as you have create_missing_show_dirs=1 in your config set so that there be auto-created during the next post-processing of a episode.
2014-07-07 20:27:24 -07:00
echel0n
c8d899ad66 Removed maintance schedualer and moved the routines from it to happen before a search is started to ensure things are up to date and to stop waking up synology devices, regexes also made less greedy. 2014-07-07 14:30:27 -07:00
echel0n
5fda7e8afd Merge remote-tracking branch 'origin/dev' 2014-07-07 11:30:41 -07:00
echel0n
561a12a735 Fix for metadata mede8er provider for error: tvdb_attributenotfound: Cannot find attribute '_actors' 2014-07-07 09:10:35 -07:00
adam
e6eb1256bf Fix for 'add to my list' option defaulting to on upon a restart. 2014-07-07 19:23:59 +08:00
echel0n
5b0d9c7ec1 Merge remote-tracking branch 'origin/dev' 2014-07-06 15:39:18 -07:00
echel0n
f91569ec84 Fix for post-processing and parsing errors. 2014-07-06 15:06:19 -07:00
echel0n
dfc600893d Fix for SHOWQUEUE-REFRESH 2014-07-06 10:16:11 -07:00
echel0n
1680f6c8b1 Merge remote-tracking branch 'origin/dev' 2014-07-06 07:51:18 -07:00
echel0n
8045976c15 Possible fix for error 500 in web gui when trying to get a show poster and showList is not yet been init'd 2014-07-06 07:48:51 -07:00
echel0n
ab69e52615 Fixed cheetah's template subclass to properly return correct line numbers in tracebacks so that we may properly debug errors. 2014-07-06 07:45:01 -07:00
echel0n
9f1250d750 Turned autoreload off as it was turned on when we set debugging to true for tornado. 2014-07-06 06:18:09 -07:00
echel0n
7a95b0bb14 Added new InvalidShowException to NameParser, Removed isGoodResult search check and now attached parsed result show objects and compare them against the show object we use to search with instead. 2014-07-06 06:11:04 -07:00
echel0n
a3a3777d33 Fixed blackAndWhitelist for anime release groups. 2014-07-06 04:12:16 -07:00
echel0n
9428dfadf6 Merge pull request #625 from adam111316/anime
Add support for animes with a different series name per tvdb season
2014-07-06 03:24:54 -07:00
echel0n
f7502294c5 Added in better error handling for tornado web server.
Fixed HTTPS issues, web root issues should now be corrected as well.
2014-07-05 17:57:43 -07:00
echel0n
93e2e93b63 Fix for edit shows and add shows. 2014-07-05 16:47:20 -07:00
adam
ad68518e10 Add support for animes with a different series name per tvdb season 2014-07-05 20:42:54 +08:00
e5e4eaeacd39c5cfba4d7c852c48277ae50331e6
bf52b882d4 Minor GUI and console fixes 2014-07-05 16:14:55 +10:00
echel0n
04f6b8fc8b Fixed web_root issues, Play videos directly from browser when displaying show via HTML5/JS ** WORK IN PROGRESS ** 2014-07-03 16:51:39 -07:00
echel0n
88709225c9 Merge remote-tracking branch 'origin/dev' 2014-07-03 14:59:55 -07:00
echel0n
c3a13814f1 PEP8 Cleanups 2014-07-03 14:25:30 -07:00
echel0n
c34442f5c1 Notify on update for notifiers via email has been disabled for now till we re-write the email notification code better, fixed a few small errors here and there. 2014-07-03 14:04:26 -07:00
echel0n
20456fde6b Regex order of placement in list now taken into account when scoring matches. 2014-07-03 13:44:34 -07:00
echel0n
c7f3a166a4 Merge remote-tracking branch 'origin/dev' 2014-07-03 10:34:23 -07:00
echel0n
56e2c28bad SickRage now uses a internal name cache comprised of (showlist, scene exceptions, scene names) used to search and create show objects from which is needed for parsing search results.
Scene exceptions now uses a internal cache for scene exceptions and scene season exceptions, helps reduce overhead to DB and performs faster lookups when making scene exception requests.
2014-07-03 10:30:15 -07:00
echel0n
f0146f728e Lowered CPU usage even further, re-wrote daemonizer code for startups, removed misc unrequired functions from providers. 2014-07-03 07:07:07 -07:00
Mark Rawson
8f19e84a80 Add global option to disable SickRage update notifications via notifiers. 2014-07-03 08:16:15 +01:00
Mark Rawson
6aa149752b Send notifications to all enabled notifiers upon SickRage update. 2014-07-03 07:43:48 +01:00
echel0n
847a172462 Merge remote-tracking branch 'origin/dev' 2014-07-02 13:43:47 -07:00
echel0n
36e12a5d4d Fix for hdtorrents uid issues. 2014-07-02 13:39:27 -07:00
echel0n
ddd9376faf Fix for torrentday uid issues. 2014-07-02 13:38:05 -07:00
echel0n
d6431570f1 TPB season pack searches fixed 2014-07-02 13:06:29 -07:00
echel0n
cadb2dba72 Testing fix for post-processing and search issues. 2014-07-02 12:36:00 -07:00
echel0n
ae398031fd Merge remote-tracking branch 'origin/dev' 2014-07-02 11:52:55 -07:00
echel0n
12ac388dc2 Fixed startup/restart/shutdown issues on Windows, Linux, FreeBSD platforms tested.
Fixed for updating issues.

Fixed high cpu and memory usage.
2014-07-02 11:51:14 -07:00
echel0n
1fc909299d Fixed start/restart/shutdown issues including any issues with daemonizing. 2014-07-01 06:08:10 -07:00
echel0n
130daf7d0a Added trending shows feature, this allows you to choose from a wide selection of popular/trending shows with rating stats and easily add the show into SR by simply clicking the plus sign. 2014-07-01 01:49:12 -07:00
nielsenj
6d8e79c78a Adds custom RSS provider ratio setting.
Adds ratio setting to the custom RSS provider.
2014-06-30 22:48:49 -07:00
echel0n
83e1da31a7 Merge remote-tracking branch 'origin/dev' 2014-06-30 12:07:51 -07:00
echel0n
9136df2ae5 RSS Feeds purges every 7 days now. 2014-06-30 12:02:45 -07:00
echel0n
7bff5a246f Fix for rss feeds clearcache 2014-06-30 11:57:16 -07:00
echel0n
a1cef0b958 Added in context to aid in garbage cleanup to help reduce memory usage. 2014-06-30 10:48:18 -07:00
echel0n
2e8c8a262f Fix for api builder. 2014-06-30 09:37:42 -07:00
echel0n
a16bf8ca2c Fix for anidb errors 2014-06-30 09:21:21 -07:00
echel0n
75f69396d4 Reverted some changes. 2014-06-30 08:57:32 -07:00
echel0n
0e665cbbb2 Fix for scene exceptions error. 2014-06-30 06:36:20 -07:00
echel0n
4575c58348 SQL Query performance gains added and memory footprint reduced. 2014-06-30 06:18:02 -07:00
echel0n
b19aafb807 Memory cleanup in sql db routines for mass actions. 2014-06-30 04:55:49 -07:00
echel0n
5e507b3849 More memory reductions and cleanups 2014-06-30 04:44:36 -07:00
echel0n
adb4715b3e Removed all scene exception memory caches, fetches data from DB now directly. 2014-06-30 04:09:55 -07:00
echel0n
0a80d0c3dd Fixed memory leak in scene exceptions. 2014-06-30 03:20:49 -07:00
echel0n
18d7884c2d Reverting previous changes 2014-06-30 02:42:04 -07:00
echel0n
33a28d20a3 Cleanup leftover fd sockets on restart 2014-06-30 02:38:07 -07:00
echel0n
9d5b2da19e Testing fix to help reduce memory footprint. 2014-06-30 02:23:32 -07:00
echel0n
e7b5a2c6c0 Test fix for webroot issues. 2014-06-30 01:15:10 -07:00
echel0n
508c094f48 Fixed robots.txt method. 2014-06-30 01:12:41 -07:00
echel0n
bc2016a3ac Merge remote-tracking branch 'origin/dev' 2014-06-30 00:01:18 -07:00
echel0n
c478d45c36 Maintenance tasks are no longer blocking startup.
Scene exceptions now perform a lastRefresh check so they don't constantly update for no reason.
2014-06-29 23:59:27 -07:00