Commit graph

2213 commits

Author SHA1 Message Date
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