upsies.uis.tui.jobwidgets

TUI representation of jobs

Modules

base

bdinfo

config

custom

dialog

imagehost

mediainfo

playlists

poster

rules

scene

screenshots

submit

torrent

webdb

Functions

upsies.uis.tui.jobwidgets.JobWidget(job, app)[source]

Factory that returns JobWidgetBase instances based on job type

The widget class name is created by adding “Widget” to job’s class name. The widget class is imported from jobwidgets.

Parameters:
  • job (Application) – Job instance

  • app – Application instance

Raises:

RuntimeError – if job’s type is not supported