Commit graph

573 commits

Author SHA1 Message Date
JackDandy
3fa750651c Change overhaul Notifications, add Notifier Factory and DRY refactoring.
Notifiers are now loaded into memory on demand.
Add bubble links to Notifications config tabs.
Add Discordapp notifier to Notifications config/Social.
Add Gitter notifier to Notifications config/Social.
Change order of notifiers in Notifications config tabs.
Remove Pushalot notifier.
Remove XBMC notifier.

Refactor update_library, notify, test notify and test results functions.
Change most IDs and vars consistent for HTML, CSS, JS, and Python - related to notifications, camelCase for JS, underscore separated lower_case for python, hyphen separated-lowercase for CSS. A couple of exceptions have been left untouched in this clean up.
Change commented out some unused vars in preparation for later removal.
2017-10-25 16:51:44 +01:00
Prinz23
7518837d4f Add file_name to possible names in history lookup post processing.
Add is_basedir check, default to True.
Assume multiple shows during pp as default.
2017-10-15 19:20:44 +01:00
JackDandy
b6806359cf Merge branch 'master' into develop 2017-09-29 00:40:26 +01:00
JackDandy
a087a464eb Fix Media Providers/Custom Newznab tab action 'Delete' then 'Save Changes'. 2017-09-29 00:20:06 +01:00
JackDandy
87ac49322a Change improve Slack notifier. 2017-09-16 15:04:31 +01:00
Brett Pemberton
c2fcf37498 Add Slack Notifications. 2017-09-16 00:25:39 +01:00
JackDandy
b203fb588e Change improve indication of abandoned IDs.
Add warn icon indicator of abandoned IDs to "Manage" menu bar and "Manage/Show Processes" menu item.
Add shows that have no replacement ID can be ignored at "Manage/Show Processes", the menu bar warn icon hides if all are ignored.
2017-09-12 01:43:35 +01:00
Prinz23
75f59d717e Change add switchIgnoreWarning and log_num_not_found_shows to PageTemplate. 2017-09-11 17:12:39 +01:00
Prinz23
749f7bcd91 Change prevent showing 'Mark download as bad and retry?' dialog when status doesn't require it 2017-09-11 16:59:34 +01:00
JackDandy
23fd0bb3a9 Add changeable master Show ID when show no longer found at TV info source.
Add guiding links to assist user to change TV Info Source ID.
Change Edit Show/Other to expose editing of master ID field *when* required.
Change add feature to search for a replacement master ID *when* required.
2017-09-05 00:23:18 +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
JackDandy
11711b2238 Change show search, add options to choose order of search results.
Add option to sort search results by 'A to Z' or 'First aired'.
Add option to sort search results by 'Relevancy' using Fuzzywuzzy lib.
Change search result anchor text uses SORT_ARTICLE setting for display.
Change add server side search result ordering.
Change use iteritems instead of items to improve performance.
Change existing shows in DB are no longer selectable in result list.
Change add image to search result item hover over.
Change improve image load speed on browse Trakt/IMDb/AniDB pages.
Change PEP8.
2017-09-04 02:41:25 +01:00
Prinz23
07d72e05f1 Add Fuzzywuzzy lib to sort search results.
Change remove search results filtering from tv info source.
Change suppress startup warnings for Fuzzywuzzy and Cheetah libs.
Change show name aliases get a score -1 to give the main names priority.
Change replace findCertainShow with find_show_by_id for mapped multi-indexer.
Change add Trakt info source search interface.
Change directly send image after it's been cached.
Fix loading CachedImages images with TVDB API v2 changes.
2017-09-04 01:23:30 +01:00
JackDandy
92ef777f2b Merge branch 'master' into develop 2017-08-22 19:03:31 +01:00
JackDandy
d3f8be8c3d Change add a generic ping function, enabled by update_freq. 2017-08-22 18:16:25 +01:00
Prinz23
9d9dee175f Add optional start and stop ping threads, during start, shutdown and saving providers. 2017-08-22 18:16:24 +01:00
Prinz23
35b282e797 Change add new zoneinfo_priority parameter to all gettz() calls. 2017-08-22 13:18:12 +01:00
Prinz23
33a36432d8 Change improve newnab autoselect categories.
Change add nzb.org BoxSD and BoxHD categories.
Change improve category exclude logic for newznab.
Change add WEB-DL category to autoselect categories for newznab.
Change comment out HEVC category parsing since it's not auto selected.
2017-08-19 15:53:59 +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
JackDandy
9e7ad9f5b2 Add persistent hide/unhide cards to Add show/Trakt and Add show/IMDb Cards.
Change simplify dropdowns at all Add show/Cards.
2017-05-20 10:47:03 +01:00
Prinz23
9cdf57f989 Add Trakt watchlist to Add show/Trakt Cards.
Change revoke application access at Trakt when account is deleted in SG.
Add support for 'DELETE' and 'PUT' requests in libtrakt.
Fix use 'GET', 'POST' method in Trakt lib upgrade.
2017-05-20 10:47:02 +01:00
JackDandy
44c44d9351 Merge branch 'master' into develop 2017-04-24 18:54:36 +01:00
JackDandy
8e9ec6c334 Change add filter for thetvdb show overview and remove SpeedCD 'inspeed_uid' cookie requirement. 2017-04-24 18:51:35 +01:00
JackDandy
0e27335f26 Add option to limit WebDL propers to original release group under Config/Search/Media Search.
Background: Identical episodes can originate from multiple WEBDL sources, e.g. NF, AMZN, iTunes, TV networks. An episode without issue from one source may have a release 'Proper'd from another which leads to the good file being overwritten. This option is enabled by default to limit overwriting WEBDL media to releases that only come from the original release group.
2017-02-17 05:33:56 +00:00
JackDandy
fc5e0df46c Merge branch 'master' into develop 2017-02-17 05:11:53 +00:00
JackDandy
d97bb7174d Remove Torrentshack.
Change improve provider title processing.
Change improve handling erroneous JSON responses.
Change improve find show with unicode characters.
Change improve result for providers Omgwtf, SpeedCD, Transmithenet, Zoogle.
Change validate .torrent files that contain optional header data.
Fix case where an episode status was not restored on failure.
Add raise log error if no wanted qualities are found.
Change add un/pw to Config/Media providers/Options for BTN API graceful fallback (can remove Api key for security).
Change only download torrent once when using blackhole.
Add Cloudflare module 1.6.8 (be0a536) to mitigate CloudFlare (IUAM) access validator.
Add Js2Py 0.43 (c1442f1) Cloudflare dependency.
Add pyjsparser 2.4.5 (cd5b829) Js2Py dependency.
2017-02-17 04:48:49 +00:00
Prinz23
87e608f277 Add scheduled backlog switch. 2017-02-15 00:51:52 +00:00
JackDandy
08854942aa Change add IPv4 config option when enabling IPv6. 2017-02-09 20:48:46 +00:00
JackDandy
3337e77466 Merge branch 'master' into develop 2017-01-16 17:21:59 +00:00
JackDandy
160f7a552b Change TD search URL and fix saving Media Providers when either Search NZBs/Torrent is disabled. 2017-01-16 16:52:37 +00:00
JackDandy
9cdc03c55e Add display unaired season 1 episodes of a new show in view modes regular and pro I. 2017-01-01 18:07:46 +00:00
JackDandy
f356099293 Change Config/Media Providers/Custom Newznab "Extra categories..." for disabled nzb providers. 2016-12-21 19:46:51 +00:00
Prinz23
2b27e3bb74 Change don't fetch caps for disabled usenet providers. 2016-12-21 19:42:00 +00:00
JackDandy
0bcc2c03e6 Change fanart images to not use cache as cache is not required.
Change rename "Manual Post-Processing" menu item to "Process Media".
Change rename "Search Providers" -> "Media Providers".
Change rename "Manage Searches" -> "Media Search".
Change rename "Episode Status Management" -> "Episode Status".
Change rename "Mass Update" -> "Bulk Change".
Change indicate default home on "Shows Menu".
Change relocate "Episodes" menu to "Shows"/"Episode Schedule".
Change relocate "History" menu to "Shows"/"History".
Change remove restart/shutdown buttons from "Show List".
Change remove superfluous buttons from all submenus.
2016-12-18 22:17:40 +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
1e7c8e5576 Change refresh page when torrent providers are enabled/disabled.
Change only display Search Settings/"Usenet retention" if Search NZBs is enabled.
Change update IMDb show parser.
2016-11-21 09:00:32 +00:00
JackDandy
bcae0cf1b8 Change only update enabled torrent providers.
Change prevent browser auto completing password fields on config pages.
Fix restart when switching from master to develop.
2016-11-19 23:30:18 +00:00
JackDandy
487a773ed1 Change add guidance when using the "unknown" quality selection. Pep8. 2016-11-16 22:18:48 +00:00
JackDandy
781d93597c Change consolidate shutdown with restart, improve systemd support, bring order to on-init globals. 2016-11-13 01:52:34 +00:00
Prinz23
4001944928 Change send download logfile as stream. 2016-11-07 17:51:08 +00:00
Prinz23
90430b2d35 Add 'Download Log' to 'Logs & Errors' page. 2016-11-02 18:37:57 +00:00
Prinz23
f50508df1f Change retry sleep timeout for Trakt searches to prevent issues when Trakt is down.
Multiply timeout with indexercount + 1 (trakt) + retry and web interface timeout of 15 seconds.
2016-11-01 16:50:03 +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
Prinz23
3ca199157a Add search setting "Disable auto full backlog". 2016-10-28 13:51:17 +01:00
Prinz23
48032005fd Change image cache processing for browse Trakt page.
Change logging for newznab response code 910 and add check for empty response data.
2016-10-24 23:39:04 +01:00
JackDandy
8e8e5602b5 Add Plex notifications secure connect where available (PMS 1.1.4.2757 and newer with username and password). 2016-10-19 04:47:16 +01:00
Prinz23
3a5a40f240 Change improve security of cached image use.
Change add helper function to validate acceptable image file extension.
2016-10-06 21:17:27 +01:00
Prinz23
98a0d474c9 Change load cache images (IMDb and AniDB) on demand. 2016-10-04 00:01:15 +01:00
Prinz23
6b418ddea9 Change load cached images (Trakt) on demand.
Cleanup cache every day during show update (files older then 30 days).
2016-10-03 23:33:53 +01:00
Prinz23
5adf5071d7 Change allow pp to replace files with a repack or proper of same quality.
Fix ensure downloaded eps are not shown on episode view.
Fix allow propers to pp when show marked upgrade once.
Fix never set episodes without airdate to wanted.
Various other fixes.
2016-10-01 11:27:25 +01:00