Commit graph

188 commits

Author SHA1 Message Date
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
JackDandy
7d8cc2cfed Use a subprocess and cp for copying files on posix systems to preserve file metadata. 2016-10-06 20:43:46 +01:00
Prinz23
98a0d474c9 Change load cache images (IMDb and AniDB) on demand. 2016-10-04 00:01:15 +01:00
JackDandy
116e0c64db Change factor out cleanup_cache() into cleanup_cache() + delete_not_changed_in() for multiple use cases.
Change make it simpler to add cache paths to cleanup_cache() using a list of tuples.
Change PEP8 .. cleanup_cache > cleanup_Cache.
2016-10-03 23:34:57 +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
JackDandy
9d24ec109f Fix only replace initial quality releases from the upgrade to list. 2016-09-22 13:20: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
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
JackDandy
22b520b517 Change improve debug log message for CloudFlare response that indicate website is offline. 2016-08-10 11:55:20 +01:00
JackDandy
ebdc154d56 Add config.ini file only setting "remove_filename_chars".
To initialise,
1) At General config page, press 'Save' then 'Shutdown' SG
2) Open config.ini in a text editor, find and edit remove_filename_chars = "" e.g. remove_filename_chars = "'"
3) Save config.ini and start SG. With the example given, the ' character will not appear in file names.
2016-06-14 23:24:44 +01:00
JackDandy
cb25fc2e03 Add Zooqle icon.
Change get url to also handle absolute redirects.
2016-06-14 00:22:28 +01:00
JackDandy
be9723e719 Add Zooqle torrent provider. 2016-06-13 19:50:44 +01:00
JackDandy
8ad380adea Add Bit-HDTV torrent provider. 2016-06-13 19:32:08 +01:00
JackDandy
09741bbf8c Add IMDb Watchlists to 'View' drop down on the 'Add from IMDb' page.
Add 5 decades of 'IMDb Popular' selections to 'View' drop down on 'Add from... Browse Shows'.
Add 'Other Services' to 'View' drop down on 'Add from... Browse Shows'.
Add enable, disable and delete public IMDb watchlists to Config/General/Interface with a default 'SickGear' list.
Change prevent duplicate show ids from presenting items on 'Add from... Browse Shows'.
Change add 'nocache' kwarg to helpers.getURL to facilitate non-cached requests.
2016-05-01 20:24:20 +01:00
JackDandy
4064b5183c Merge branch 'master' into develop 2016-03-16 18:36:33 +00:00
Prinz23
e55462f47b Fix ensures internal buffer of a downloaded file is written to disk. 2016-03-16 18:28:58 +00:00
Prinz23
50292eed3a Fix rare NameParser case where numeric episode name was parsed as episode number.
Change parse .nfo file for Add Existing page.
2016-03-06 00:58:34 +00:00
JackDandy
df4e61c661 Add Emby notifier to config/Notifications (thanks to Supremicus for the jumpstart) with a homebrew description. 2016-02-25 12:56:55 +00:00
JackDandy
a68f64327f Change overhaul Kodi notifier and tidy up config/notification/KodiNotifier ui.
Add passthru of param "post_json" to Requests() "json" in helpers.getURL.
2016-02-18 23:55:04 +00:00
Prinz23
6dd434fcba Add CPU throttling preset "Disabled" to config/General/Advanced Settings and centralise the function. 2016-02-11 19:25:35 +00:00
JackDandy
f24444b101 Fix handling non-numeric IMDb popular ratings. 2016-01-12 19:42:37 +00:00
JackDandy
5cda1fad65 Change get_size helper to also handle files. 2016-01-07 13:15:52 +00:00
JackDandy
fcd2810351 Fix false +ve outcome from incorrect return value and fix nzbfile implementation.
Change refactor code.
2015-12-17 02:07:50 +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
JackDandy
e37c9ba6d7 Add AniDb Random and Hot to Add Show page. 2015-11-16 12:02:09 +00:00
JackDandy
a574012c38 Change increase the scope and number of non release group text that is identified and removed. 2015-10-16 14:03:19 +01:00
Adam
3695766df4 Remove unnecessary call to indexers during nameparsing 2015-09-20 19:40:03 +08:00
JackDandy
cb0216c506 Change to allow file moving across partition. 2015-07-16 13:24:05 +01:00
JackDandy
2051268891 Change refactor, PEP8, code convention cleanse for nzb/torrent code and remove newzbin remnants. 2015-07-15 19:19:39 +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
680491684d Change py2 file and reload functions to py2/3 compatible open and reload_module functions 2015-06-14 11:49:23 +08:00
Adam
a4cc931abc Change check_url function to use requests instead of httplib library 2015-06-13 19:55:54 +08:00
Adam
a3c717becd Change py2 print statements to py2/3 compatible functions 2015-06-09 19:33:03 +08: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