upsies.trackers.sc.jobs
Concrete TrackerJobsBase subclass for SC
Classes
- class upsies.trackers.sc.jobs.ScTrackerJobs(*, 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 names (e.g.
"imdb_job") that were singled out by the user (e.g. with a CLI argument) to create only a subset of the usual metadataIf this sequence is empty, all jobs in
jobs_before_uploadandjobs_after_uploadare enabled.
- property imdb_job
WebDbSearchJobinstance
- property tmdb_job
WebDbSearchJobinstance
- async get_info(name, *, empty_ok=False)[source]
Get metadata from SC, IMDb or TMDb
If no information is found, return None. This means the user has to enter something manually.
- Parameters:
method_name (str) – Name of a
WebDbApiBasemethodempty_ok (bool) –
Whether an empty string/sequence is a valid value
For example, the English title should be empty for native English movies, but the original title must not be empty.
- property poster_job
PosterJobinstanceSee also
get_poster(),get_poster_from_user(), andget_poster_from_webdb().
- async get_poster_from_tracker()[source]
Get poster from tracker or any other custom source
The default implementation always returns None.
- mediainfo_required_for_bdmv = False
Whether the tracker requires
mediainfooutput for BDMV Blu-ray releases