Commit Graph

259 Commits

Author SHA1 Message Date
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
echel0n f0bd8e5e4a Fixes issues with processTV failed downloads and HDBits auth info 2014-05-19 13:06:32 -07:00
echel0n de20d13c61 Added per-provider option 'backlog only' which allows you to disclude any provider from the daily search but still use it for backlogs, currently working for torrents only and will add to nzb providers later on today.
Cleaned up details on search options for providers and made it look nicer
2014-05-18 09:39:30 -07:00
Nils Vogels 3a08af6661 Merge commit '8c449e2' into dev 2014-05-18 00:16:13 +02:00
Nils Vogels 8c449e27d2 Add option to skip detection of removed files
Adds config option in Config > Postprocessing
2014-05-18 00:14:31 +02:00
echel0n 4164f00fc8 Fix for restarting issues and slow loading of shows 2014-05-17 12:18:05 -07:00
echel0n 55f27c4f40 rss cache updates and daily search have been joined into one function.
fixed more issues of missing vars causing saving of config issues.
2014-05-17 11:14:48 -07:00
echel0n 04213bebf2 Fixed bug that was causing issues with saving config.
Fixed bug that was causing searches to double up on there results.
2014-05-17 10:30:23 -07:00
echel0n 0afdeb3c1f Added ability to disable daily search at startup.
Fixed search frequencies.
Changed HDBits to use requests json parser.
2014-05-17 09:18:50 -07:00
echel0n be001c47ae Fixed issues for unicode problems for encrypted passwords. 2014-05-17 07:57:47 -07:00
echel0n a3e06b965f Added in CPU Throttling option under general config -> advanced.
Fixed issues with passwords and unicode chars.
Fixed issue with usenet_retention variable not being saved or set.
2014-05-17 04:40:26 -07:00
echel0n 0b9b6228ae Fix for issues with fallback search option.
Fix for issues with passwords.
2014-05-17 03:01:09 -07:00
echel0n 58e0b58a0f Added a timezone display option so that you can either display the date/time via your local timezone or the show's network timezone. 2014-05-17 00:30:21 -07:00
echel0n 5453c8c6df Fix for TPB proxy issues.
Fix for save config issues.
2014-05-16 23:38:00 -07:00
echel0n e96035ff4f Added per-provider options search mode and search fallback.
Search mode allows you to choose season packs only or episodes only which controls how backlogs search for data.

Search fallback if selected will attempt a 2nd search this time using the alternative search mode to see if it can get results if the previous attempt failed.

Provider settings are now read and stored dynamically instead of always having to retrieve them by there static names, this will allow for dropping in new provider modules easier to intergrate with existing options already present.

Fixed search code to not perform dupe searches by mistake.

Cache stores a list of shows we have rejected so that next time around we don't have to process them to know we don't like em.
2014-05-16 22:29:44 -07:00
Nils ca913d965b Merge pull request #567 from JackDandy/CheckPropersEvery
Add new feature, check propers interval.
2014-05-15 23:39:23 +02:00
echel0n e20adcfab8 Added daily searcher to check for and snatch daily new releases for current active watched shows. User settable interval can be found in search config menu plus forcing a daily search can be done from Manage Searches menu.
Fixed issues with subliminal subtitle downloader.
2014-05-14 21:16:46 -07:00
JackDandy fe74efbf23 Add new feature, check propers interval.
Allow user to select an interval between searches for propers.
2014-05-14 23:23:59 +01:00
JackDandy c33b92866d Add new feature, set file date to episode aired date. 2014-05-14 13:33:36 +01:00
echel0n fab8329e23 Fixed provider ratio issues, not can be set via .1 increments 2014-05-13 10:36:10 -07:00
echel0n cd77da5b60 Small typo fix 2014-05-13 08:45:29 -07:00
echel0n dd16da1a5f Fixed cache issues.
Fixed air-by-date issues
2014-05-13 08:44:31 -07:00
echel0n b9310444e5 Fix for failed download issues.
Fix for auto-update improperly restarting.
2014-05-13 04:16:32 -07:00
echel0n e353cd13c7 Added ability to turn RSS Cache updates on startup and let it start when its interval is reached and continue from there. This can be set from same place you set backlog startups. 2014-05-12 22:48:00 -07:00
echel0n a77d8c1fcb Fixed for Backlog startup feature. 2014-05-12 06:12:15 -07:00
echel0n 8f2663da55 Added in seperate interval settings for backlog and rss updates 2014-05-12 03:34:18 -07:00
echel0n 31297b9069 Added RSS Cache updater with user-settable interval from config section of web interface, updates the cache so that searches can be more instant when looking for snatches.
Updated backlog search code to re-set skipped or missed episodes to wanted.
2014-05-12 01:52:14 -07:00
echel0n 7673cd5cc9 Fix for torrent ratio's, switched them from being stored as strings to integers. 2014-05-12 00:05:33 -07:00
Nils Vogels 91729bdab7 Adding in Mede8er metadata (backport from Midgetspy)
Original commit by itofzo midgetspy/Sick-Beard@34bf07d487
2014-05-12 01:15:24 +02:00
Nils Vogels 48b4abffa5 Changing default auto-update to disabled, while we're pushing many updates 2014-05-12 00:12:19 +02:00
echel0n e977750702 Merge branch 'origin/master'
Conflicts:
	sickbeard/__init__.py
2014-05-11 05:55:12 -07:00
echel0n 1398c38275 Fix for manual and backlog download/search issues.
Removed multi-threading as it was more problems then usefull for now.

Added in match & snatch, any quality from initial quality settings gets downloaded first and does not continue searching, if archive qualities exist it'll stop once it hits max quality from said list.
2014-05-11 05:51:39 -07:00
tlex c62e34c601 Forgot and int() 2014-05-11 10:42:53 +03:00
tlex d0105a2f6a Fixed a couple of bugs related to deluge 2014-05-11 10:31:38 +03:00
sammy2142 57737feb5c Adds Per Provider Seed Ratio 2014-05-10 12:50:07 +01:00
Nils 0b81e63bba Merge pull request #471 from pmaciocia/xbmc_always_on_315
backport: xbmc always on option - fix #315
2014-05-08 23:39:59 +02:00
echel0n 466eba7fa0 Fixed issue #472 2014-05-08 11:16:45 -07:00
Peter Maciocia 77e9988980 Fix for #315, backport xbmc always on option
fix deleted line
2014-05-08 17:44:11 +01:00
Nils 6dccea093d Merge pull request #450 from rpluto/dev
Add Boxcar2 Notifications
2014-05-08 17:02:14 +02:00
echel0n 2a4f8780e2 Fixed issues with multi-threading.
Fixed issues with snatching air-by-date shows.
Fixed issues with naming patterns.
Fixed issues with invalid literals.
Fixed issues with country codes missing and causing web errors.

Fixed so many issues I can't write them all done ... :)
2014-05-08 07:04:01 -07:00
rpluto 704281ab58 Boxcar2 Notifications now working 2014-05-07 15:46:42 +01:00
rpluto 682644b00a Think i found the issues about settings load 2014-05-07 15:31:23 +01:00
rpluto 8ec7e69fac Add Boxcar2 Notifications 2014-05-07 15:23:06 +01:00
Nils Vogels 932cffac24 Add saving config option for BACKLOG_STARTUP 2014-05-07 14:54:52 +02:00
Nils Vogels d76c9d1c3b Implemention option to start/stop full backlog thread 2014-05-07 01:14:33 +02:00
echel0n fb71c6139e Added in optional multi-threading for all search queues, can be set from General->Advanced config section.
Fixed issue #417 and #335
2014-05-06 04:29:38 -07:00
Nils Vogels b177c1ade2 Merging changes from Prinz23, PR#156 2014-05-06 00:48:28 +02:00
Nils 7ebecc0f24 Merge pull request #360 from nightexcessive/feature/reverse-proxy
Add proper handling for reverse proxies
2014-05-05 12:41:44 +02: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
Nils Vogels 7c5d2b3170 Showing current commit on infopage 2014-05-05 00:49:40 +02:00
Nils Vogels fde5ce4c58 Correcting typos in prefer_season_download feature 2014-05-05 00:20:23 +02:00
Michael Johnson 02382d2716 Add proper handling for reverse proxies
Basic configuration options and filter

Add configuration options to template

Woops, we can't use filters

Qualify the name 'Tool'

Remove leftover 'self' argument
2014-05-04 18:04:04 -04:00
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 afde3b4c28 Fixes issues #333 and problems with converting str to int via prettyName func 2014-05-03 15:29:00 -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 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 bb3e609565 Fix for default sports naming pattern issue #269 2014-04-30 18:36:23 -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 96f543aa29 Added debug option to config.ini to allow logging of debug messages to console output. 2014-04-28 16:04:10 -07: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
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 6d55c4be00 Fixed missing UPDATE_FREQUENCY from globals. 2014-04-27 08:23:34 -07:00
echel0n 864af297c6 Fixes interval setting for auto updates and check version, will set the interval in realtime and take effect right away. 2014-04-27 08:02:34 -07:00
echel0n b64f12e940 Added in min_update_frequency 2014-04-27 05:22:48 -07:00
echel0n 1cfe91eb80 Fix for update frequency ... again! 2014-04-27 05:18:18 -07:00
echel0n b0ec12e421 Fixes issue with update frequency.
Fixes backlog search issues with newznab providers.
2014-04-27 05:13:46 -07:00
echel0n 2f0fa9a4ce Making frequency of version update checker (CHECKVERSION) configurable
Conflicts:
	sickbeard/__init__.py
2014-04-27 04:32:02 -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
joshjowen 5d9c84a15e Update __init__.py 2014-04-27 18:49:30 +10:00
joshjowen 57340651f4 Added INDEXER_DEFAULT to config for when a default indexer is needed 2014-04-27 18:17:28 +10:00
Nils Vogels a1d2c3bcb1 Making frequency of version update checker (CHECKVERSION) configurable
Adds an option in Config > General > Misc called "Update Frequency"

Closes #54
2014-04-26 23:24:29 +02:00
Nils Vogels a5b85dcc1c Adding SpeedCD provider
Cherrypicking from mr-orange's fork
This is 30d8807d74

Closes #47
2014-04-26 15:48:37 +02:00
echel0n 6d3f66aa4d Fixes issue with proxy setting and config not saving. 2014-04-25 04:11:52 -07:00
Peter Maciocia ddaa5bb5e6 remove default proxy setting, fix indent 2014-04-24 18:08:24 +01:00
SickBeard Custom User 484dba0de8 proper settings for proxy 2014-04-24 17:01:20 +01:00
echel0n f8ec897010 Lightning fast indexer searches now!
Version checks reverted back to every 12 hours.
2014-04-24 04:52:44 -07:00
echel0n f58fb27ada ANother test 2014-04-23 00:57:00 -07:00
echel0n e715ab6940 Testing auto-updater 2014-04-23 00:49:19 -07:00
echel0n d6927f1c0d Testing auto-updater 2014-04-23 00:47:42 -07:00
echel0n b024fe3e3b Testing again auto-updater 2014-04-23 00:26:10 -07:00
echel0n 3c215d8cde More testing for auto-updater code 2014-04-23 00:22:50 -07:00
echel0n b50fa0aa07 Testing auto-update feature ... 2014-04-23 00:17:43 -07:00
echel0n 3f67782f38 Added in auto-updater feature, this will allow you to optionally have SickBeard run a version check in the background constantly searching for a new version release on GIT and when found it will automatically download and install then restart. 2014-04-23 00:12:51 -07:00
echel0n e171aa1c10 Conditional check bugfixes 2014-04-02 07:23:17 -07:00