Commit graph

2148 commits

Author SHA1 Message Date
JackDandy
2d858f452e Fix save option display freespace. 2018-01-26 10:45:07 +00:00
JackDandy
57851d63b7 Merge branch 'master' into develop 2018-01-26 10:38:01 +00:00
JackDandy
4bfca483af Fix saving config general. 2018-01-26 10:33:07 +00:00
JackDandy
0ead7771de Change improve the manage searches error stats UI and backend functions.
Add the improved error handling to torrent providers.
Change cache_db to always include db upgrade statements when running SG for the first time.
Change split newznab limit logic into a reusable function, hit_limit_update() and use in BTN prov.
Change tweak CSS to make things a little neater with button spacings.
Add the actual time when current limit will expire to the UI.
Change instead of terminology "errors", use "failures".
Change improve BTN error handling.
Change ensure provider name is output to log at times where it wasn't.
Change ensure failed request URLs and POST params are output to log.
Add time of last failure + type to should_skip log message.
Change code DRY and simplification for improved readability.
Change occurrences of "error" to "fail" for consistency.
Add tmr limit handling to omg and change log_failure_url level to warning.
Change log the failed URL when an API hit limit is reached.
Change "hit" to the more universally generic "tmr" - Too Many Requests.
Change Db columns containing "hit_" are renamed "tmr_"
2018-01-26 01:35:02 +00:00
Prinz23
f9cc6ed330 Add provider error table to page Manage/Media Search.
Add failure handling, skip provider for x hour(s) depending on count of failures.
Add detection of api hit limit reached.
Add failure count to omgwtfnzbs.
Change improve categories selection (manual search for example).
2018-01-25 20:48:24 +00:00
JackDandy
09d0157f67 Add option "Display disk free" to general config/interface page (default enabled). 2018-01-25 20:22:34 +00:00
JackDandy
c1b1b36c3f Merge branch 'master' into develop 2018-01-25 19:59:01 +00:00
JackDandy
4dea2ad022 Add config/general/web interface/send security headers (default enabled).
Change use bare minimum requests for all usenet_crawler search modes.
Change use RSS endpoint for usenet_crawler in cache mode.
Fix ensure remaining unicode shownames are correctly 'UTF-8' and url encoded.
Fix omgwtf test of invalid auth, issue when enabling propers, and updating cache.
Change refactor shownames list into reusable show_name_helper methods.
Add season specific naming exceptions to nzb + btn.
2018-01-25 19:49:28 +00:00
Prinz23
11dfd66efd Fix ensure url unicode shownames are correctly 'UTF-8' and urlencoded.
Refactor shownames list into generic provider method, reusable in multiple providers.
Add remove English at the end of release names (drunkenslug).
2018-01-25 16:14:39 +00:00
JackDandy
e16f30a43f Merge branch 'master' into develop 2018-01-19 00:44:59 +00:00
Prinz23
2f182860e5 Fix setting episode status when testing for if it should be deleted.
Restrict setting newly added old episodes to WANTED to the last 90 days, older are set to SKIPPED.
2018-01-19 00:39:48 +00:00
JackDandy
16965960db Merge branch 'master' into develop 2018-01-16 01:18:56 +00:00
JackDandy
9ba8a206e3 Remove provider TorrentVault. 2018-01-16 01:11:46 +00:00
JackDandy
302121503c Merge branch 'master' into develop 2018-01-15 17:37:29 +00:00
JackDandy
cf40431bfb Fix issue fetching data in a rare case. 2018-01-15 17:35:27 +00:00
JackDandy
a730f41d46 Add 'PB', 'EB', 'ZB', 'YB' to recognised output sizes. 2018-01-15 03:00:07 +00:00
JackDandy
1f057a4f3c Change improve media process to parse anime format 'Show Name 123 - 001 - Ep 1 name'. 2018-01-12 22:12:34 +00:00
JackDandy
c9802126d9 Add free space stat (if obtainable) of parent folder(s) to footer. 2018-01-09 23:47:36 +00:00
JackDandy
f628f26027 Merge branch 'master' into develop 2018-01-08 17:19:02 +00:00
Prinz23
e58436e85d Fix "Upgrade once" for wanted qualities.
Fix criteria selection for "Upgrade once" shows: manual searches and/or if episode is set to unwanted quality.
Add unit test of wantedQualities to common_tests.py
2018-01-08 17:16:11 +00:00
Prinz23
9f04beeabb Fix Events shutdown (a manual start-up is required after updating to this fix). 2018-01-04 16:47:44 +00:00
JackDandy
149ea890c6 Merge branch 'master' into develop 2018-01-02 15:37:55 +00:00
JackDandy
2536c4b7d8 Fix marking episode as to upgrade. 2018-01-02 15:35:33 +00:00
Prinz23
c4e227b583 Change improve core scheduler logic.
Add pause support to scheduler.
Add optional check_paused in scheduler that can be integrated into action classes.
Add check to config.py change events.
Change integrate check_paused into auto_post_processer, search_propers, subtitles.
Change rename _pause to _unpause to prevent confusion of meaning.
2017-12-27 18:01:00 +00:00
JackDandy
1cec88c5a2 Fix HD4Free provider. 2017-12-27 15:32:38 +00:00
Prinz23
6da32a5ed0 Add log message for not found on indexer when adding a new show.
Fix upgrade once ARCHIVED setting by postProcessor.
Fix determination of is_first_best_match.
Change improve smart selection of categories in manual and failed search modes.
Change refactor wantedQuality into own function that can be used in multiple places.
Change improve error resistance in neededQualities class.
Add log warning message if wantedQuality or eps_aired_in_season is missing for search.
Add check backlogitem for wantedQuality and add if missing.
Add use wantedQuality list in wantEpisode.
Change don't use wantedQualities for multipart.
2017-12-27 03:14:20 +00:00
JackDandy
8d97f2664a Add ETTV and PotUK providers, fix BTScene and Lime. 2017-12-22 19:37:14 +00:00
Prinz23
f1958535d2 Change improve usage of the optional regex library.
Limit possible regex errors to 20% of extra_info up to max 3 errors.
2017-12-13 02:02:23 +00:00
JackDandy
ad63608cad Change improve multi episode release search. 2017-12-13 01:41:34 +00:00
JackDandy
3848569fe4 Fix MediaBrowser Season##\metadata. 2017-12-11 16:36:10 +00:00
Prinz23
68fa29e77a Change restore fetching metadata episode thumbs.
Add get_episode_data in tvdb_api v2

Usage:
lINDEXER_API_PARMS = sickbeard.indexerApi(show.indexer).api_params.copy()
t = sickbeard.indexerApi(show.indexer).indexer(**lINDEXER_API_PARMS)
ep_data = t.get_episode_data(episodeid)
2017-12-10 20:23:45 +00:00
JackDandy
cceb010e0e Fix metadata Season Posters and Banners. 2017-12-10 20:19:58 +00:00
Prinz23
610ced28b8 Fix wanted episodes. 2017-12-07 15:28:54 +00:00
JackDandy
c3a4e12746 Fix setting items to Failed on Manage/Episode Status page.
Fix history page provider icons in Layout Detailed.
2017-12-06 18:28:04 +00:00
JackDandy
a6ce206c88 Change, decouple files exist count from status set as downloaded count.
Change displayShow to include all qualities in snatch/download/archived counts.
2017-12-05 17:00:47 +00:00
JackDandy
22ce0203cf Add quality tag to archived items, improve displayShow/"Change selected episodes to".
Use to prevent "Update to" on those select episodes while preserving the downloaded quality.
Change group "Downloaded" status qualities into one section.
Add "Downloaded/with archived quality" to set shows as downloaded using quality of archived status.
Add "Archived with/downloaded quality" to set shows as archived using quality of downloaded status.
Add "Archived with/default (min. initial quality of show here)".
Change when settings/Post Processing/File Handling/Status of removed episodes/Set Archived is enabled, set status and quality accordingly.
Add downloaded and archived statuses to Manage/Episode Status.
Add quality pills to Manage/Episode Status.
Change Manage/Episode Status season output format to be more readable.
Change add SNATCHED_ANY and ARCHIVED, refactor accordingly.
2017-12-04 19:27:50 +00:00
Prinz23
0311b2777d Change implement the __ne__ none equality method into the ParseResult class. 2017-12-04 17:17:14 +00:00
JackDandy
ab0f8576c9 Change simplify use of provider parameter scene/process_name. 2017-12-04 15:22:06 +00:00
JackDandy
47eab61c01 Add Blutopia torrent provider. 2017-12-04 13:42:33 +00:00
JackDandy
f6f0323248 Change parse 1080p Bluray AVC/VC1 to a quality instead of unknown. 2017-12-04 13:06:27 +00:00
Prinz23
8aa2889537 Change if a newly added show is not found on indexer, remove already created empty folder. 2017-12-02 20:54:39 +00:00
JackDandy
f1e9249f59 Fix NotifierFactory attribute enabled_ondownloadsubtitles should be enabled_onsubtitlesdownload. 2017-12-02 19:44:51 +00:00
Prinz23
0216658231 Add db.mass_upsert_sql
Example usage:
my_db = db.DBConnection()
cl = []
for i in list:
	cl.extend(db.mass_upsert_sql(
		'tablename',
		{'fieldname': 'some value'},
		{'where clause field(s)': 'value'}))
if cl:
	my_db.mass_action(cl)
2017-11-15 17:23:13 +00:00
JackDandy
5df78383b3 Change reenable Trakt Notifier to update collections at end of PP.
Change add tips for what to use for Growl notifications on Windows.
2017-11-15 10:53:39 +00:00
JackDandy
efd9095f3f Merge branch 'master' into develop 2017-11-12 18:45:53 +00:00
Prinz23
cda654a17b Change improve .nzb handling.
Remove release group requirement from nzbSplitter.
Add optional lxml import and remove cElementTree requirement.
Skip none string tags in nzb.
2017-11-12 18:42:10 +00:00
Prinz23
23a77fb88c Change use value of "Update shows during hour" in General Settings straight after it is saved instead of after restart. 2017-11-10 23:58:47 +00:00
JackDandy
eb459d8f50 Merge branch 'master' into develop 2017-11-01 12:28:44 +00:00
JackDandy
b8ddf97b11 Change qBittorent to handle the change to its API success/fail response.
qB changed how it responds to API action from '' to 'Ok.' and 'Fails.', therefore breaking apps.
2017-11-01 12:27:26 +00:00
Prinz23
3f3907324a Add status SNATCHED_BEST to missing places. 2017-10-31 20:49:04 +00:00