Commit graph

633 commits

Author SHA1 Message Date
JackDandy
851f58122f Add HorribleSubs torrent provider. 2018-05-25 00:53:26 +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
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
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
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
78c9c7dc5c Add Xspeeds torrent provider. 2018-04-28 16:06:30 +01:00
JackDandy
a6f7ab47e2 Merge branch 'master' into develop 2018-04-26 15:32:07 +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
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
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
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
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
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
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
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
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
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
Prinz23
8df50c6cdf Change remove some non-release group stuff from newnab results. 2018-02-02 04:25:37 +00:00
JackDandy
555a69597d Change TBy prov add UHD cat. 2018-01-30 17:38:46 +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
Prinz23
f9cc6ed330 Add provider error table to page Manage/Media Search.
Add failure handling, skip provider for x hour(s) depending on count of failures.
Add detection of api hit limit reached.
Add failure count to omgwtfnzbs.
Change improve categories selection (manual search for example).
2018-01-25 20:48:24 +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
Prinz23
11dfd66efd Fix ensure url unicode shownames are correctly 'UTF-8' and urlencoded.
Refactor shownames list into generic provider method, reusable in multiple providers.
Add remove English at the end of release names (drunkenslug).
2018-01-25 16:14:39 +00:00
JackDandy
9ba8a206e3 Remove provider TorrentVault. 2018-01-16 01:11:46 +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