upsies.trackers.bhd.jobs
Concrete TrackerJobsBase subclass for BHD
Classes
- class upsies.trackers.bhd.jobs.BhdTrackerJobs(*, 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- property isolated_jobs
Sequence of job attribute names (e.g. “imdb_job”) that were singled out by the user, e.g. with a CLI argument
- property tmdb_job
WebDbSearchJobinstance
- release_name_english_title_before_original = True
- release_name_translation = {'group': <function BhdTrackerJobs._translate_group>, 'source': {re.compile('(?i:bd\\d+)'): 'Blu-ray', re.compile('(?i:dvd\\d+)'): 'DVD', re.compile('(?i:hddvd)'): 'HD-DVD', re.compile('(?i:hybrid)'): 'HYBRID', re.compile('(?i:remux)'): 'REMUX'}, 'video_format': <function BhdTrackerJobs._translate_video_format>}
See
translateargument ofReleaseName
- image_host_config = {'common': {'thumb_width': 350}}
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"}, ... }