Commit graph

1072 commits

Author SHA1 Message Date
JackDandy
f0ffe9be12 Merge branch 'master' into develop 2018-03-28 02:04:52 +01:00
Prinz23
daeee0d250 Fix search for wanted when adding new show.
Change don't prevent specific backlog run, if another backlog is running.
2018-03-28 01:43:10 +01:00
JackDandy
cc69723261 Update xmltodict library 0.10.2 (375d3a6) → 0.11.0 (79ac9a4). 2018-03-28 01:33:00 +01:00
JackDandy
53fa508037 Update webencodings 0.5 (3970651) → 0.5.1 (fa2cb5d). 2018-03-28 01:28:51 +01:00
JackDandy
6fb076b2b2 Update unidecode library 0.04.21 (e99b0e3) → 1.0.22 (81f938d). 2018-03-28 01:26:29 +01:00
Prinz23
e8ade6ffcf Update Tornado Web Server 4.5.1 (79b2683) → 5.0.1 (35a538f). 2018-03-28 01:24:09 +01:00
JackDandy
5dfaf57793 Update Six compatibility library 1.10.0 (r433) → 1.11.0 (68112f3). 2018-03-28 01:16:31 +01:00
JackDandy
4fa4ec8191 Update SimpleJSON library 3.10.0 (c52efea) → 3.13.2 (6ffddbe). 2018-03-28 01:15:25 +01:00
JackDandy
25b67c5a68 Update scandir 1.3 → 1.6 (c3592ee) 2018-03-28 01:00:56 +01:00
JackDandy
e60f9300a3 Update Requests library 2.13.0 (fc54869) → 2.15.1 (282b01a). 2018-03-28 00:54:41 +01:00
JackDandy
615b123cef Update rarfile 3.0 (3e54b22) → 3.0 (2704344). 2018-03-28 00:53:45 +01:00
JackDandy
9ce4e7c4d0 Update PySocks 1.6.5 (b4323df) → 1.6.8 (524ceb4). 2018-03-28 00:52:44 +01:00
JackDandy
12faaf3d9e Update Certifi 2017.07.27 (f808089) → 2018.01.18 (e225253). 2018-03-28 00:49:33 +01:00
JackDandy
8bd2cc37bf Update profilehooks 1.9.0 (de7d59b) → 1.10.0 (0ce1e29). 2018-03-28 00:48:25 +01:00
JackDandy
d0a53bb483 Update moment.js 2.17.1 → 2.21.0 2018-03-28 00:47:17 +01:00
JackDandy
d4c3255c37 Update jquery.form plugin 3.51.0 → 4.2.2 2018-03-28 00:46:20 +01:00
JackDandy
78026584eb Update IMDb 5.1 (r907) → 5.2.1dev20171113 (f640595).
Thanks to the backport by @MasterMind2k
2018-03-28 00:45:15 +01:00
JackDandy
cadd80adb5 * Update html5lib 0.99999999/1.0b9 (1a28d72) → 1.1-dev (e9ef538). 2018-03-28 00:44:16 +01:00
JackDandy
980e05cc99 Change Hachoir can't support PY2 so backport their PY3 to prevent a need for system dependant external binaries like mediainfo.
Backported 400 revisions from rev 1de4961-8897c5b (2018-2014).
Move core/benchmark, core/cmd_line, core/memory, core/profiler and core/timeout to core/optional/*
Remove metadata/qt*

PORT: Version 2.0a3 (inline with 3.0a3 @ f80c7d5).
Basic Support for XMP Packets.
tga: improvements to adhere more closely to the spec.
pdf: slightly improved parsing.
rar: fix TypeError on unknown block types.
Add MacRoman win32 codepage.
tiff/exif: support SubIFDs and tiled images.
Add method to export metadata in dictionary.
mpeg_video: don't attempt to parse Stream past length.
mpeg_video: parse ESCR correctly, add SCR value.
Change centralise CustomFragments.
field: don't set parser class if class is None, to enable autodetect.
field: add value/display for CustomFragment.
parser: inline warning to enable tracebacks in debug mode.
Fix empty bytestrings in makePrintable.
Fix contentSize in jpeg.py to account for image_data blocks.
Fix the ELF parser.
Enhance the AR archive parser.
elf parser: fix wrong wrong fields order in parsing little endian section flags.
elf parser: add s390 as a machine type.
Flesh out mp4 parser.

PORT: Version 2.0a1 (inline with 3.0a1).
Major refactoring and PEP8.
Fix ResourceWarning warnings on files. Add a close() method and support for the context manager protocol ("with obj: ...") to parsers, input and output streams.
metadata: get comment from ZIP.
Support for InputIOStream.read(0).
Fix sizeGe when size is None.
Remove unused new_seekable_field_set file.
Remove parser Mapsforge .map.
Remove parser Parallel Realities Starfighter .pak files.
sevenzip: fix for newer archives.
java: update access flags and modifiers for Java 1.7 and update description text for most recent Java.
Support ustar prefix field in tar archives.
Remove file_system* parsers.
Remove misc parsers 3d0, 3ds, gnome_keyring, msoffice*, mstask, ole*, word*.
Remove program parsers macho, nds, prc.
Support non-8bit Character subclasses.
Python parser supports Python 3.7.
Enhance mpeg_ts parser to support MTS/M2TS.
Support for creation date in tiff.
Change don't hardcode errno constant.

PORT: 1.9.1
Internal Only: The following are legacy reference to upstream commit messages.
Relevant changes up to b0a115f8.
Use integer division.
Replace HACHOIR_ERRORS with Exception.
Fix metadata.Data: make it sortable.
Import fixes from e7de492.
PORT: Version 2.0a1 (inline with 3.0a1 @ e9f8fad).
Replace hachoir.core.field with hachoir.field
Replace hachoir.core.stream with hachoir.stream
Remove the compatibility module for PY1.5 to PY2.5.
metadata: support TIFF picture.
metadata: fix string normalization.
metadata: fix datetime regex Fix hachoir bug #57.
FileFromInputStream: fix comparison between None and an int.
InputIOStream: open the file in binary mode.
2018-03-28 00:43:11 +01:00
JackDandy
8fe34fb5eb Update feedparser library 5.2.1 (f1dd1bb) → 5.2.1 (5646f4c) - Uses the faster cchardet if installed. 2018-03-28 00:41:58 +01:00
JackDandy
929c6a71ae Update dateutil library 2.6.1 (2f3a160) → 2.7.2 (ff03c0f) 2018-03-28 00:40:29 +01:00
JackDandy
2e0de9480c Update chardet packages 3.0.4 (9b8c5c2) → 4.0.0 (b3d867a). 2018-03-28 00:34:26 +01:00
JackDandy
1fb4330d1e Update cachecontrol library 0.12.3 (db54c40) → 0.12.4 (bc43a32) 2018-03-28 00:32:04 +01:00
JackDandy
0c30a21968 Update backports/ssl_match_hostname 3.5.0.1 (r18) → 3.7.0.1 (r28). 2018-03-27 12:41:33 +01:00
JackDandy
e16653c817 Change bump version for dev cycle. 2018-03-24 05:15:11 +00:00
JackDandy
5a53eb72da Fix Growl display correct message on test notification success + change notification icon. 2018-03-23 23:02:59 +00:00
JackDandy
478565413b Prepare release, bump date. 2018-03-22 00:00:22 +00:00
JackDandy
ae6289695f Change notify enabled Emby, Kodi, and Plex clients to update on deleted. 2018-03-20 14:17:41 +00:00
JackDandy
f213cd9ccc Merge branch 'master' into develop 2018-03-19 13:13:19 +00:00
JackDandy
9225c84016 Change remove dead tor caches and stop searching episodes that have a magnet saved.
Change AlphaRatio provider freeleech mode; prevent spoiling user ratio from ambiguous filtered results.

The AR "Freeleech" search filter has changed to additionally return "Timed" and "Expired" freeleech items. However, this change makes results ambiguous to the point that a ratio can be ruined if an item snatched is expired or expiring. Therefore, when freeleech mode is active for this provider, all except pure *freeleech* items are discarded from results.
2018-03-19 13:11:25 +00:00
JackDandy
2155d5205b Add showRSS torrent provider. 2018-03-19 13:09:01 +00:00
JackDandy
ae7cdbd3cf Change some log messages from info to debug type. 2018-03-19 11:36:05 +00: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
d109b752db Merge branch 'master' into develop 2018-03-13 22:05:25 +00:00
JackDandy
8d30118e14 Fix changing status from "Skipped" to "Wanted" in Manage/Episode Status. 2018-03-13 22:02:53 +00:00
JackDandy
f1768f68e8 Merge branch 'master' into develop 2018-03-12 21:29:10 +00:00
JackDandy
3ea006912d Add DrunkenSlug usenet provider and fix PiSexy torrent provider. 2018-03-12 21:25:24 +00:00
JackDandy
8d9406d5fc Add choose to delete watched episodes from a list of played media at Kodi, Emby, and/or Plex.
Add episode watched state system that integrates with Kodi, Plex, and/or Emby, instructions at Shows/History/Layout/"Watched".
Add installable SickGear Kodi repository containing addon "SickGear Watched State Updater".
Change add Emby setting for watched state scheduler at Config/Notifications/Emby/"Update watched interval".
Change add Plex setting for watched state scheduler at Config/Notifications/Plex/"Update watched interval".
Add API cmd=sg.updatewatchedstate, instructions for use are linked to in layout "Watched" at /history.
Change history page table filter input values are saved across page refreshes.
Change history page table filter inputs, accept values like "dvd or web" to only display both.
Change history page table filter inputs, press 'ESC' key inside a filter input to reset it.
Add provider activity stats to Shows/History/Layout/ drop down.
Change move provider failures table from Manage/Media Search to Shows/History/Layout/Provider fails.
Change sort provider failures by most recent failure, and with paused providers at the top.
Change remove table form non-testing version 20007, that was reassigned.
2018-03-06 02:12:45 +00:00
JackDandy
04c129be4f Merge branch 'master' into develop 2018-03-05 16:00:14 +00:00
JackDandy
a71e186973 Fix saving multiple account "Update collection" selection at config/notifications Trakt.
Change config/notifications remove redundant values being sent when saving.
2018-03-05 15:40:07 +00:00
Prinz23
ab3e6e0649 Fix Trakt, recommended and watchlist (send_oauth is now sent). 2018-03-01 15:59:17 +00:00
JackDandy
275f4f157b Merge branch 'master' into develop 2018-02-23 22:15:55 +00:00
JackDandy
a08fb81b40 Fix sending notification on snatch or download to Kodi/Emby.
Fix config/notifications/Pushover priority selector.
Remove NZB.is and HD4Free providers.
2018-02-23 22:13:58 +00:00
JackDandy
1d09d1f4da Merge branch 'master' into develop 2018-02-19 00:00:26 +00:00
JackDandy
02c6eb1f56 Add Paramount Network icon.
Change strict modes for a couple of subliminal cases.
2018-02-18 23:52:44 +00:00
Prinz23
ff04e234d0 Change relax strict mode from subtitle languages and show unknown.png flag for 'Undetermined' subtitle languages.
The strict parameter for languages simply raises a ValueError instead of returning Undetermined as language if unknown language is used.
2018-02-18 04:28:34 +00:00
JackDandy
704d0acf5d Merge branch 'master' into develop 2018-02-13 13:04:53 +00:00
JackDandy
a1566c7418 Change improve thetvdb api response handling. 2018-02-13 13:02:32 +00:00
JackDandy
875530ce5a Merge branch 'master' into develop 2018-02-07 16:04:23 +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
d89c8a0fb3 Add non standard multi episode name parsing e.g. S01E02and03 and 1x02and03and04. 2018-02-07 02:00:33 +00:00
JackDandy
8d9f7e816d Change removed NZBGet 'remote' PostProcess guidance until it is verified to work. 2018-02-06 21:51:09 +00:00
JackDandy
50b7551d91 Fix API typo and a regression 'archivefirstmatch'. 2018-02-06 00:18:01 +00:00
Prinz23
6f9db7f3b4 Add SickGear-NZBGet dedicated post processing script, see.. \autoProcessTV\SickGear-NG\INSTALL.txt 2018-02-05 23:51:37 +00:00
JackDandy
f7f59f2aac Merge branch 'master' into develop 2018-02-03 22:57:44 +00: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
Prinz23
8df50c6cdf Change remove some non-release group stuff from newnab results. 2018-02-02 04:25:37 +00:00
Prinz23
fe1aabca00 Change overhaul and add API functions
Change API version... start with 10
Change set application response header to 'SickGear' + add API version
Change return timezone (of network) in API
Add indexer to calls
Add SickGear Command tip for old SickBeard commands
Add warning old sickbeard API calls only support tvdb shows
Add "tvdbid" fallback only for sickbeard calls
Add listcommands
Add list of all commands (old + new) in listcommand page at the beginning
Change hide 'listcommands' command from commands list, since it needs the API builder CSS + is html not json
Add missing help in webapi
Add episode info: absolute_number, scene_season, scene_episode, scene_absolute_number
Add fork to SB command
Add sg
Add sg.activatescenenumbering
Add sg.addrootdir
Add sg.checkscheduler
Add sg.deleterootdir
Add sg.episode
Add sg.episode.search
Add sg.episode.setstatus
Add sg.episode.subtitlesearch
Add sg.exceptions
Add sg.forcesearch
Add sg.future
Add sg.getdefaults
Add sg.getindexericon
Add sg.getindexers to list all indexers
Add sg.getmessages
Add sg.getnetworkicon
Add sg.getrootdirs
Add sg.getqualities
Add sg.getqualitystrings
Add sg.history
Add sg.history.clear
Add sg.history.trim
Add sg.listtraktaccounts
Add sg.listignorewords
Add sg.listrequiedwords
Add sg.logs
Add sg.pausebacklog
Add sg.postprocess
Add sg.ping
Add sg.restart
Add sg.searchqueue
Add sg.searchtv to search all indexers
Add sg.setexceptions
Add sg.setignorewords
Add sg.setrequiredwords
Add sg.setscenenumber
Add sg.show
Add sg.show.addexisting
Add sg.show.addnew
Add sg.show.cache
Add sg.show.delete
Add sg.show.getbanner
Add sg.show.getfanart
Add sg.show.getposter
Add sg.show.getquality
Add sg.show.listfanart
Add sg.show.ratefanart
Add sg.show.seasonlist
Add sg.show.seasons
Add sg.show.setquality
Add sg.show.stats
Add sg.show.refresh
Add sg.show.pause
Add sg.show.update
Add sg.shows
Add sg.shows.browsetrakt
Add sg.shows.forceupdate
Add sg.shows.queue
Add sg.shows.stats

Change sickbeard to sickgear
Change sickbeard_call to property
Change sg.episode.setstatus allow setting of quality
Change sg.history, history command output
Change sg.searchtv to list of indexers
Add uhd4kweb to qualities
Add upgrade_once to add existing shows
Add upgrade_once to add new show
Add upgrade_once to show quality settings (get/set)
Add 'ids' to Show + Shows
Add ids to coming eps + get tvdb id from ids
Add 'status_str' to coming eps
Add 'local_datetime' to comming eps + runtime
Add X-Filename response header to getbanner, getposter
Add X-Fanartname response header for sg.show.getfanart

Add missing fields to sb.show
Add missing fields to sb.shows
Change sb.seasons
Change overview optional
Change make overview optional in shows
Add setscenenumber to API builder
Change move set_scene_numbering_helper into scnene_numbering for use in web interface and API
Change use quality_map instead of fixed list
Add eigthlevel for API/builder page
Change limit indexer param to valid values
Fix wrong parameter in existing apiBuilder.tmpl that prevents javascript from continuing + add console error message for it
Fixed: filter missed shows correctly
Add @gen.coroutine
2018-02-02 03:12:07 +00:00
JackDandy
776dd57ee9 Prepare release, bump date. 2018-02-01 02:25:05 +00:00
Prinz23
6c3f70c2fe Fix web type detection for new propers. 2018-01-31 19:56:14 +00:00
JackDandy
555a69597d Change TBy prov add UHD cat. 2018-01-30 17:38:46 +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
JackDandy
37b04e5e6f Change ManageSearches layout between collapsed Provider Failures tables from single to multi line. 2018-01-27 19:45:07 +00:00
JackDandy
56d8fffb9f Change UI footer tweaks + only display footer propers time if option is actually enabled. 2018-01-27 17:00:52 +00:00
JackDandy
3c0d0f5b00 Add footer icon button to switch time layouts. 2018-01-26 21:27:09 +00:00
JackDandy
2d858f452e Fix save option display freespace. 2018-01-26 10:45:07 +00:00
JackDandy
57851d63b7 Merge branch 'master' into develop 2018-01-26 10:38:01 +00:00
JackDandy
4bfca483af Fix saving config general. 2018-01-26 10:33:07 +00:00
JackDandy
0ead7771de Change improve the manage searches error stats UI and backend functions.
Add the improved error handling to torrent providers.
Change cache_db to always include db upgrade statements when running SG for the first time.
Change split newznab limit logic into a reusable function, hit_limit_update() and use in BTN prov.
Change tweak CSS to make things a little neater with button spacings.
Add the actual time when current limit will expire to the UI.
Change instead of terminology "errors", use "failures".
Change improve BTN error handling.
Change ensure provider name is output to log at times where it wasn't.
Change ensure failed request URLs and POST params are output to log.
Add time of last failure + type to should_skip log message.
Change code DRY and simplification for improved readability.
Change occurrences of "error" to "fail" for consistency.
Add tmr limit handling to omg and change log_failure_url level to warning.
Change log the failed URL when an API hit limit is reached.
Change "hit" to the more universally generic "tmr" - Too Many Requests.
Change Db columns containing "hit_" are renamed "tmr_"
2018-01-26 01:35:02 +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
c1b1b36c3f Merge branch 'master' into develop 2018-01-25 19:59:01 +00:00
JackDandy
4dea2ad022 Add config/general/web interface/send security headers (default enabled).
Change use bare minimum requests for all usenet_crawler search modes.
Change use RSS endpoint for usenet_crawler in cache mode.
Fix ensure remaining unicode shownames are correctly 'UTF-8' and url encoded.
Fix omgwtf test of invalid auth, issue when enabling propers, and updating cache.
Change refactor shownames list into reusable show_name_helper methods.
Add season specific naming exceptions to nzb + btn.
2018-01-25 19:49:28 +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
16965960db Merge branch 'master' into develop 2018-01-16 01:18:56 +00:00
JackDandy
9ba8a206e3 Remove provider TorrentVault. 2018-01-16 01:11:46 +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
1f057a4f3c Change improve media process to parse anime format 'Show Name 123 - 001 - Ep 1 name'. 2018-01-12 22:12:34 +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
f628f26027 Merge branch 'master' into develop 2018-01-08 17:19:02 +00:00
Prinz23
e58436e85d Fix "Upgrade once" for wanted qualities.
Fix criteria selection for "Upgrade once" shows: manual searches and/or if episode is set to unwanted quality.
Add unit test of wantedQualities to common_tests.py
2018-01-08 17:16:11 +00:00
Prinz23
9f04beeabb Fix Events shutdown (a manual start-up is required after updating to this fix). 2018-01-04 16:47:44 +00:00
JackDandy
149ea890c6 Merge branch 'master' into develop 2018-01-02 15:37:55 +00:00
JackDandy
2536c4b7d8 Fix marking episode as to upgrade. 2018-01-02 15:35:33 +00:00
Prinz23
c4e227b583 Change improve core scheduler logic.
Add pause support to scheduler.
Add optional check_paused in scheduler that can be integrated into action classes.
Add check to config.py change events.
Change integrate check_paused into auto_post_processer, search_propers, subtitles.
Change rename _pause to _unpause to prevent confusion of meaning.
2017-12-27 18:01:00 +00:00
JackDandy
1cec88c5a2 Fix HD4Free provider. 2017-12-27 15:32:38 +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
8d97f2664a Add ETTV and PotUK providers, fix BTScene and Lime. 2017-12-22 19:37:14 +00:00
Prinz23
f1958535d2 Change improve usage of the optional regex library.
Limit possible regex errors to 20% of extra_info up to max 3 errors.
2017-12-13 02:02:23 +00:00
JackDandy
ad63608cad Change improve multi episode release search. 2017-12-13 01:41:34 +00:00
JackDandy
0e343485b3 Change delete unused html5lib files that can cause issue with search providers. 2017-12-11 21:38:41 +00:00
JackDandy
3848569fe4 Fix MediaBrowser Season##\metadata. 2017-12-11 16:36:10 +00:00
Prinz23
68fa29e77a Change restore fetching metadata episode thumbs.
Add get_episode_data in tvdb_api v2

Usage:
lINDEXER_API_PARMS = sickbeard.indexerApi(show.indexer).api_params.copy()
t = sickbeard.indexerApi(show.indexer).indexer(**lINDEXER_API_PARMS)
ep_data = t.get_episode_data(episodeid)
2017-12-10 20:23:45 +00:00
JackDandy
9005409c84 Fix tools menu on Chrome mobile browser. 2017-12-08 16:01:50 +00:00
Prinz23
610ced28b8 Fix wanted episodes. 2017-12-07 15:28:54 +00:00
JackDandy
caf26a2962 Prepare release, bump date. 2017-12-06 18:50:38 +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