couchpotato.core.plugins.quality.main module¶
-
class
couchpotato.core.plugins.quality.main.
QualityPlugin
[source]¶ Bases:
couchpotato.core.plugins.base.Plugin
-
addOrder
()¶
-
all
()¶
-
allView
(**kwargs)¶
-
cached_order
= None¶
-
cached_qualities
= None¶
-
calcScore
(score, quality, add_score, threedscore=(0, None), penalty=0)¶
-
contains3D
(quality, words, cur_file='')¶
-
containsTagScore
(quality, words, cur_file='')¶
-
doTest
()¶
-
fill
(reorder=False)¶
-
fillBlank
()¶
-
getOrder
()¶
-
getQuality
(identifier)¶
-
guess
(files, extra=None, size=None, use_cache=True)¶
-
guessLooseScore
(quality, extra=None)¶
-
guessSizeScore
(quality, size=None)¶
-
isFinish
(quality, profile, release_age=0)¶
-
isHigher
(quality, compare_with, profile=None)¶
-
preReleases
()¶
-
pre_releases
= ['cam', 'ts', 'tc', 'r5', 'scr']¶
-
qualities
= [{'tags': ['x264', 'h264', '2160'], 'height': 2160, 'alternative': [], 'allow_3d': True, 'hd': True, 'size': (10000, 650000), 'label': '2160p', 'width': 3840, 'ext': ['mkv'], 'allow': [], 'identifier': '2160p', 'median_size': 20000}, {'size': (20000, 60000), 'ext': ['iso', 'img'], 'label': 'BR-Disk', 'allow': ['1080p'], 'tags': ['bdmv', 'certificate', ('complete', 'bluray'), 'avc', 'mvc'], 'alternative': ['bd25', ('br', 'disk')], 'identifier': 'bd50', 'median_size': 40000, 'hd': True, 'allow_3d': True}, {'tags': ['m2ts', 'x264', 'h264', '1080'], 'height': 1080, 'alternative': [], 'allow_3d': True, 'hd': True, 'size': (4000, 20000), 'label': '1080p', 'width': 1920, 'ext': ['mkv', 'm2ts', 'ts'], 'allow': [], 'identifier': '1080p', 'median_size': 10000}, {'tags': ['x264', 'h264', '720'], 'height': 720, 'alternative': [], 'allow_3d': True, 'hd': True, 'size': (3000, 10000), 'label': '720p', 'width': 1280, 'ext': ['mkv', 'ts'], 'allow': [], 'identifier': '720p', 'median_size': 5500}, {'size': (700, 7000), 'ext': ['mp4', 'avi'], 'label': 'BR-Rip', 'allow': ['720p', '1080p'], 'tags': ['webdl', ('web', 'dl')], 'alternative': ['bdrip', ('br', 'rip'), 'hdtv', 'hdrip'], 'identifier': 'brrip', 'median_size': 2000, 'hd': True, 'allow_3d': True}, {'ext': ['iso', 'img', 'vob'], 'label': 'DVD-R', 'allow': [], 'tags': ['pal', 'ntsc', 'video_ts', 'audio_ts', ('dvd', 'r'), 'dvd9'], 'alternative': ['br2dvd', ('dvd', 'r')], 'identifier': 'dvdr', 'median_size': 4500, 'size': (3000, 10000)}, {'width': 720, 'ext': ['avi'], 'label': 'DVD-Rip', 'allow': [], 'tags': [('dvd', 'rip'), ('dvd', 'xvid'), ('dvd', 'divx')], 'alternative': [('dvd', 'rip')], 'identifier': 'dvdrip', 'median_size': 1500, 'size': (600, 2400)}, {'ext': [], 'label': 'Screener', 'allow': ['dvdr', 'dvdrip', '720p', '1080p'], 'tags': [], 'alternative': ['screener', 'dvdscr', 'ppvrip', 'dvdscreener', 'hdscr', 'webrip', ('web', 'rip')], 'identifier': 'scr', 'median_size': 700, 'size': (600, 1600)}, {'label': 'R5', 'ext': [], 'allow': ['dvdr', '720p', '1080p'], 'alternative': ['r6'], 'identifier': 'r5', 'median_size': 700, 'size': (600, 1000)}, {'label': 'TeleCine', 'ext': [], 'allow': ['720p', '1080p'], 'alternative': ['telecine'], 'identifier': 'tc', 'median_size': 700, 'size': (600, 1000)}, {'label': 'TeleSync', 'ext': [], 'allow': ['720p', '1080p'], 'alternative': ['telesync', 'hdts'], 'identifier': 'ts', 'median_size': 700, 'size': (600, 1000)}, {'label': 'Cam', 'ext': [], 'allow': ['720p', '1080p'], 'alternative': ['camrip', 'hdcam'], 'identifier': 'cam', 'median_size': 700, 'size': (600, 1000)}]¶
-
saveSize
(**kwargs)¶
-
single
(identifier='')¶
-