Commit graph

88 commits

Author SHA1 Message Date
JackDandy
ac6d1f69d9 Change refactor manual search processing.
Change reduce browser I/O on displayShow.
Fix displayShow bug where click holding on a season btn and then dragging away leaves 50% white.

Devel:
Change sets and lists are assigned by reference, so snatched_eps are deep copied in base_info().
Change comment out BaseSearchQueueItem::copy() as deprecated for base_info().
Change improve ajax consumer to reduce polling.
Simplify SimpleNamespace init in base_info().
Use base info instead of thread object for MANUAL_SEARCH_HISTORY in (ManualSearchQueueItem + FailedQueueItem) to streamline the finished search processing in webserve, this means add_dt has to be moved to BaseSearchQueueItem for base_info().
SimpleNameSpace Ref error is now in PYC, not sure if this is valid tho.
2018-10-02 20:04:52 +01:00
Prinz23
41a0cea90a Fix getting XEM absolute numbers for show.
Fix IMDb info load for redirected ids.
Fix flags on displayShow (under Linux).
2018-09-08 12:05:48 +01:00
JackDandy
e31e479977 Add keep up to x most recent downloads.
Change add "Keep up to x most recent downloads" to Edit Show/Other.
Change add "Keep up to x most recent downloads" to Manage/Bulk Change/Edit.
Change append number of downloads to keep to the number of file(s) at Display Show.
Change add "Keep up to x most recent downloads" to add show finally step.
Add prune to refreshDir/rescan.
Add helper function remove_file.
2018-05-30 00:01:53 +01:00
Prinz23
0a1673d66a Change how show URLs are made for TV info sources.
Change add ID format to show_url in indexer_config.
Change display/edit show, episode view, and add new/existing, for URL creation.
Change revert temporary copying show_obj solution.
Change image download error to warning.
2018-05-08 00:19:33 +01:00
JackDandy
fae9ae6bb7 Change terminology around the custom quality selection to improve clarity.
Change restrict changing custom download qualities to reasonable selections.
Add upgrade to quality selections on Add show page and Import existing show page.
2018-02-03 22:41:52 +00:00
JackDandy
e630cc0fdf Change layout of quality custom to improve clarity.
Change tweak text of SD DVD to include BD/BR.
2018-01-29 19:26:52 +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
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
JackDandy
42db53f114 Change Bulk Changes and Notifications save to be web_root setting aware.
Change subtitle addons no longer need to be saved before Search Subtitles is enabled as a forbidden action to reuse an exited FindSubtitles thread is no longer attempted.
Fix tools menu not opening for some browsers.
2017-10-29 09:42:05 +00: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
440237a3c2 Change improve reverse proxy web_root support.
Change refactor restart process, reducing restart time, improving ui, and fixing web_root.
Change add response handling for invalid Plex Server hosts.
2016-10-28 15:59:19 +01:00
JackDandy
05956804df Change fuzzyMoment to handle air dates before ~1970 on display show page.
Change ensure sbdatetime functions return formatted string instead of tuple.
Change limit availability of fuzzy date functions on General Config/Interface to English locale systems.
Update moment.js 2.6 to 2.15.1
2016-10-14 16:30:50 +01:00
JackDandy
53f5b7efe0 Remove check box to unaired episodes on display show page and unaired items on backlog page. 2016-09-25 15:22:29 +01: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
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
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
JackDandy
4171143cfc Add a general config setting to allow adding incomplete show data. 2015-10-17 22:13:33 +01:00
Adam
a019e13a75 Change javascript urls in templates to allow proper caching 2015-09-13 19:00:21 +08:00
JackDandy
6cfd185335 Change "Archive" to "Upgrade to" in Edit show and other places and improve related texts for clarity. 2015-05-13 20:43:03 +01:00
JackDandy
e41947cac8 Change reduce html payload across page template files. 2015-05-07 02:13:57 +01:00
adam
65ce53b289 Add custom show lists to home page 2015-05-02 16:34:30 +08:00
JackDandy
b4b1859a2e Add IMDb lookup to "Update" action on Manage/Mass Update page.
(Credit and thanks to Prinz23 for his initiating efforts)

Fix display indexer provided start year on the displayShow page when no IMDb data exists.
Fix display indexer provided genres on the displayShow page when no IMDb data exists.
Fix display IMDb indexer with correct IMDb id on the displayShow page only when IMDb data exists.
Fix to correctly display show runtime when available on the displayShow page.
Fix to correctly initialise IMDb id loaded from db.
Other misc IMDb related db fixes.
Fix saving of Sort By/Next Episode in Layout Poster on Show List page.
2015-03-28 17:43:32 +00:00
JackDandy
28ba854f2b Fix case where start year or runtime is not available to display show. 2015-03-27 12:49:45 +00:00
JackDandy
4bd6576688 Change to adjust alignment of season label text when next to select combo.
Change display genres sourced from indexers in labels underneath the show title on displayShow, remove the tag image.
Change IMDb genre links to have the tag image applied to the link making it an easier target to click and also visually different from indexer genres.
Fix scene anime html id construction in line with plot_info.
2015-03-26 16:10:40 +00:00
Supremicus
5d8df31314 Fix genre tags on displayShow when imdb is disabled 2015-03-26 17:00:38 +10:00
JackDandy
059f617d29 Change overhaul more on the displayShow page.
Fix disabling IMDb broke page.
Fix counting of files.
Add some tooltips to bottom show details for clarity.
Change glyph to right side of "Show/Hide episodes" button text to improve visual when toggling button.
Change red text on blue tag to white text on red tag to improve readability of invalid locations.

Change some label tags to fit with edit show page.
Fix handle when a show in db has all episodes removed from indexer.
Add the name of show that will be displayed to the hover of the Prev/Next show buttons.
Add hover tooltips for nfo and tbn columns for browsers that use the title attr.
Change Special link moved from "Season" line to "Specials" line on displayShow.
Change code re-factored in readiness for live option switching, clean up and add closures of html tables.
2015-03-26 05:13:01 +00:00
Supremicus
c1fe671a82 Overhaul displayShow for new features
* Change overhaul displayShow to ready for new features
* Add section for show plot to displayShow
* Add option to view show background on displayShow (transparent and
opaque) for when background downloading is added (disabled)
* Add option to collapse seasons and leave current season open on
displayShow (disabled)
* Add filesize to episode location qtip on displayShow
* Change selected options from editShow will only show when enabled now
on displayShow
2015-03-23 11:05:13 +10:00
JackDandy
6c168cfe50 Add tint to archived episode row colour to differentiate it from downloaded episodes on the Display Show page. 2015-03-17 19:49:52 +00:00
JackDandy
45c6533766 Change episode row color away from blue on display show page when indexer airdate is not defined.
Hide year, runtime, genre tags, country flag, or status if lacking valid data to display.
Remove redundant CSS color use (all browsers treat 3 identical digits as 6, except for possibly in gradients).
2015-03-16 19:20:24 +00:00
JackDandy
c96dbf7ea6 Change to reduce the time taken to "Update shows" with show data.
Add "Enable IMDb info" option to config/General/Interface.
Change to not display IMDb info on UI when "Enable IMDb info" is disabled.
Change genre tags on displayShow page to link to IMDb instead of Trakt.
Change to reduce the time taken to "Update shows" with show data.
Change when IMDb info is updated...
a) stop updating the IMDb info during the scheduled daily update for every show.
b) update the IMDb info for a show after snatching an episode for it.
Develop changes...
Fix being able to actually turn IMDb off when it has been turned on.
Remove IMDb option from General Settings.
Change IMDb option to enable by default now the slow operation has been eliminated from process flows.
2015-03-14 15:09:39 +00:00
JackDandy
97429c084f Change overhaul UI of editShow and anime release groups, refactor and simplify code.
Change list order of option on the right of the displayShow page to be mostly inline with the order of options on editShow.
Change legend wording and text colour on the displayShow page.
Add output message if no release group results are available.
Add cleansing of text used in the processes to a add a show.
Add sorting of AniDB available group results.
Add error handling and related UI feedback to reflect result of AniDB communications.
Change description of config/search ignore and require words.
2015-02-21 22:34:20 +00:00
Supremicus
2a1dbcae9f displayShow tweaks
* Fix displayShow topmenu variable to point to a valid menu item
* Change displayShow scene exception separator to a comma for neater
appearance
2015-01-25 09:46:13 +10:00
adam
ea99736939 Change anime release groups to in memory storage for lowered latency 2015-01-20 19:36:19 +08:00
JackDandy
0bee101b22 Fix Display Show next/previous when show list is split.
Also add some styling to drop down combo.
2014-12-12 02:36:23 +00:00
JackDandy
31946c96b3 Remove deprecated and redundant qTip2 attributes and CSS.
Fix restore scene exceptions tip over title on displayShow page.
Change ajax for a deferred ajax call used for plots tips and scene exception tips.
Tweak some tip positions and cleanup calls to be more uniform.
2014-12-11 13:27:43 +00:00
Supremicus
765fe798fd Fix season jumping dropdown menu for shows with over 15 seasons on Display Show. 2014-11-26 13:43:40 +00:00
JackDandy
4f5e1f01ad Fix glitch above rating stars on Display Show page.
And the alignment of items on that line.

Conflicts:
	CHANGES.md
2014-11-21 11:53:09 +00:00
Supremicus
ed4256d8c2 Fix qtips on Display Show and Config Post Processing 2014-11-21 14:41:42 +10:00
JackDandy
eb0ea69e5d Remove browser player from Config General and Display Shows page. 2014-11-13 02:49:55 +00:00
Prinz23
732009fd98 Change how the "local/network" setting is handled to address some issues.
Move local/network setting datetime convert into it's own function.
Function parse_date_time() now returns when possible a correct timezone aware datetime.
Change webapi to use new converter.
Fix Daily Searcher.
Fix saving old DateTime setting.
Add safety check if network_dict is already loaded.
2014-11-11 18:15:25 +00:00
JackDandy
0607b912d8 Add an anonymous redirect builder for external links.
Add anonymous redirect to external links on pages... Add Trending Show, Add Existing Shows, Add New Shows, Coming Episodes, Display Show, Config Notifications, Config Anime, Subtitle Providers, ASCII chart on General Config Advanced, links of newly created Usenet and Torrent providers.
Update xbmc link to Kodi at Config Notifications.
Fix irc protocol link to not use http protocol linkage on Config/Help and align lower right side column to the upper right side text.
2014-11-10 04:01:53 +00:00
JackDandy
102263d974 Fix apply specials fix only to displayShow page to not affect the calendar page. 2014-11-03 14:54:02 +00:00
Supremicus
9870d090d3 Fix and repositioned show_message on display show
Fix and repositioned show_message on display show to use bootstrap
styling
Remove commented out html from display show accidently left in during UI
changes
2014-11-02 21:18:59 +10:00
Supremicus
2c510aa210 Improve UI to display fluidly on different screen sizes.
Fixes the issue where top menu items would disappear on smaller screens.
Add Bootstrap v3.2.0 with Normalize v3.0.1 from github.com/twbs/bootstrap.
Add a modified jquery pnotify stylesheet.
Various UI tweaks.
Update CHANGES.md and TODO.txt
2014-10-23 23:23:56 +01:00
JackDandy
0333a9aa3e Various tweaks to UI including additional use of fuzzy dates.
Add a parameter to FuzzyMoments to output dates inline.
Add fuzzy dates to compact view of History page.
add fuzzy dates to poster view cards of Home page.
Tweak Home page poster view cards to span the date displayed across the first line.
Tweak Home page poster view cards to display download stats on left and network logo on right.
Tweak the two columns of Show Summary on the displayShow page to hold content.
Add title "Filters" and tweak the layout of filters sections on the displayShow page.
Move display value for show air date from Next Episode to the Airs field on the comingEpisodes page.
Add fuzzy dates to the Airs field in banner and poster views on the comingEpisodes page.
Tweak CSS for showSummary.
Tweak CSS for poster view cards line-height.
2014-10-14 05:13:59 +01:00
Adam
0822d15d36 Add sizing field on show page 2014-10-02 16:41:13 +08:00
Supremicus
8847fa056d New skin 2014-10-01 08:20:37 +10:00
KontiSR
bdac98db4b Implemented the queuing functionality also for Failed downloads.
ajaxEpSearch.js now also processes the clicks for Retries. SO merged those together and removed ajaxEpRetry.js.
2014-09-15 15:01:18 +02:00
KontiSR
419e35f300 sbRoot missing in some img url's
Added queued.png image.. for manual searching

Fixed issue where consecutive manual searches where not queued properly
Added first backend processing for retrieving all queued searches. This should fix the frondend blocking when doing manual searches for episodes, because the backend is free sooner. It now only queues the search.
Created a returning ajax call for getting a list of all searches in queue en running on the displayShow page.

For the getManualSearchStatus() function, only use curItem from the ManualSearchQueueItem or FailedQueueItem threads.

Conflicts:
	sickbeard/search_queue.py
2014-09-15 13:31:16 +02:00