Commit graph

2236 commits

Author SHA1 Message Date
Prinz23
7a1524f136 Fix anime parser and anime PROPER level. 2018-05-25 00:40:16 +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
84840e716b Fix authorisation issue affecting some providers. 2018-05-17 15:35:54 +01:00
Prinz23
1b835fb85e Fix changing master id via search method. 2018-05-17 04:37:40 +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
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
15accaa107 Fix PiSexy torrent provider. 2018-05-03 12:06:27 +01:00
JackDandy
807945e7ee Fix issue on displayShow. 2018-05-02 13:57: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
26fd782b79 Fix IMDb links to older shows on displayShow and editShow. 2018-05-01 13:20:24 +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