Commit graph

291 commits

Author SHA1 Message Date
echel0n
088e32b117 Fixed Web API to work with new tornado code! 2014-06-15 23:19:14 -07:00
echel0n
d8358882de Fixed issues with restarts and updates. 2014-06-15 22:45:52 -07:00
echel0n
23e2a483b5 Fixed API code to work with tornado. 2014-06-15 14:45:09 -07:00
echel0n
20e2ae2f86 Improved tornado async routines and shutdown routines. 2014-06-15 04:08:41 -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
04681b3297 Fixed basic auth issues. 2014-06-14 21:38:13 -07:00
echel0n
d73cc1cbbd Replaced cherrypy with tornado which helped resolve our memory leak issue. 2014-06-14 20:56:15 -07:00
echel0n
a742c27f09 Fixed for adding new shows 2014-06-12 13:38:59 -07:00
echel0n
2546a5199f Test fix for home page none type error 2014-06-12 11:30:59 -07:00
Nils
166dffeb5a Merge pull request #582 from bikemike222/add_cookies_rss
Added cookie support to custom torrent provider
2014-06-09 00:20:37 +02:00
echel0n
89ad4bccc3 Moved show season/episode cache to outside of the show class and turned it into a global to avoid circular ref that may memory leak. 2014-06-07 21:20:59 -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
2c0f3a3dc3 Added thread locking for queues.
Fixed imdbinfo issues.
2014-06-07 11:36:26 -07:00
echel0n
cfcc35ebcc Upgraded IMDBpy and improved performance of it.
Fixed TVDB Indexer API issues.
2014-06-07 08:33:18 -07:00
echel0n
08d8beffa4 Misc fixes and code cleanups. 2014-06-07 05:36:50 -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
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
dfe9619ddd Fix for SSL support, reverted back to CherryPy 3.23 as 3.30 is borked for SSL. 2014-06-05 21:24:43 -07:00
echel0n
4c9da4f448 Fix for custom scene numbering, now able to correct numbering or remove it.
Fixed show force-update and mass update to properly force updates on the show including xem numbering.
2014-06-05 17:53:34 -07:00
echel0n
9e4ec2cfb8 Fix for importing existing shows being set to anime when there not anime shows causing parsing errors when trying to parse episode files from disk. Please perform a mass reset of shows marking the ones that are not anime so that this issue is fixed for when it does its next show refresh. 2014-06-04 19:47:40 -07:00
echel0n
8f3469cce7 Fix typo in last commit 2014-06-04 00:35:43 -07:00
echel0n
d09f2a2276 Fix for scene numbering not being set properly during a mass edit 2014-06-04 00:34:35 -07:00
echel0n
0713cb4039 Another small tweak of code for edit show function. 2014-06-04 00:21:21 -07:00
echel0n
5beb45d29d Small correction for mass update fix. 2014-06-04 00:16:43 -07:00
echel0n
272ecd0ab8 Fix for mass updating not actually changing any show options when editing 2014-06-04 00:11:56 -07:00
JackDandy
2e387b1ce8 Expose "Date Style"... "Use System Default" only when FuzzyMoment is off.
If the Date Style "Use System Default" is selected and FuzzyMoments is clicked on, then an appropriate Date Style is chosen from explicit defaults.  This change prevents issues where moments() cannot interpret or guess locale date formats.
2014-06-03 18:43:37 +01: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
9847682781 Changed theTVDB indexer api keys to SickRage's, another nice catch there zoggy! 2014-05-31 23:54:57 -07:00
echel0n
2c37523ab7 Fix for manual anime searches 2014-05-30 07:36:06 -07:00
echel0n
9b78e3dc5e Fix for scene exception and scene numbering updates when editing a show. 2014-05-30 04:52:37 -07:00
echel0n
997896a540 Fix for transactionals and None Types in sql lists 2014-05-30 04:42:31 -07:00
echel0n
db6cf0b22b Fix for daily searcher NoneType error.
Added XEM icon to show display, indicates if show has scene mapping available or not plus clicking on the icon will take you to the XEM mapping page.
2014-05-30 04:06:51 -07:00
echel0n
70e7f1bfce Fixed issues with scene numbering being overwritten by ep objects.
Converted more object saves to database to use transactionals, better performance.
2014-05-30 03:01:49 -07:00
echel0n
1abef89b29 Scene numbering now updates every 1 hour or is forced when needed so that searches always have up-to-date information before hand. 2014-05-30 00:51:06 -07:00
echel0n
a2439c8c64 Added ability to mass set shows to search by scene numbering. 2014-05-30 00:50:45 -07:00
echel0n
a92de48aec Added new show option that allows you to choose if you want to search via scene numbering or indexer numbering.
Scene numbers and scene absolute numbers now only display if prooper show options are selected.

Scene absolute numbers are now able to be set by user.

Fixed issues with user set scene numbers not correctly applying to episode objects.
2014-05-30 00:50:27 -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
34da3f53d8 Added Black and White list for release groups for anime shows.
Fixed anime show list splitter.

Added check for anime shows and providers so we don't perform searches with a provider that doesn't support the type of show genre we are searching.
2014-05-27 03:09:57 -07:00
echel0n
840f7c7bdf Fixed issue with daily search progress monitoring. 2014-05-26 14:09:14 -07: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
Bike Mike
89c944ec94 Added cookie support to custom torrent provider 2014-05-25 19:19:45 +02: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
736cb7c738 Fixes issues with ABD shows searching for complete seasons and returning zero results. 2014-05-22 22:02:49 -07:00
echel0n
80651447ae Update webserve.py 2014-05-22 10:01:03 -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
d6a942698a Fixes errors caused by duplicate newznab providers 2014-05-20 13:51:54 -07:00
echel0n
fa11b4ef3a Removed some sleep timers to improve overall speed of sickrage. 2014-05-20 11:01:51 -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
ab8d9e6405 Fixed issues with queues.
Tweaked code to get more performance from it.
2014-05-19 18:04:23 -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
854de69683 Fixed find propers.
Added ability to force a find propers search.
2014-05-19 10:40:25 -07:00
Björn Dahlgren
3da3121395 Fixed missing parameter skip_removed_files 2014-05-18 20:57:50 +02: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
32cf17c638 Fixed error when saving blank ratio's 2014-05-17 11:42:37 -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
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
22ec1a4418 Fixes issues with provider settings being loaded and unicode data when it should of been stripped off. 2014-05-17 06:10:52 -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
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
echel0n
a6d30ac425 Fixed potential backlog issues.
Fixed potential failed download item issues.
Added in more detailed logging for backlogs.
2014-05-15 21:55:56 -07:00
echel0n
a39c881cb3 Complete re-write of backlog search.
Fixed air-by-date backlog searches.
2014-05-15 20:39:46 -07:00
echel0n
1aff31eaec Complete Backlog searches can now be forced from manage search menu. 2014-05-15 15:06:13 -07:00
echel0n
8ac8150eb3 Fixed issues with search results not being snatched when searching shows with custom quality settings.
Added option to force a RSS update under Manage searches.

Added status of rss updates and daily searches to be displayed at bottom of pages.
2014-05-15 14:43:57 -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
Nils
e0558ea4cd Merge pull request #558 from Zwooosh/dev
Don't add portnumber when restarting with reverse proxy enabled
2014-05-14 17:08:00 +02:00
JackDandy
c33b92866d Add new feature, set file date to episode aired date. 2014-05-14 13:33:36 +01:00
Zwooosh
5dae4c86c9 Merge remote-tracking branch 'upstream/dev' into dev
Conflicts:
	SickBeard.py
2014-05-14 13:17:00 +02:00
echel0n
51ff041389 Fix for writing new NFO files for updating Indexer info, prevents constant writing on refreshes of shows 2014-05-13 21:14:54 -07:00
echel0n
fab8329e23 Fixed provider ratio issues, not can be set via .1 increments 2014-05-13 10:36:10 -07:00
Zwooosh
4f43349dee Don't add portnumber when restarting with reverse proxy enabled 2014-05-13 11:58:27 +02: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
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
echel0n
448a45cf40 Fix for complete season snatches.
Removed multi-threading option from general config
2014-05-11 07:40:24 -07: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
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
mythern
06f5f3a9ae Moved changes to dev 2014-05-09 03:51:58 +02:00
Peter Maciocia
77e9988980 Fix for #315, backport xbmc always on option
fix deleted line
2014-05-08 17:44:11 +01:00
Nils
0a14caa38e Merge pull request #469 from WebSpider/dev-home_manage_torrents
Adds Manage Torrents button to Home screen
2014-05-08 17:30:09 +02:00
Nils Vogels
514d477a32 Better detection when to show the button 2014-05-08 17:23:26 +02:00
Nils Vogels
e596b7370d Add "Manage Torrents" button to home screen 2014-05-08 17:09:12 +02: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
8ec7e69fac Add Boxcar2 Notifications 2014-05-07 15:23:06 +01:00
echel0n
fc94243546 Fixes backlog and manual searches.
Fixes season pack and single/multi episode searches.
Fixes multi-threading issues.
Fixes incorrect status being reported for manual searches.
Fixes quality being returned as N/A all the time for torrents.
2014-05-07 00:50:49 -07: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
Prinz23
3e16493802 Remove old obsolete code, that could course an error 2014-05-05 19:32:34 +02:00
Nils
42218d1d04 Merge pull request #384 from WebSpider/dev-namechange
Changing repo name to SickRage
2014-05-05 14:52:39 +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
Nils Vogels
556139ea69 Changing repo name to SickRage
Updated incorrectly changed reference to Synology DS issue back to original
2014-05-05 11:06:15 +02:00
echel0n
afdbc44a47 Fixes issue #374 2014-05-04 23:34:59 -07: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
b349bab569 Fixes more issues that were still present for season pack searches and air-by-date shows. 2014-05-03 22:36:54 -07:00
echel0n
bb4ef18fe3 Fixes issue #337 2014-05-03 20:52:47 -07:00
echel0n
cae11c0f06 Fixes for scene numbering in displayShows 2014-05-03 03:09:46 -07:00
echel0n
33be93288a Last set of fixes to correct this problem 2014-05-03 02:58:04 -07:00
echel0n
2a04c13b91 Another small typo 2014-05-03 02:31:40 -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
Nils
45f2d72314 Merge pull request #283 from WebSpider/dev-email_notify_order
Changing sorting order for email notification lists, closes enhancement request in #271
2014-05-01 14:14:00 +02:00
Nils Vogels
71cd57927f Changing sorting order for email notification lists to alphabetical, ascending 2014-05-01 14:09:12 +02:00
echel0n
20bc92650b Fix for issues relating to adding existing shows and nothing happens. 2014-05-01 03:00:05 -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
880e923714 Fix for issue #255, metadata saving for xbmc12+ 2014-04-30 18:29:13 -07:00
Prinz23
9d61d1cab1 Bugfix for logic error in sql queue for ical (paused shows)
Fixes: https://github.com/echel0n/SickBeard-TVRage/issues/243
2014-04-30 15:03:56 +02: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
e0f52e1045 Merge pull request #162 from sammy2142/master
Adds seed time and seed ratio to utorrent client
2014-04-28 14:58:59 -07:00
Prinz23
9221067b35 Fix NoneType exception in episode['description']
Change from All-Day Event to Time Event
2014-04-28 20:22:08 +02: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
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
fb0339a274 Fix for sql mass add issues.
Fix for KAT and TPB providers.
Fix for Newznab providers.
2014-04-27 06:46:08 -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
ceb3c6efbc Merge pull request #98 from WebSpider/fix_proxy_setting
Typo in PROXY_SETTING variable
2014-04-27 04:04:10 -07:00
echel0n
6967a8faef Code cleanup 2014-04-27 03:59:00 -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
57340651f4 Added INDEXER_DEFAULT to config for when a default indexer is needed 2014-04-27 18:17:28 +10:00
Nils Vogels
4970697904 Typo in PROXY_SETTING variable
Closes #91
2014-04-26 23:35:36 +02: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
2b57fce5e6 Resolves issues with saving notification settings and http(s) setting 2014-04-25 15:05:34 -07:00
echel0n
a71ed25b19 Fixes issues with searches and importing existing shows 2014-04-25 14:22:31 -07:00
echel0n
6d3f66aa4d Fixes issue with proxy setting and config not saving. 2014-04-25 04:11:52 -07:00
echel0n
08f67e09de Fixed bug in backlog search for wanted and failed statuses, was improperly loading our segment lists and dicts. 2014-04-25 01:17:32 -07:00
echel0n
d8428b515d Small fix in backlog UI message 2014-04-25 00:47:17 -07:00
Peter Maciocia
5007b806a5 fix indent 2014-04-24 18:41:44 +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