Commit graph

223 commits

Author SHA1 Message Date
Prinz23
89905fc94d Change add BaseSearchQueueItem and base_info() for thread-safe checks.
Change to making simple base info of search_queue items instead of full deep copies.
Change move TVShow.getOverview logic to helpers.episode_status_overview() and call it with parameter in tv.py and webserve.py
2018-10-02 16:32:08 +01:00
JackDandy
dc4cd6e2a6 Fix issue with tvdb response data.
Change move data cleaner to helpers.
2018-09-01 03:04:53 +01:00
JackDandy
8d56c848b2 Change remove redundant torrent URLs and improve provider loader. 2018-08-24 23:27:05 +01:00
Prinz23
1458314c17 Add base mapping logic for NZBGet. 2018-06-15 12:58:45 +01:00
JackDandy
c5b5a7af0c Fix issue when deleting files and "Send to trash for actions" is enabled. 2018-06-13 02:50:06 +01:00
JackDandy
92baf81494 Merge branch 'master' into develop 2018-06-09 12:15:47 +01:00
JackDandy
0f6f31a3bf Fix metadata mediabrowser when no actors.
Change metadata usage of indexer api keys.
Change make tvdb_api docs consistent to the attributes for show object.
Change consolidate write_file at helpers.
2018-06-09 12:13:21 +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
JackDandy
c0c793e015 Fix HTTP 422 error when using Plex Username and Password.
Change support mapping Linux to Windows paths.
Change remove redundancy from PiSexy.
2018-05-08 00:19:16 +01:00
JackDandy
7fad9885cb Change improve hostname expression. 2018-04-26 15:47:51 +01:00
JackDandy
a6f7ab47e2 Merge branch 'master' into develop 2018-04-26 15:32:07 +01:00
JackDandy
208ddfb42a Change prefer modern html5lib over old to prevent display show issue on systems that fail to clean libs.
In rare cases, systems *fail* to remove the deprecated "_base.pyc" file (and probably others) in \lib\html5lib\treebuilders\. Therefore, the startup cleanup process will now list files that cannot be auto deleted - user must then manually delete files listed in "__README-DANGER.txt".
Change add un/pw for cookie support to improve SpeedCD torrent provider.
Change improve handling faults when downloading .torrent files.
Remove TorrentBytes provider.
Change remove redundant log messages for releases never to be cached removing <30% log spam
Change remove redundant log messages for items not found in cache removing <10% log spam
Pep8.
2018-04-26 01:46:53 +01:00
JackDandy
7567f04872 Merge branch 'master' into develop 2018-04-16 03:24:57 +01:00
JackDandy
e41b4a442d Fix issue creating xml metadata files.
Change improve searching torrent providers AReign, EZTV, HDB, SkyT, and SCD.
2018-04-16 03:21:22 +01:00
JackDandy
f3310e29f2 Change improve security.
Change improve security with DNS rebinding prevention, set "Allowed browser hostnames" at config/General/Web Interface.
Change improve security with cross-site request forgery (xsrf) protection on web forms.
Change improve security by sending header flag httponly with cookies
Change improve security by sending header flag secure with SSL cookies
Change improve test for creating self-signed SSL cert.
Change force restart when switching SSL on/off.
Change enable Tornado serve_traceback feature.
Change PEP8 tweaks.
2018-04-02 19:24:50 +01:00
JackDandy
0b14b251a2 Change add map parent folder setting at Notifications for Emby, Kodi, and Plex. 2018-03-15 14:52:16 +00:00
JackDandy
16d7c032b4 Change add handling for where requesting disk freespace is denied permission on some Linux distros. 2018-02-07 15:59:55 +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
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
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
c9802126d9 Add free space stat (if obtainable) of parent folder(s) to footer. 2018-01-09 23:47:36 +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
6f12be2340 Change get_size to return zero for a dir that doesn't exist. 2017-10-31 00:32:52 +00:00
JackDandy
914606449b Change use scantree for helpers get_size. 2017-10-30 22:32:21 +00:00
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
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
297c4a2785 Add MagnetDL torrent provider.
DRY refactor download_file with getURL.
2017-08-24 02:40:28 +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
George Hafiz
7557f51d3c Change post processor, ignore symlinks found in process_dir. 2017-08-20 14:59:37 +01:00
JackDandy
74bd52681d Merge branch 'master' into develop 2017-07-31 20:53:55 +01:00
Prinz23
b0890ae17f Fix copy post process method on posix. 2017-07-31 20:51:46 +01:00
Prinz23
653a717f42 Change increase performance by reducing TVDb API requests with a global token.
Change raise tvdb_error if any of the episodes pages return an error instead of an incomplete episode list.
Handle expired token.
2017-07-21 22:03:52 +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
1eb113ddde Merge branch 'master' into develop 2017-03-30 03:24:31 +01:00
JackDandy
aa45c2f81a Change search of SpeedCD, TVChaos and parse of TorrentDay. 2017-03-30 03:18:36 +01:00
JackDandy
c1a65301e7 Merge branch 'master' into develop 2017-02-17 15:00:55 +00:00
JackDandy
cf5f6e3891 Change accept lists in JSON responses.
Change do not log error for empty BTN un/pw in most cases.
Change BTN to only try API once when doing alternative name searches.
Change when API fails, warn users as a tip that they can configure un/pw.
2017-02-17 14:58:04 +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
JackDandy
e11d9a7713 Change increase self-signed cert key length. 2017-02-01 02:38:31 +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
487a773ed1 Change add guidance when using the "unknown" quality selection. Pep8. 2016-11-16 22:18:48 +00:00
JackDandy
916cec554c Change improve parser tolerance for torrent providers.
Change improve TvChaos item parsing and can use qualities instead of 'Unknown'.
2016-11-03 18:05:43 +00:00
JackDandy
c0bc021c99 Change improve performance and reduce start up time. 2016-10-28 15:11:55 +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