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

242 Commits

Author SHA1 Message Date
Adam
a38229d04f Change minimum backlog frequency to a more acceptable value 2014-08-25 15:39:21 +08:00
Adam
ef4782ccf2 Third fix for zip updating and checkouts... 2014-08-18 08:17:23 +08:00
balogg
b884f85212 fix for multi ep format setting load 2014-08-17 19:30:03 +10:00
Adam
48b79937b8 Possible fix for updating when using zips from github 2014-08-17 12:14:21 +08: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
a602d213a5 Merge pull request #708 from adam111316/fix_trakt_config
Fixes for trakt settings not saving
2014-08-12 18:31:28 -07: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
f4c0893d32 Fixes for trakt settings not saving 2014-08-11 19:29:35 +08:00
Adam
d9f073bbd0 Fixes resetting of auto postprocessing timer config 2014-08-11 18:19:48 +08:00
Jamie
18da621016 Trakt method, error checking, remove series 2014-08-09 00:07:17 +01:00
echel0n
39fe8e8477 More fixes for checkout/updating issues. 2014-07-30 17:19:44 -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
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
cef53beee0 PEP* Cleanups and added timeouts for threads when shutting down or restarting. 2014-07-27 18:01:26 -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
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
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
echel0n
77feb5a74c Added 10sec timeout for subtitlesFinderScheduler on shutdowns 2014-07-21 19:31:58 -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
1b84c6d281 Fix for subtitle processing. 2014-07-19 15:32:28 -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
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
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
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
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
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
root
6304c5ed17 Add TorrentBytes provider 2014-07-10 10:15:44 -04: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
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
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
adam
e6eb1256bf Fix for 'add to my list' option defaulting to on upon a restart. 2014-07-07 19:23:59 +08: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
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
echel0n
4575c58348 SQL Query performance gains added and memory footprint reduced. 2014-06-30 06:18:02 -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
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
echel0n
96fa0953e3 Fixed issues with popup notifications. 2014-06-29 20:58:34 -07:00
echel0n
0c57676aed Updated tornado source code.
Created custom class for rss feed parser.
2014-06-29 03:05:33 -07:00
echel0n
cafdc57b2c Testing fix for redirect issues and blank pages.
Fix for create pid issues.
Fix for creating index on tv provider cache tables.
2014-06-28 22:54:29 -07:00
echel0n
ca60203e9e Test #3 for blank pages.
Syncs show library with trakt.tv show library on startup.
Adds/Removes shows individually to/from trakt.tv library.
Added use_recommended feature to trakt.tv notifier config page.
2014-06-28 20:28:00 -07:00
echel0n
386355e130 Updates/Restarts now use the same process instead of spawning a new one so the PID remains the same.
Fixed issue for restarts/updates on windows.
2014-06-23 08:18:01 -07:00
echel0n
7e0bb651b2 Database now closes connection after each query and reconnects if closed to ensure no more connection and locked database problems.
Fixed more internal 500 errors.
2014-06-21 15:46:59 -07:00
echel0n
95e928bfcb Fix for PID file: /tmp/sickbeard.pid already exists during auto updates 2014-06-19 10:36:31 -07:00
echel0n
6e3f52c6f4 Merge pull request #609 from JackDandy/refactor_scheduler_and_ports
Refactor scheduler and upstream ports.
2014-06-19 09:46:46 -07:00
echel0n
d5550288fc Merge pull request #608 from lennyk/nfo_rename_option
Option to NOT rename .nfo to .nfo-orig
2014-06-19 09:45:34 -07:00
JackDandy
bf99164978 Refactor scheduler and upstream ports.
Move start time check from properFinder and showUpdater into scheduler.
Add show how long to next propers search at end of each run.
Change proper finder and show updater to silent thread logging.
Change Scheduler runImmediately to run_delay.
2014-06-19 16:38:15 +01:00
oldskool
37c3354325 cherry-pick a Sickbeard pull request add an option to NOT rename .nfo to .nfo-orig
from oldskool:nfo_orig
credit to oldskool

Fixing issue 2404: Option to NOT rename .nfo to .nfo-orig

Conflicts:
	data/interfaces/default/config_postProcessing.tmpl
	sickbeard/__init__.py
	sickbeard/postProcessor.py
	sickbeard/webserve.py
2014-06-18 12:52:10 -07:00
Mark Rawson
764be940ac Add UI option to input users own Pushover API key 2014-06-17 21:37:09 +01:00
echel0n
327df6682e Updated tornado to latest stable code, fixes issues with auto-reload 2014-06-16 21:54:00 -07:00
echel0n
2ac1c5fdd5 Fixed forced updates to wait for auto-reload instead of performing a restart. 2014-06-16 05:31:57 -07:00
echel0n
dccf371ebd SSL issues fixed.
UI Notifications fixed.
Auto-updating option fixed to now work with auto-reload feature.
2014-06-16 05:19:07 -07:00
echel0n
489a181cdb Auto-reloads app on code changes automatically detected from git.
Fixed issues with basicauth/cookies and login page.
Parse results now displayed all the time.
2014-06-16 03:44:33 -07:00
echel0n
d8358882de Fixed issues with restarts and updates. 2014-06-15 22:45:52 -07:00
echel0n
4676c2b7b1 Testing update/restart fix 2014-06-15 15:07:27 -07:00
echel0n
7d52d079fa Fixes more issues that were preventing proper shutdowns, restarts, and upgrades. 2014-06-15 12:11:21 -07:00
echel0n
fa01711192 IOLoop tasks are now started and stopped via regular start and halt sickrage functions allowing us to gracefully exit on shutdown or restart. 2014-06-15 06:59:51 -07:00
echel0n
acca01eb90 Fixed shutdown to completely stop and close IOLoop. 2014-06-15 06:44:39 -07:00
echel0n
af6cd334a0 Moved Tornado IOLoop to main() to resolve shutdown issues plus we now use IOLoop to control checks for startup tasks and background commands. 2014-06-15 05:43:53 -07:00
echel0n
20e2ae2f86 Improved tornado async routines and shutdown routines. 2014-06-15 04:08:41 -07:00
echel0n
149d7b29df Final fixes for proper shutdown of tornado 2014-06-15 01:20:18 -07:00
echel0n
abff43f568 Improved startup/shutdown of tornado.
Fixed issues with notifications related to tornado.
2014-06-15 00:16:55 -07:00
echel0n
d73cc1cbbd Replaced cherrypy with tornado which helped resolve our memory leak issue. 2014-06-14 20:56:15 -07:00
echel0n
2546a5199f Test fix for home page none type error 2014-06-12 11:30:59 -07:00
echel0n
013f9a2134 Reverted episode cache changes 2014-06-11 07:14:29 -07:00
echel0n
3d062b3510 Fix for import issue with episodeCache 2014-06-07 21:32:06 -07:00
echel0n
d00d55fdfc Modified DB code to close its connection if right after its finished with it, helps performance-wise and should resolve locked db issues as well. 2014-06-07 14:32:38 -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
4df31bccee PublicHD removed till further notice. 2014-06-06 13:48:25 -07:00
echel0n
2ab436b764 Fix for saving default options when adding shows.
Fix for default provider not being passed in properly.
2014-06-01 20:43:37 -07:00
echel0n
4a4eec0a9e Fix for restart issues 2014-05-29 02:21:26 -07:00
echel0n
6fc93be7b5 Fix for restart spawning more then one process of SickRage 2014-05-29 01:00:13 -07:00
echel0n
42b621103f Fix for restart and PID issues. 2014-05-29 00:00:59 -07:00
Nils Vogels
9e455c424a Merge branch 'FuzzyMoments' of https://github.com/JackDandy/SickRage into JackDandy-FuzzyMoments 2014-05-28 00:17:24 +02:00
echel0n
c5f933e4c8 Fixed app performance issues from recent upgrades.
Fixed issues with manual searches not working.

Moved misc routine tasks to a proper schedualed thread that runs every 1 hour for updating network timezones, scene exceptions, and trimming failed history.

Forced misc routine tasks at startup to complete first before anything else runs, critical since this does our scene exception updates and internal scene cache loading which is needed before searches begin.
2014-05-26 13:16:07 -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
a350be339c Fix for issue causing issues loading and saving search providers 2014-05-23 09:35:01 -07:00
JackDandy
cf1d88343d Add feature to General Config to display fuzzy dates instead of absolute dates. Add feature to General Config to trim the leading number "0" shown on hour of day and date of month.
Affects UI dates on the Coming Episodes, Display Show, Manage > Backlog Overview, Home and History pages.

Widen the General Config tab widths and tweak, format and align some texts.

The many 'test date' variations in the General Config -> "Date and Time" drop down are useless during the month of May as both short and long styles are the same. Change the 'test date' to January 1 of the next year so short and long month styles are distinguishable.
2014-05-23 16:20:44 +01:00
echel0n
7391a6e454 App name change in code. 2014-05-23 05:37:22 -07:00
echel0n
b499e4b6db Fixed issues with per-provider torrent ratio settings, now can be left blank to default to client ratio setting. 2014-05-22 23:42:11 -07:00
echel0n
13462fbb67 Added user settable interval for autoPost-Processing to post-processing config section. 2014-05-21 13:26:24 -07:00
echel0n
63207ba93b Added global indexer timeout for adding shows. 2014-05-21 11:17:52 -07:00
echel0n
83d7e9fb69 Removed global seed ratio's 2014-05-20 09:27:52 -07:00
echel0n
9e1402057a Added in min seed and min leech options for torrent providers 2014-05-20 09:06:11 -07:00
echel0n
6a02edd7fc Added search options to NZB providers 2014-05-19 19:29:51 -07:00
echel0n
5f328eba5f Converted NZB providers to new dynamic config style format. 2014-05-19 19:14:06 -07:00
echel0n
a4c790eedc Fixes issues with skip removed files option.
Fixes issues with saving usenet providers.
2014-05-19 16:43:01 -07:00