You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3114 lines
230 KiB

import unittest
import warnings
warnings.filterwarnings('ignore', module=r'.*fuz.*', message='.*Sequence.*')
import sys
import os.path
sys.path.insert(1, os.path.abspath('..'))
from sickbeard import common
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
from sickbeard.common import Quality, WantedQualities
from sickbeard.name_parser.parser import NameParser
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
from six import iteritems
quality_tests = {
common.Quality.SDTV: [
'Test.Show.S01E02.PDTV.XViD-GROUP',
'Test.Show.S01E02.PDTV.x264-GROUP',
'Test.Show.S01E02.HDTV.XViD-GROUP',
'Test.Show.S01E02.HDTV.x264-GROUP',
'Test.Show.S01E02.DSR.XViD-GROUP',
'Test.Show.S01E02.DSR.x264-GROUP',
'Test.Show.S01E02.TVRip.XViD-GROUP',
'Test.Show.S01E02.TVRip.x264-GROUP',
'Test.Show.S01E02.WEBRip.XViD-GROUP',
'Test.Show.S01E02.WEBRip.x264-GROUP',
'Test.Show.S01E02.Web-Rip.x264.GROUP',
'Test.Show.S01E02.WEB-DL.x264-GROUP',
'Test.Show.S01E02.WEB-DL.AAC2.0.H.264-GROUP',
'Test.Show.S01E02 WEB-DL H 264-GROUP',
'Test.Show.S01E02_WEB-DL_H_264-GROUP',
'Test.Show.S01E02.WEB-DL.AAC2.0.H264-GROUP',
'Test.Show.S01E02.HDTV.AAC.2.0.x264-GROUP',
'Test.Show.S01E02.HDTV.DD5.1.XViD-GROUP',
'Test.Show.S01E02.HDTV.DD7.1.h.264-GROUP',
'Test.Show.S01E02.WEB-DL.DD5.1.h.264-GROUP',
'Test.Show.S01E02.WEB.h264-GROUP',
'Test.Show.S01E02.WEB.x264-GROUP',
'Test.Show.S01E02.WEB.h265-GROUP',
'Test.Show.S01E02.WEB.x265-GROUP',
'Test.Show.S01E02.WEB.VP9-GROUP',
'Test.Show.S01E02.WEB.AV1-GROUP',
'Test.Show.S01E02.WEBRip.h264-GROUP',
'Test.Show.S01E02.WEBRip.x264-GROUP'],
common.Quality.SDDVD: [
'Test.Show.S01E02.DVDRiP.XViD-GROUP',
'Test.Show.S01E02.DVDRiP.DiVX-GROUP',
'Test.Show.S01E02.DVDRiP.x264-GROUP',
'Test.Show.S01E02.DVDRip.WS.XViD-GROUP',
'Test.Show.S01E02.DVDRip.WS.DiVX-GROUP',
'Test.Show.S01E02.DVDRip.WS.x264-GROUP',
'Test.Show-S01E02-Test.Dvd Rip',
'Test.Show.S01E02.BDRIP.XViD-GROUP',
'Test.Show.S01E02.BDRIP.DiVX-GROUP',
'Test.Show.S01E02.BDRIP.x264-GROUP',
'Test.Show.S01E02.BDRIP.VP9-GROUP',
'Test.Show.S01E02.BDRIP.WS.XViD-GROUP',
'Test.Show.S01E02.BDRIP.WS.DiVX-GROUP',
'Test.Show.S01E02.BDRIP.WS.x264-GROUP'],
common.Quality.HDTV: [
'Test.Show.S01E02.720p.HDTV.x264-GROUP',
'Test.Show.S01E02.720p.HDTV.VP9-GROUP',
'Test.Show.S01E02.HR.WS.PDTV.x264-GROUP',
'Test.Show.S01E02.720p.AHDTV.x264-GROUP'],
common.Quality.RAWHDTV: [
'Test.Show.S01E02.720p.HDTV.DD5.1.MPEG2-GROUP',
'Test.Show.S01E02.1080i.HDTV.DD2.0.MPEG2-GROUP',
'Test.Show.S01E02.1080i.HDTV.H.264.DD2.0-GROUP',
'Test Show - S01E02 - 1080i HDTV MPA1.0 H.264 - GROUP',
'Test.Show.S01E02.1080i.HDTV.DD.5.1.h264-GROUP'],
common.Quality.FULLHDTV: [
'Test.Show.S01E02.1080p.HDTV.x264-GROUP',
'Test.Show.S01E02.1080p.HDTV.vp9-GROUP',
'Test.Show.S01E02.1080p.AHDTV.x264-GROUP'],
common.Quality.HDWEBDL: [
'Test.Show.S01E02.720p.WEB-DL-GROUP',
'Test.Show.S01E02.720p.WEBRip-GROUP',
'Test.Show.S01E02.WEBRip.720p.H.264.AAC.2.0-GROUP',
'Test.Show.S01E02.720p.WEB-DL.AAC2.0.H.264-GROUP',
'Test Show S01E02 720p WEB-DL AAC2 0 H 264-GROUP',
'Test_Show.S01E02_720p_WEB-DL_AAC2.0_H264-GROUP',
'Test.Show.S01E02.720p.WEB-DL.AAC2.0.H264-GROUP',
'Test.Show.S01E02.720p.iTunes.Rip.H264.AAC-GROUP',
'Test.Show.s01e02.WEBDL.720p.GROUP',
'Test Show s01e02 WEBDL 720p GROUP',
'Test Show S01E02 720p WEB-DL AVC-GROUP',
'Test.Show.S01E02.WEB-RIP.720p.GROUP',
'Test.Show.S01E02.720p.WEB.h264-GROUP',
'Test.Show.S01E02.720p.WEB.x264-GROUP',
'Test.Show.S01E02.720p.WEB.h265-GROUP',
'Test.Show.S01E02.720p.WEB.x265-GROUP',
'Test.Show.S01E02.720p.WEB.vp9-GROUP',
'Test.Show.S01E02.720p.WEBRip.h264-GROUP',
'Test.Show.S01E02.720p.WEBRip.x264-GROUP'],
common.Quality.FULLHDWEBDL: [
'Test.Show.S01E02.1080p.WEB-DL-GROUP',
'Test.Show.S01E02.1080p.WEBRip-GROUP',
'Test.Show.S01E02.WEBRip.1080p.H.264.AAC.2.0-GROUP',
'Test.Show.S01E02.WEBRip.1080p.H264.AAC.2.0-GROUP',
'Test.Show.S01E02.1080p.iTunes.H.264.AAC-GROUP',
'Test Show S01E02 1080p iTunes H 264 AAC-GROUP',
'Test_Show_S01E02_1080p_iTunes_H_264_AAC-GROUP',
'Test.Show.s01e02.WEBDL.1080p.GROUP',
'Test Show s01e02 WEBDL 1080p GROUP',
'Test Show S01E02 1080p WEB-DL AVC-GROUP',
'Test.Show.S01E02.WEB-RIP.1080p.GROUP',
'Test.Show.S01E02.1080p.WEB.h264-GROUP',
'Test.Show.S01E02.1080p.WEB.x264-GROUP',
'Test.Show.S01E02.1080p.WEB.h265-GROUP',
'Test.Show.S01E02.1080p.WEB.x265-GROUP',
'Test.Show.S01E02.1080p.WEB.VP9-GROUP',
'Test.Show.S01E02.1080p.WEBRip.h264-GROUP',
'Test.Show.S01E02.1080p.WEBRip.x264-GROUP'],
common.Quality.HDBLURAY: [
'Test.Show.S01E02.720p.BluRay.x264-GROUP',
'Test.Show.S01E02.720p.BluRay.vp9-GROUP',
'Test.Show.S01E02.720p.HDDVD.x264-GROUP',
'Test.Show.S01E02.720p.Blu-ray.x264-GROUP'],
common.Quality.FULLHDBLURAY: [
'Test.Show.S01E02.1080p.BluRay.x264-GROUP',
'Test.Show.S01E02.1080p.HDDVD.x264-GROUP',
'Test.Show.S01E02.1080p.Blu-ray.x264-GROUP',
'Test.Show.S01E02.1080p.Blu-ray.vp9-GROUP',
'Test Show S02 1080p Remux AVC FLAC 5.1'],
common.Quality.UHD4KWEB: [
'Test.Show.S01E02.2160p.WEBRip.h264-GROUP',
'Test.Show.S01E02.2160p.WEBRip.x264-GROUP',
'Test.Show.S01E02.2160p.WEBRip.x265-GROUP',
'Test.Show.S01E02.2160p.WEBRip.vp9-GROUP'],
common.Quality.UNKNOWN: ['Test.Show.S01E02-SiCKGEAR']
}
class QualityTests(unittest.TestCase):
def check_quality_names(self, quality, cases):
for fn in cases:
second = common.Quality.nameQuality(fn)
self.assertEqual(quality, second, msg='fail [%s] != [%s] for case: %s' %
(Quality.qualityStrings[quality], Quality.qualityStrings[second], fn))
def check_proper_level(self, cases, is_anime=False):
np = NameParser(False, indexer_lookup=False, testing=True)
for case, level in cases:
p = np.parse(case)
second = common.Quality.get_proper_level(p.extra_info_no_name(), p.version, is_anime)
self.assertEqual(level, second, 'fail %s != %s for case: %s' % (level, second, case))
def check_wantedquality_list(self, cases):
for show_quality, result in cases:
sq = common.Quality.combineQualities(*show_quality)
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
wd = common.WantedQualities()
_ = wd.get_wantedlist(sq, False, common.Quality.NONE, common.UNAIRED, manual=True)
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
for w, v in iteritems(wd):
if w == sq:
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
for u, o in sorted(iteritems(v)):
self.assertEqual(o, result.get(u))
def check_wantedquality_get_wantedlist(self, cases):
for show_quality, result in cases:
sq = common.Quality.combineQualities(*show_quality)
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
wd = common.WantedQualities()
for case, wlist in result:
ka = {'qualities': sq}
ka.update(case)
res = wd.get_wantedlist(**ka)
self.assertEqual(res, wlist)
def check_sceneQuality(self, cases):
msg = 'Test case: "%s", actual: [%s] != expected: [%s]'
for show_name, result in cases:
sq = common.Quality.sceneQuality(show_name[0], show_name[1])
self.assertEqual(result, sq, msg=msg % (show_name[0], Quality.qualityStrings[sq],
Quality.qualityStrings[result]))
# TODO: repack / proper ? air-by-date ? season rip? multi-ep?
def test_SDTV(self):
self.assertEqual(common.Quality.compositeStatus(common.DOWNLOADED, common.Quality.SDTV),
common.Quality.statusFromName('Test.Show.S01E02-GROUP.mkv'))
def test_qualites(self):
self.longMessage = True
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
for q, l in iteritems(quality_tests):
self.check_quality_names(q, l)
def test_reverse_parsing(self):
self.check_quality_names(common.Quality.SDTV, ['Test Show - S01E02 - SD TV - GROUP'])
self.check_quality_names(common.Quality.SDDVD, ['Test Show - S01E02 - SD DVD - GROUP'])
self.check_quality_names(common.Quality.HDTV, ['Test Show - S01E02 - HD TV - GROUP'])
self.check_quality_names(common.Quality.RAWHDTV, ['Test Show - S01E02 - RawHD TV - GROUP'])
self.check_quality_names(common.Quality.FULLHDTV, ['Test Show - S01E02 - 1080p HD TV - GROUP'])
self.check_quality_names(common.Quality.HDWEBDL, ['Test Show - S01E02 - 720p WEB-DL - GROUP'])
self.check_quality_names(common.Quality.FULLHDWEBDL, ['Test Show - S01E02 - 1080p WEB-DL - GROUP'])
self.check_quality_names(common.Quality.HDBLURAY, ['Test Show - S01E02 - 720p BluRay - GROUP'])
self.check_quality_names(common.Quality.FULLHDBLURAY, ['Test Show - S01E02 - 1080p BluRay - GROUP'])
self.check_quality_names(common.Quality.UNKNOWN, ['Test Show - S01E02 - Unknown - SiCKGEAR'])
def test_get_proper_level(self):
# release_name, expected level
self.check_proper_level([
('Test.Show.S01E13.PROPER.REPACK.720p.HDTV.x264-GROUP', 2),
('Test.Show.S01E13.720p.WEBRip.AAC2.0.x264-GROUP', 0),
('Test.Show.S01E13.PROPER.720p.HDTV.x264-GROUP', 1),
('Test.Show.S03E09-E10.REAL.PROPER.720p.HDTV.x264-GROUP', 2),
('Test.Show.S01E07.REAL.PROPER.1080p.WEB.x264-GROUP', 2),
('Test.Show.S13E20.REAL.REPACK.720p.HDTV.x264-GROUP', 2),
('Test.Show.S02E04.REAL.HDTV.x264-GROUP', 1),
('Test.Show.S01E10.Episode.Name.HDTV.x264-GROUP', 0),
('Test.Show.S12E10.1080p.WEB.x264-GROUP', 0),
('Test.Show.S03E01.Real.720p.WEB-DL.DD5.1.H.264-GROUP', 1),
('Test.Show.S04E06.REAL.PROPER.RERIP.720p.WEBRip.X264-GROUP', 2),
('Test.Show.S01E09.REPACK.REAL.PROPER.HDTV.XviD-GROUP.[SOMETHING].GROUP', 3),
('Test.Show.S01E13.REPACK.REAL.PROPER.720p.HDTV.x264-GROUP', 3),
('Test.Show.S01E06.The.Episode.Name.PROPER.480p.BluRay.x264-GROUP', 1),
('Test.Show.S01E19.PROPER.1080p.BluRay.x264-GROUP', 1),
('Test.Show.S01E03.REAL.PROPER.720p.BluRay.x264-GROUP', 2),
('Test.Show.S03E09.Episode.Name.720p.HDTV.x264-GROUP', 0),
('Test.Show.S02E07.PROPER.HDTV.x264-GROUP', 1),
('Test.Show.S02E12.REAL.REPACK.DSR.XviD-GROUP', 2),
('Test.Show Part2.REAL.AC3.WS DVDRip XviD-GROUP', 1),
('Test.Show.S01E02.Some.episode.title.REAL.READ.NFO.DVDRip.XviD-GROUP', 1)
])
def test_wantedQualities_List(self):
self.check_wantedquality_list([(
[(Quality.SDTV, Quality.HDTV),
(Quality.HDWEBDL, Quality.FULLHDBLURAY)],
{Quality.NONE: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.SDTV, Quality.HDTV],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.SDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.HDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.SDDVD: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.HDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.HDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.HDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.RAWHDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.HDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.FULLHDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.HDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.HDWEBDL: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: True},
Quality.FULLHDWEBDL: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.HDBLURAY: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.FULLHDBLURAY: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: True},
Quality.UHD4KWEB: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.UNKNOWN: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False
}}),
([(Quality.SDTV, Quality.HDTV),
()],
{Quality.NONE: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.SDTV, Quality.HDTV],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.SDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.SDDVD: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.HDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.RAWHDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.FULLHDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.HDWEBDL: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.FULLHDWEBDL: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.HDBLURAY: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.FULLHDBLURAY: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.UHD4KWEB: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.UNKNOWN: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False
}}),
([(Quality.SDTV, Quality.HDTV, Quality.HDWEBDL, Quality.HDBLURAY, Quality.FULLHDBLURAY),
(Quality.HDWEBDL, Quality.FULLHDWEBDL, Quality.FULLHDBLURAY)],
{Quality.NONE: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [
Quality.SDTV, Quality.HDTV, Quality.HDWEBDL, Quality.HDBLURAY, Quality.FULLHDBLURAY],
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.SDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.HDWEBDL, Quality.FULLHDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.SDDVD: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.HDWEBDL, Quality.FULLHDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.HDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.HDWEBDL, Quality.FULLHDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.RAWHDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.HDWEBDL, Quality.FULLHDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.FULLHDTV: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.HDWEBDL, Quality.FULLHDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.HDWEBDL: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.FULLHDWEBDL, Quality.FULLHDBLURAY],
WantedQualities.bothlists: True, WantedQualities.upgradelist: True},
Quality.FULLHDWEBDL: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: True},
Quality.HDBLURAY: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [Quality.FULLHDBLURAY],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.FULLHDBLURAY: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: True, WantedQualities.upgradelist: True},
Quality.UHD4KWEB: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False},
Quality.UNKNOWN: {
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
WantedQualities.wantedlist: [],
WantedQualities.bothlists: False, WantedQualities.upgradelist: False
}})
])
def test_wantedQualities_get_wantedlist(self):
self.check_wantedquality_get_wantedlist([(
[(Quality.SDDVD, Quality.RAWHDTV), (Quality.HDWEBDL, Quality.HDBLURAY)],
[({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDTV (between init qualities)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# RAWHDTV (max init quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDTV (between init and upgrade qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDWEBDL (upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDBLURAY (max upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# unaired:
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDTV (between init qualities)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# RAWHDTV (max init quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDTV (between init and upgrade qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDWEBDL (upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDBLURAY (max upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# manual:
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# HDTV (between init qualities)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# RAWHDTV (max init quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# FULLHDTV (between init and upgrade qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# HDWEBDL (upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# HDBLURAY (max upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# upgrade once:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDTV (between init qualities)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# RAWHDTV (max init quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDTV (between init and upgrade qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDWEBDL (upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDBLURAY (max upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# unaired, manual:
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# HDTV (between init qualities)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# RAWHDTV (max init quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# FULLHDTV (between init and upgrade qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# HDWEBDL (upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# HDBLURAY (max upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# unaired, upgrade once:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDTV (between init qualities)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# RAWHDTV (max init quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDTV (between init and upgrade qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDWEBDL (upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDBLURAY (max upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# unaired, manual, upgrade once:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# HDTV (between init qualities)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# RAWHDTV (max init quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# FULLHDTV (between init and upgrade qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# HDWEBDL (upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# HDBLURAY (max upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# upgrade once, manual:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# HDTV (between init qualities)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# RAWHDTV (max init quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# FULLHDTV (between init and upgrade qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDWEBDL, Quality.HDBLURAY]),
# HDWEBDL (upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# HDBLURAY (max upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
]),
# init quality only show
([(Quality.SDDVD, Quality.RAWHDTV), ()],
[({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDTV (between init qualities)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# RAWHDTV (max init quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDTV (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDWEBDL (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDWEBDL (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDBLURAY (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDBLURAY (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# unaired:
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDTV (between init qualities)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# RAWHDTV (max init quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDTV (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDWEBDL (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDWEBDL (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDBLURAY (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDBLURAY (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# manual:
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# HDTV (between init qualities)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# RAWHDTV (max init quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# FULLHDTV (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# HDWEBDL (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# FULLHDWEBDL (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# HDBLURAY (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# FULLHDBLURAY (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# upgrade once:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDTV (between init qualities)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# RAWHDTV (max init quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDTV (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDWEBDL (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDWEBDL (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDBLURAY (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDBLURAY (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# unaired, manual:
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# HDTV (between init qualities)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# RAWHDTV (max init quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# FULLHDTV (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# HDWEBDL (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# FULLHDWEBDL (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# HDBLURAY (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# FULLHDBLURAY (above init quality + unwanted)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# unaired, upgrade once:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDTV (between init qualities)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# RAWHDTV (max init quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDTV (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDWEBDL (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDWEBDL (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDBLURAY (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDBLURAY (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# unaired, manual, upgrade once:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# HDTV (between init qualities)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# RAWHDTV (max init quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# FULLHDTV (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# HDWEBDL (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# FULLHDWEBDL (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# HDBLURAY (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# FULLHDBLURAY (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# upgrade once, manual:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# HDTV (between init qualities)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# RAWHDTV (max init quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# FULLHDTV (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# HDWEBDL (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# FULLHDWEBDL (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# HDBLURAY (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# FULLHDBLURAY (above init quality + unwanted)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [])
]),
# init, upgrade quality show (overlapping)
([(Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL), (Quality.RAWHDTV, Quality.HDBLURAY)],
[({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDTV (between init qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# RAWHDTV (init + upgrade quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDTV (between init qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDWEBDL (max init quality)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDBLURAY (max upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# unaired:
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDTV (between init qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# RAWHDTV (init + upgrade quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDTV (between init qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDWEBDL (max init quality)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDBLURAY (max upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# manual:
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# HDTV (between init qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# RAWHDTV (init + upgrade quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDTV (between init qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# HDWEBDL (upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# HDBLURAY (max upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# upgrade once:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDTV (between init qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# RAWHDTV (init + upgrade quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDTV (between init qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDWEBDL (max init quality)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# HDBLURAY (max upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': False}, []),
# unaired, manual:
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': False, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
# SDTV (below init quality)
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# SDDVD (init quality)
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# HDTV (between init qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# RAWHDTV (init + upgrade quality)
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDTV (between init qualities + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# HDWEBDL (max init quality)
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': False, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# HDBLURAY (max upgrade quality)
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': False, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# unaired, upgrade once:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': False}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDTV (between init qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# RAWHDTV (init + upgrade quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDTV (between init qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDWEBDL (max init quality)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# HDBLURAY (max upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': False}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': False}, []),
# unaired, manual, upgrade once:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': True, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# HDTV (between init qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# RAWHDTV (init + upgrade quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDTV (between init qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# HDWEBDL (max init quality)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, [Quality.HDBLURAY]),
# HDBLURAY (max upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': True, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': True, 'manual': True}, []),
# upgrade once, manual:
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.UNAIRED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.SKIPPED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.IGNORED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.WANTED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
({'upgradeonce': True, 'quality': Quality.NONE, 'status': common.FAILED,
'unaired': False, 'manual': True}, [Quality.SDDVD, Quality.RAWHDTV, Quality.HDWEBDL]),
# SDTV (below init quality)
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# SDDVD (init quality)
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.SDDVD, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# HDTV (between init qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.RAWHDTV, Quality.HDBLURAY]),
# RAWHDTV (init + upgrade quality)
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.RAWHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDTV (between init qualities + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDTV, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# HDWEBDL (max init quality)
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.HDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# FULLHDWEBDL (unwanted quality between upgrade qualities)
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
({'upgradeonce': True, 'quality': Quality.FULLHDWEBDL, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, [Quality.HDBLURAY]),
# HDBLURAY (max upgrade quality)
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.HDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
# FULLHDBLURAY (higher then max upgrade quality + unwanted quality)
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_PROPER,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.SNATCHED_BEST,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.DOWNLOADED,
'unaired': False, 'manual': True}, []),
({'upgradeonce': True, 'quality': Quality.FULLHDBLURAY, 'status': common.ARCHIVED,
'unaired': False, 'manual': True}, []),
]),
])
def test_sceneQuality(self):
self.longMessage = True
self.check_sceneQuality([
(('The.Show.S01E01.720p.HDTV.x264-Group', False), common.Quality.HDTV),
(('The.Show.S01E01.HDTV.x264-Group', False), common.Quality.SDTV),
(('The.Show.S01E01.x265-Group', False), common.Quality.SDTV),
(('The.Show.S02E04.DVDRip.XviD-Group', False), common.Quality.SDDVD),
(('The.Show.S02E04.DVDRip.x265-Group', False), common.Quality.SDDVD),
(('The.Show.S02E04.1080i.HDTV.MPA2.0.H.264-Group', False), common.Quality.RAWHDTV),
(('The.Show.S01E06.720p.BluRay.X264-Group ', False), common.Quality.HDBLURAY),
(('The.Show.S06E06.BluRay.1080p.DD5.1.H.265-Group', False), common.Quality.FULLHDBLURAY),
(('The.Show.S47E79.1080p.WEB.x264-Group', False), common.Quality.FULLHDWEBDL),
(('The.Show.S03E08.720p.WEB-DL.AAC5.1.H.264', False), common.Quality.HDWEBDL),
(('The Show S01E01 720p hevc-Group', False), common.Quality.HDTV),
(('The Show S01E01 720p x265-Group', False), common.Quality.HDTV),
(('The Show S01E01 720p HEVC x265-Group', False), common.Quality.HDTV),
(('The.Show.S01E01.720p.HEVC.x265-Group', False), common.Quality.HDTV),
(('The.Show.S01E01.720p.x265.HEVC-Group', False), common.Quality.HDTV),
(('The.Show.S01E01.1080p.HEVC.x265-Group', False), common.Quality.FULLHDTV),
(('The.Show.s03e11.720p.web.hevc.x265.Group', False), common.Quality.HDWEBDL),
(('The Show (15 Jan 2019) [text] 720HD mp4', False), common.Quality.HDTV),
(('The.Show.s03e11.ep.name.1080p.web.dl.hevc.x265.Group', False), common.Quality.FULLHDWEBDL),
(('The.Show.S03E05.1080p.NF.WEB-DL.DD5.1.HDR.HEVC-Group', False), common.Quality.FULLHDWEBDL),
(('The.Show.S01E10.Name.2160p.UHD.BluRay.REMUX.HDR.HEVC.DTS-HD.MA.5.1', False), common.Quality.UNKNOWN),
(('Show.S01E07.2160p.4K.UHD.10bit.NF.WEBRip.5.1.x265.HEVC-Group', False), common.Quality.UHD4KWEB),
])
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
for q, l in iteritems(quality_tests):
self.check_sceneQuality([((v, False), q) for v in l])
# TODO: fix these anime test cases at travis
def test_get_proper_level_anime(self):
# release_name, expected level
self.check_proper_level([
# ('Boruto - Naruto Next Generations - 59 [480p]', 0),
# ('[SGKK] Bleach - 312v2 (1280x720 h264 AAC) [F501C9BE]', 1),
# ('[SGKK] Bleach 312v1 [720p/MKV]', 0),
# ('[Cthuko] Shirobako - 05v2 [720p H264 AAC][80C9B09B]', 1),
# ('Naruto Shippuden - 314v3', 2)
], is_anime=True)
Change core system to improve performance and facilitate multi TV info sources. Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect. Add message to logs and disable ui backlog buttons when no media provider has active and/or scheduled searching enabled. Change views for py3 compat. Change set default runtime of 5 mins if none is given for layout Day by Day. Add OpenSubtitles authentication support to config/Subtitles/Subtitles Plugin. Add "Enforce media hash match" to config/Subtitles Plugin/Opensubtitles for accurate subs if enabled, but if disabled, search failures will fallback to use less reliable subtitle results. Add Apprise 0.8.0 (6aa52c3). Add hachoir_py3 3.0a6 (5b9e05a). Add sgmllib3k 1.0.0 Update soupsieve 1.9.1 (24859cc) to soupsieve_py2 1.9.5 (6a38398) Add soupsieve_py3 2.0.0.dev (69194a2). Add Tornado_py3 Web Server 6.0.3 (ff985fe). Add xmlrpclib_to 0.1.1 (c37db9e). Remove ancient Growl lib 0.1 Remove xmltodict library. Change requirements.txt for Cheetah3 to minimum 3.2.4 Change update sabToSickBeard. Change update autoProcessTV. Change remove Twitter notifier. Update NZBGet Process Media extension, SickGear-NG 1.7 → 2.4 Update Kodi addon 1.0.3 → 1.0.4 Update ADBA for py3. Update Beautiful Soup 4.8.0 (r526) to 4.8.1 (r531). Update Send2Trash 1.3.0 (a568370) to 1.5.0 (66afce7). Update soupsieve 1.9.1 (24859cc) to 1.9.5 (6a38398). Change use GNTP (Growl Notification Transport Protocol) from Apprise. Change add multi host support to Growl notifier. Fix Growl notifier when using empty password. Change update links for Growl notifications. Change deprecate confg/Notifications/Growl password field as these are now stored with host setting. Fix prevent infinite memoryError from a particular jpg data structure. Change subliminal for py3. Change enzyme for py3. Change browser_ua for py3. Change feedparser for py3 (sgmlib is no longer available on py3 as standardlib so added ext lib) Fix Guessit. Fix parse_xml for py3. Fix name parser with multi eps for py3. Fix tvdb_api fixes for py3 (search show). Fix config/media process to only display "pattern is invalid" qtip on "Episode naming" tab if the associated field is actually visible. Also, if the field becomes hidden due to a setting change, hide any previously displayed qtip. Note for Javascript::getelementbyid (or $('tag[id="<name>"')) is required when an id is being searched in the dom due to ":" used in a shows id name. Change download anidb xml files to main cache folder and use adba lib folder as a last resort. Change create get anidb show groups as centralised helper func and consolidate dupe code. Change move anidb related functions to newly renamed anime.py (from blacklistandwhitelist.py). Change str encode hex no longer exits in py3, use codecs.encode(...) instead. Change fix b64decode on py3 returns bytestrings. Change use binary read when downloading log file via browser to prevent any encoding issues. Change add case insensitive ordering to anime black/whitelist. Fix anime groups list not excluding whitelisted stuff. Change add Windows utf8 fix ... see: ytdl-org/youtube-dl#820 Change if no qualities are wanted, exit manual search thread. Fix keepalive for py3 process media. Change add a once a month update of tvinfo show mappings to the daily updater. Change autocorrect ids of new shows by updating from -8 to 31 days of the airdate of episode one. Add next run time to Manage/Show Tasks/Daily show update. Change when fetching imdb data, if imdb id is an episode id then try to find and use real show id. Change delete diskcache db in imdbpie when value error (due to change in Python version). Change during startup, cleanup any _cleaner.pyc/o to prevent issues when switching python versions. Add .pyc cleaner if python version is switched. Change replace deprecated gettz_db_metadata() and gettz. Change rebrand "SickGear PostProcessing script" to "SickGear Process Media extension". Change improve setup guide to use the NZBGet version to minimise displayed text based on version. Change NZBGet versions prior to v17 now told to upgrade as those version are no longer supported - code has actually exit on start up for some time but docs were outdated. Change comment out code and unused option sg_base_path. Change supported Python version 2.7.9-2.7.18 inclusive expanded to 3.7.1-3.8.1 inclusive. Change pidfile creation under Linux 0o644. Make logger accept lists to output continuously using the log_lock instead of split up by other processes. Fix long path issues with Windows process media.
6 years ago
if '__main__' == __name__:
suite = unittest.TestLoader().loadTestsFromTestCase(QualityTests)
unittest.TextTestRunner(verbosity=2).run(suite)