upsies.trackers.cbr.jobs
Concrete TrackerJobsBase subclass for CBR
Classes
- class upsies.trackers.cbr.jobs.CbrTrackerJobs(*, content_path, tracker, reuse_torrent_path=None, exclude_files=(), btclient_config=None, torrent_destination=None, screenshots_optimization=None, screenshots_tonemapped=False, image_hosts=None, show_poster=False, options=None, common_job_args=None)[source]
Bases:
TrackerJobsBase- release_name_english_title_before_original = False
- image_host_config = {'common': {'thumb_width': 400}}
Dictionary that maps an image hosting service
nametoconfigvaluescommonis a special image host whose values are always applied.Values from a specific image hosting service overload
commonvalues.Example:
>>> image_host_config = { ... # Generate 300 pixels wide thumbnails for all image hosts. ... "common": {"thumb_width": 300}, ... # Use specific API key for specific image hosting service just for this tracker. ... "myhost": {"apikey": "d34db33f"}, ... }
- property isolated_jobs
Sequence of job attribute names (e.g. “description_job”) that were singled out by the user, e.g. with –only-description
- translate_video_format(release_name)[source]
AVC/HEVC for REMUX/BDMV Add DUAL (audio) to the very end (not for BDMV) eg: H.264 DUAL-NoGrp
- translate_audio_format(release_name)[source]
Remove space between channels for: DD, DDP, AAC Move Atmos after channels eg: AAC2.0 / DDP5.1 / DDP5.1 Atmos / TrueHD 5.1 Atmos
- release_name_translation = {'audio_channels': <function CbrTrackerJobs.translate_audio_channels>, 'audio_format': <function CbrTrackerJobs.translate_audio_format>, 'edition': {re.compile('(?i:dual audio)'): ''}, 'group': {re.compile('^NOGROUP$'): 'NoGroup'}, 'hdr_format': {re.compile('(?i:HDR10)(?!\\+)'): 'HDR'}, 'source': {re.compile('(?i:bd(?:25|50|66|100))'): 'Blu-ray', re.compile('(?i:hybrid)'): 'Hybrid', re.compile('(?i:remux)'): 'REMUX', re.compile('(?i:uhd (?!.*(Blu-ray|remux)))'): ''}, 'video_format': <function CbrTrackerJobs.translate_video_format>}
See
translateargument ofReleaseName