Commit graph

231 commits

Author SHA1 Message Date
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
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
ad63608cad Change improve multi episode release search. 2017-12-13 01:41:34 +00:00
Prinz23
610ced28b8 Fix wanted episodes. 2017-12-07 15:28:54 +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
JackDandy
f1e9249f59 Fix NotifierFactory attribute enabled_ondownloadsubtitles should be enabled_onsubtitlesdownload. 2017-12-02 19:44:51 +00:00
Prinz23
3f3907324a Add status SNATCHED_BEST to missing places. 2017-10-31 20:49:04 +00:00
Prinz23
05758bb75e Change overhaul handling of PROPERS/REPACKS/REAL.
Add restriction to allow only same release group for repacks.
Change try all episode names with 'real', 'repack', 'proper'.
Add flags table to store when one-off operations have been performed.
Change update history.tbl with action SNATCHED_PROPER on existing items.
Change save proper snatches as action SNATCHED_PROPER + quality into history.tbl
Add optional regex lib with fuzzy (errors ~20% of alpanum chars) for extra_info_no_name.
Add tip to search settings/media search about improved matching with optional regex library.
2017-10-30 22:21:55 +00:00
JackDandy
977f52c2f8 Merge branch 'master' into develop 2017-10-06 23:00:48 +01:00
JackDandy
6796059e1b Change improve handling of connection failures for metadata during media processing. 2017-10-06 22:58:23 +01:00
JackDandy
b6806359cf Merge branch 'master' into develop 2017-09-29 00:40:26 +01:00
Prinz23
df7938a516 Fix enforce value API expects for paused show flag. 2017-09-29 00:37:14 +01:00
Prinz23
75f59d717e Change add switchIgnoreWarning and log_num_not_found_shows to PageTemplate. 2017-09-11 17:12:39 +01:00
Prinz23
3bd392e671 Add count of failed show updates
Change add warning message to Display Show and Edit Show page if show no longer found at TV info source due to an ID change, the last successful date of show update with current ID is also displayed.
Add "Shows not found previously" to Manage/Show Processes Page to highlight which shows can adjust their show IDs in order to sustain TV info updates.
Add "Shows from defunct indexers" to Manage/Show Processes page to highlight which shows can be switched to a different default TV info source.
Shows not found on an indexer for over 7 days will only be retried once a week.
Change improve show not found detection in Tvdb_Api lib.
Change add tv_shows_not_found db table.
Change add cleanup of orphaned not found shows during startup.
Change add UI Notification when MasterID is not changed because a show with that ID already exists in DB.
2017-09-04 22:39:28 +01:00
Prinz23
29683acc96 Fix image not loaded from tvdb_api if there is only one poster/banner.
Add new parameter 'poster' to indexer api.
Add optional tvdb_api load season image: lINDEXER_API_PARMS['seasons'] = True.
Add optional tvdb_api load season wide image: lINDEXER_API_PARMS['seasonwides'] = True.
Change prevent setting show/episode attr to None from indexer data.
2017-08-27 01:46:23 +01:00
Prinz23
4d84bacb5b Change don't allow none strings for episode names.
Change add log message if dirtysetter doesn't set a property.
2017-08-22 14:29:50 +01:00
JackDandy
f97dac58b7 Change episodes older than 1970 may already exist.
Change compare file mtime as int to epoch.
Change handle datetime_to_epoch error.
2017-08-22 13:18:13 +01:00
Prinz23
a74f022ea3 Change file modify date of episodes older than 1970 can be changed to airdate, log warning on set fail. 2017-08-22 13:18:13 +01:00
Prinz23
6f5100c541 Change showupdate add integrity safeguards and improve image processing. Add an episode view filter, improve WEB PROPER selection.
Change show update, don't delete any ep in DB if eps are not returned from indexer.
Change prevent unneeded error message during show update.

Change improve performance, don't fetch episode list when retrieving a show image.
Change don't remove episodes from DB with status: SNATCHED, SNATCHED_PROPER, SNATCHED_BEST, DOWNLOADED, ARCHIVED, IGNORED.
Change add additional episode removal protections for TVDb_api v2.

Change filter SKIPPED items from episode view.
Change improve clarity of various error message by including relevant show name.
Change extend WEB PROPER release group check to ignore SD releases.
2017-07-21 11:34:32 +01:00
Prinz23
266c87f5f1 Change catch show update task errors.
Change tracebacks to ERROR.
Add scene_exceptions error handling with missing data.
Add exception catching and traceback logging in show_updater.
2017-06-15 01:37:28 +01:00
JackDandy
6fcf80c02d Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-12-16 21:03:14 +00:00
JackDandy
487a773ed1 Change add guidance when using the "unknown" quality selection. Pep8. 2016-11-16 22:18:48 +00:00
JackDandy
145301e275 Change only show unaired episodes on Manage/Backlog Overview and Manage/Episode Status Management where relevant.
Change display show page, can mark unaired items with a date to "Wanted" to trigger a manual active backlog search provided search setting "Unaired episodes" is enabled.
2016-09-25 02:18:48 +01:00
JackDandy
55ca693109 Fix status reset of a snatched, downloaded, or archived episode when its date is set to never (no date) on the info source and there is no media file. 2016-09-24 03:36:16 +01:00
Prinz23
9b3af8b84a Change optimise TheTVDB processes, 40% to 66% saved adding new and existing shows, 40% to 50% saved per show update.
Change improve shows with more episodes gain largest reductions in time spent processing.
Change when using "Add new show" reduce search time outs.
Change always allow incomplete show data.
Remove redundant config/general/"Allow incomplete show data".
2016-09-24 02:09:53 +01:00
Prinz23
d3a7f0ff5e Add smart logic to reduce api hits to newznab server types and improve how nzbs are downloaded.
Add newznab smart logic to avoid missing releases when there are a great many recent releases.
Change improve performance by using newznab server advertised capabilities.
Change config/providers newznab to display only non-default categories.
Change use scene season for wanted segment in backlog if show is scene numbering.
Change combine Manage Searches / Backlog Search / Limited and Full to Force.
Change consolidate limited and full backlog.
Change config / Search / Backlog search frequency to instead spread backlog searches over a number of days.
Change migrate minimum used value for search frequency into new minimum 7 for search spread.
Change restrict nzb providers to 1 backlog batch run per day.
Add to Config/Search/Unaired episodes/Allow episodes that are released early.
Add to Config/Search/Unaired episodes/Use specific api requests to search for early episode releases.
Add use related ids for newznab searches to increase search efficiency.
Add periodic update of related show ids.
Change terminology Edit Show/"Post processing" tab name to "Other".
Add advanced feature "Related show IDs" to Edit Show/Other used for finding episodes and TV info.
Add search info source image links to those that have zero id under Edit Show/Other/"Related show IDs".
Add "set master" button to Edit Show/Other/"Related show IDs" for info source that can be changed.
Change terminology displayShow "Indexers" to "Links" to cover internal and web links.
Change add related show info sources on displayShow page.
Change don't display "temporarily" defunct TVRage image link on displayShow pages unless it is master info source.
Change if a defunct info source is the master of a show then present a link on displayShow to edit related show IDs.
Change simplify the next backlog search run time display in the page footer.
Change try ssl when fetching data thetvdb, imdb, trakt, scene exception.
Change improve reliability to Trakt notifier by using show related id support.
Change improve config/providers newznab categories layout.
Change show loaded log message at start up and include info source.
Change if episode has no airdate then set status to unaired (was skipped).

Technical
Change move scene_exceptions table from cache.db to sickbeard.db.
Add related ids to show obj.
Add use of mapped indexer ids for newznab.
Add indexer to sql in wanted_eps.
Add aired in (scene) season for wanted episodes.
Add need_anime, need_sports, need_sd, need_hd, need_uhd to wanted episodes and added as parameter to update_providers.
Add fix for lib lockfile/mkdirlockfile.
Add set master TV info source logic.
Change harden ui input validation.
Add per action dialog confirmation.
Change to reload page under more events.
Change implement "Mark all added episodes Wanted to search for releases" when setting new info source.
2016-09-21 17:50:27 +01:00
JackDandy
05a9dc62f1 Add Torrentz2 provider.
Change handle when a torrent provider goes down and its urls are cleared.
Add handler for when rar files can not be opened during post processing.
2016-09-12 17:07:22 +01:00
JackDandy
48a27e57a0 Add detection of password protected rars with config/Post Processing/'Unpack downloads' enabled.
Change post process to cleanup filenames with config/Post Processing/'Unpack downloads' enabled.
Change post process to join incrementally named (i.e. file.001 to file.nnn) split files.
Change replace unrar2 lib with rarfile 3.0 and UnRAR.exe 5.40 beta 4 freeware.
Change post process "Copy" to delete redundant files after use.
2016-08-22 16:09:07 +01:00
Prinz23
8ceb85becd Change set Specials to status "Skipped" not "Wanted" during show updates. 2016-07-27 18:32:55 +01:00
Supremicus
67d58d9f31 Fix syntax error causing renamer to error out 2016-03-31 16:57:50 +10:00
Prinz23
4c682db8e1 Change adding show processing to be highest priority.
Use timezones to check unaired status during show update/adding.
Allow parse_date_time to accept timezone objects and parsed time tuples.
Add country code fallback for network name (timezone).
2016-03-24 18:56:43 +00:00
Prinz23
f2b8b29575 Change show update, set shows with newly added airdate or existing episodes with future or never dates, to "Wanted". 2016-03-06 00:30:08 +00:00
Prinz23
820594505b Change handle all Hachoir library parser errors and replace its Unicode enforcement.
Allow episode status "Skipped" to be changed to "Downloaded".
Allow found "Skipped" episode files to be set "Unknown" quality.
2016-02-09 22:43:35 +00:00
Prinz23
e7c2589cf6 Fix refresh handling of Skipped and Ignored items and issue entering scene numbers. 2016-02-01 19:37:32 +00:00
Prinz23
b3be940d44 Add multiple Trakt account support to Config/Notifications/Social.
Add setting to Trakt notification to update collection with downloaded episode info.
Add Most Watched, Collected during the last month on Trakt.
Change Add from Trakt/"Shows:" with Anticipated, Popular views.
Change improve robustness of Trakt communications.
Change Trakt notifier logo.
Change pep8 and cleanup.
2015-12-22 12:56:17 +00:00
JackDandy
43778d8edd Change providers, add some, remove one, fix a snatch issue, rework ignore/require words, refactor code.
Add BitMeTV torrent provider.
Add TVChaosUK torrent provider.
Add HD-Space torrent provider.
Add Shazbat torrent provider.
Remove Animenzb provider.
Change use tvdbid for searching usenet providers.
Change consolidate global and per show ignore and require words functions.
Change "Require word" title and notes on Config Search page to properly describe its functional logic.
Add "Reject Blu-ray M2TS releases" to BTN provider.
Add regular expression capability to ignore and require words by starting wordlist with "regex:".
Add list shows with custom ignore and require words under the global counterparts on the Search Settings page.
Fix failure to search for more than one selected wanted episode.
2015-12-02 01:31:50 +00:00
Adam
1392d65254 Fix removal of non-release groups such that anime qualities are not trimmed from name 2015-11-28 19:34:39 +08:00
Adam
5eb1b47300 Add version to anime renaming pattern 2015-11-19 06:39:17 +08:00
JackDandy
4171143cfc Add a general config setting to allow adding incomplete show data. 2015-10-17 22:13:33 +01:00
JackDandy
12363e9c9b Change increase frequency of updating show data. 2015-10-14 01:19:32 +01:00
Adam
3695766df4 Remove unnecessary call to indexers during nameparsing 2015-09-20 19:40:03 +08:00
JackDandy
ba566bccd7 Add Torrenting provider. 2015-09-17 01:02:37 +01:00
JackDandy
8ee9f6367a Change displayShow page episode colours when a minimum quality is met with "End upgrade on first match". 2015-09-13 14:31:50 +01:00
JackDandy
042ad5cafc Fix halting in mid flow of Add Existing Show which resulted in failure to scan statuses and filesizes. 2015-09-12 02:29:35 +01:00
JackDandy
70a8b47b44 Add parse media content to determine quality.
Determine quality before making final assumptions during re-scan, force update, pp and other processes.
Add a postprocess folder name validation.
2015-08-21 03:32:27 +01:00
JackDandy
f782567fd1 Change provider SCC login process to use General Config/Advanced/Proxy host setting.
Change refactor SCC to use torrent provider simplification and PEP8.
2015-07-03 14:24:09 +01:00
Adam
37496189f1 Change py2 exception clauses to py2/3 compatible clauses
Add py2/3 regression testing for exception clauses

Any new code added with old py2 style exceptions will now fail the travis test
2015-06-08 22:56:45 +08:00
adam
d47ad5f332 Change to only rebuild namecache on show update instead of on every search
Add removal of old entries from namecache on show deletion
2015-05-26 09:33:58 +08:00
Sami Haahtinen
7109371ee0 Fix history consolidation to only update an episode status if the history disagrees with the status.
Addresses an issue in the detection of previously processed files that
caused an episode status to change unconditionally.
2015-05-16 18:09:58 +03:00
Prinz23
2e711423b9 Add Search Queue Overview page
* Add expandable search queue details on the Manage Searches page
* Fix failed status episodes not included in next_episode search function
* Change prevent another show update from running if one is already running
* Change split Force backlog button on the Manage Searches page into: Force Limited, Force Full
* Change refactor properFinder to be part of the search
* Change improve threading of generic_queue, show_queue and search_queue
* Change disable the Force buttons on the Manage Searches page while a search is running
* Change disable the Pause buttons on the Manage Searches page if a search is not running
* Change scheduler forceRun
* Change staggered periods of testing and updating of all shows "ended" status up to 460 days
2015-05-10 17:22:54 +02:00