Commit graph

2306 commits

Author SHA1 Message Date
JackDandy
7028bb2f4a Add TVDB, TheXem, and GitHub buttons to page History/Layout "Provider fails" that fetches a site Up/Down report. 2018-05-30 20:38:22 +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
2f24a3c8e4 Merge branch 'master' into develop 2018-05-26 19:01:51 +01:00
JackDandy
0bfefa8121 Fix rare case recovery after a server has been down.
Change update pa provider URLs.
2018-05-26 18:01:09 +01:00
Prinz23
0644ec2e61 Change add blacklog search terms for anime PROPERS. 2018-05-26 17:16:40 +01:00
JackDandy
851f58122f Add HorribleSubs torrent provider. 2018-05-25 00:53:26 +01:00
JackDandy
1b186c2c38 Merge branch 'master' into develop 2018-05-25 00:45:44 +01:00
Prinz23
7a1524f136 Fix anime parser and anime PROPER level. 2018-05-25 00:40:16 +01:00
JackDandy
e176e561ba Merge branch 'master' into develop 2018-05-21 23:57:52 +01:00
JackDandy
a9500e01d5 Fix utf8 in folders for SickGear-NG.py post processing script, script version bumped 1.5 to 1.6.
Remove NMA notifier.
2018-05-21 23:44:23 +01:00
Prinz23
0dce254473 Fix importing TV shows with utf8 characters in parent folders on Windows.
Fix import; add unicode encoding for str values of args and kwargs to ek.ek on Windows.
Fix incorrect logic mixing seasons (All wanted episode numbers are checked against all season, not just the season belonging to the episode number).
2018-05-21 23:20:06 +01:00
JackDandy
4cdcebb31d Merge branch 'master' into develop 2018-05-17 15:42:06 +01:00
JackDandy
84840e716b Fix authorisation issue affecting some providers. 2018-05-17 15:35:54 +01:00
JackDandy
531491f30c Merge branch 'master' into develop 2018-05-17 04:39:52 +01:00
Prinz23
1b835fb85e Fix changing master id via search method. 2018-05-17 04:37:40 +01:00
JackDandy
aab67a45f7 Change consolidate provider filters into 'Only allow releases that are'.
Add provider filters, Only allow releases that are ...
  'scene releases (srrDB/predb listed)', 'or contain' text or regex,
  'non scene if no recent search results', 'non scene if no active search results',
  'not scene nuked', and 'nuked if no active search results'.

Add scene release checking to PROPER search task.
Change refactor core Proper functions.
Pep8 common tests.
2018-05-17 04:18:44 +01:00
JackDandy
36251ec71f Add ImmortalSeed torrent provider. 2018-05-17 01:07:25 +01:00
JackDandy
17a42dc188 Merge branch 'master' into develop 2018-05-14 01:31:19 +01:00
JackDandy
366c5ed745 Fix SpeedCD. 2018-05-14 01:25:32 +01:00
JackDandy
e35375f5ef Change search only once per cycle for shows with multiple episodes that air on the same day. 2018-05-14 01:16:50 +01:00
Prinz23
6d0bcddd03 Change improve handling tvdb_api data when adding upcoming shows with unfilled data.
Change handle exceptions raised while creating show or episode metadata.
Fix shows with no episode data (prevent exception).
2018-05-14 01:06:21 +01:00
Prinz23
0fe11e4d7f Change improve tolerance to parse a release title with a badly placed episode name.
Add extra_info_no_name() tests to name_parser_tests.
2018-05-14 01:01:57 +01:00
JackDandy
3a27a78125 Add HDME torrent provider. 2018-05-08 18:43:24 +01:00
JackDandy
0b7b0f1401 Merge branch 'master' into develop 2018-05-08 00:53:34 +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
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
6a9e349f6f Merge branch 'master' into develop 2018-05-03 12:07:48 +01:00
JackDandy
15accaa107 Fix PiSexy torrent provider. 2018-05-03 12:06:27 +01:00
JackDandy
6263656fca Merge branch 'master' into develop 2018-05-02 13:58:20 +01:00
JackDandy
807945e7ee Fix issue on displayShow. 2018-05-02 13:57:11 +01:00
JackDandy
30f5bcd82a Merge branch 'master' into develop 2018-05-02 00:30:11 +01:00
JackDandy
a88696e421 Change use copy of showObj for UI to preserve original object structs. 2018-05-02 00:27:02 +01:00
JackDandy
1895490dc9 Merge branch 'master' into develop 2018-05-01 13:21:32 +01:00
JackDandy
26fd782b79 Fix IMDb links to older shows on displayShow and editShow. 2018-05-01 13:20:24 +01:00
JackDandy
78c9c7dc5c Add Xspeeds torrent provider. 2018-04-28 16:06:30 +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
Prinz23
f8fd89baeb Fix marking episodes wanted due to parsing malformed non-anime release name as an anime season pack.
Change disallow anime regex matches for non-anime shows.
Change add unit test for invalid (numbered) show releases (non-anime show with anime numbering).
Change speed optimization, compile static name parser regexes once, instead of for every NameParser instance.
Change remove redundant create regexs log messages removing <10% log spam.
2018-04-26 01:48:23 +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
a0a682b02e Change search show result 'exists in db' text into a link to display show page. 2018-04-19 23:09:15 +01:00
JackDandy
668c682310 Merge branch 'master' into develop 2018-04-19 14:16:43 +01:00
JackDandy
d9e03aa1fb Change improve searching torrent provider BTScene.
Change improve text for abandoned show IDs.
Change DRY refactor provider result creation.
Change catch failures to shutdown Emby socket.
2018-04-19 13:57:47 +01:00
Prinz23
d52024eabe Fix API endpoints for sg.exceptions and exceptions. 2018-04-19 13:19:12 +01:00
Prinz23
c1d3487a21 Change increase namecache size and fix deleting items from it when at capacity.
Add thread lock to NameParserCache.
Add exception handling for add to cache.
Change increase NameParserCache to 1000 entries.
Change NameParserCache to OrderedDefaultdict.
Add move_to_end to OrderedDefaultdict class (backported from python 3).
Add first_key, last_key to OrderedDefaultdict.
Change use much faster first_key in NameParserCache.
Change remove import of python pre 2.7 OrderedDict.
2018-04-17 23:59:20 +01:00
JackDandy
0c276e81fb Merge branch 'master' into develop 2018-04-17 15:28:39 +01:00
JackDandy
aa0933209e Fix ETTV torrent provider. 2018-04-17 15:26:17 +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
Prinz23
3de96d6440 Update Tornado Web Server 5.0.1 (35a538f) → 5.1.dev1 (415f453) 2018-04-13 13:02:35 +01:00
JackDandy
3cafa6b472 Merge branch 'master' into develop 2018-04-13 12:24:58 +01:00
JackDandy
12363d01d5 Change various providers.
Change accept theTVDB Url in addshow search field.
Change Nzb.org usenet provider add config scene only/nuked.
Change SpeedCD torrent provider improve copy/paste cookie support.
Change BTScene, LimeTorrents, SkyTorrents, Torlock, Torrentz, TPB torrent providers.
Add AlphaReign, EZTV torrent providers.
2018-04-13 12:11:21 +01:00
JackDandy
bad4de3752 Merge branch 'master' into develop 2018-04-07 20:51:28 +01:00
JackDandy
bd8f0a7b61 Change when adding a show, display show title instead of '[]'.
Change consolidate show data validator into base class.
Change move validator test to inside the respective tvinfo source getter for future proofing.
2018-04-07 20:49:12 +01:00
Prinz23
3b61e5e821 Fix metadata show not found. 2018-04-07 20:35:31 +01:00
JackDandy
315430d373 Merge branch 'master' into develop 2018-04-07 00:17:11 +01:00
Prinz23
410251eaf2 Change improve tvinfo source meta handling for cases where server is either down, or no results are returned. 2018-04-07 00:14:13 +01:00
JackDandy
7683ee99bd Merge branch 'master' into develop 2018-04-06 13:29:48 +01:00
JackDandy
a2908a62a9 Change improve metadata handler during postprocessing when tvinfo source is down.
Fix Torrentz2 filter spam.
2018-04-06 13:27:40 +01:00
JackDandy
d1e3e29668 Merge branch 'master' into develop 2018-04-04 21:14:34 +01:00
JackDandy
75b1787e73 Remove GFT torrent provider. 2018-04-04 21:13:04 +01:00
JackDandy
7c53e1e5f6 Change remove redundant xsrf handling for POSTs that don't use web and API. 2018-04-04 00:11:17 +01:00
JackDandy
41923ff208 Merge branch 'master' into develop 2018-04-03 16:18:42 +01:00
JackDandy
a342acea5a Fix Torrentleech provider. 2018-04-03 16:14:54 +01:00
JackDandy
7041713650 Change pick up the stragglers late to the more security party. 2018-04-03 00:05:13 +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
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
Prinz23
e8ade6ffcf Update Tornado Web Server 4.5.1 (79b2683) → 5.0.1 (35a538f). 2018-03-28 01:24:09 +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
929c6a71ae Update dateutil library 2.6.1 (2f3a160) → 2.7.2 (ff03c0f) 2018-03-28 00:40:29 +01:00
JackDandy
5a53eb72da Fix Growl display correct message on test notification success + change notification icon. 2018-03-23 23:02:59 +00:00
Prinz23
c6e47a9bed Fix overwriting repack where renamed filename has '-' in title.
Change prevent overwriting release_name field with filename, if already set.
2018-03-23 23:02:58 +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
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
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
JackDandy
9abc7e0105 Change DRY the browse_trakt function that was duplicated with slight changes for API. 2018-02-02 03:42:11 +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