upsies.trackers.fld.jobs

Concrete TrackerJobsBase subclass for FLD

Classes

class upsies.trackers.fld.jobs.FldTrackerJobs(*, 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 jobs_before_upload

Sequence of jobs that need to finish before upload() can be called

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

WebDbSearchJob instance

release_name_english_title_before_original = False

See english_title_before_original

release_name_translation = {'source': {re.compile('(?i:hybrid)'): 'HYBRID', re.compile('(?i:remux)'): 'REMUX'}}

See translate argument of ReleaseName

image_host_config = {'common': {'thumb_width': 350}}

Dictionary that maps an image hosting service name to config values

common is a special image host whose values are always applied.

Values from a specific image hosting service overload common values.

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"},
... }