flexget.components.managed_lists.lists.subtitle_list module#
- class flexget.components.managed_lists.lists.subtitle_list.PluginSubtitleList[source]#
Bases:
objectSubtitle list.
- schema = {'additionalProperties': False, 'properties': {'allow_dir': {'default': False, 'type': 'boolean'}, 'check_subtitles': {'default': True, 'type': 'boolean'}, 'force_file_existence': {'default': True, 'type': 'boolean'}, 'languages': {'items': {'type': 'string'}, 'minItems': 1, 'type': 'array'}, 'list': {'type': 'string'}, 'path': {'type': 'string'}, 'recursion_depth': {'default': 1, 'minimum': 1, 'type': 'integer'}, 'remove_after': {'format': 'interval', 'type': 'string'}}, 'required': ['list'], 'type': 'object'}#
- class flexget.components.managed_lists.lists.subtitle_list.SubtitleList(**kwargs)[source]#
Bases:
MutableSet- _find_entry(**kwargs)#
- _find_language(**kwargs)#
- _from_iterable(it)[source]#
Construct an instance of the class from any iterable input.
Must override this method if the class constructor signature does not accept an iterable for an input.
- get(**kwargs)#
- _abc_impl = <_abc._abc_data object>#
- property immutable#
- property online#
Set the online status of the plugin.
Online plugin should be treated differently in certain situations, like test mode
- schema = {'additionalProperties': False, 'properties': {'allow_dir': {'default': False, 'type': 'boolean'}, 'check_subtitles': {'default': True, 'type': 'boolean'}, 'force_file_existence': {'default': True, 'type': 'boolean'}, 'languages': {'items': {'type': 'string'}, 'minItems': 1, 'type': 'array'}, 'list': {'type': 'string'}, 'path': {'type': 'string'}, 'recursion_depth': {'default': 1, 'minimum': 1, 'type': 'integer'}, 'remove_after': {'format': 'interval', 'type': 'string'}}, 'required': ['list'], 'type': 'object'}#
- class flexget.components.managed_lists.lists.subtitle_list.SubtitleListFile(**kwargs)[source]#
Bases:
VersionedBase- _sa_class_manager = {'added': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'languages': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'list_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'location': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'remove_after': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'title': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- added#
- id#
- languages#
- list_id#
- location#
- remove_after#
- title#
- class flexget.components.managed_lists.lists.subtitle_list.SubtitleListLanguage(**kwargs)[source]#
Bases:
VersionedBase- _sa_class_manager = {'added': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'language': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'subtitle_list_file_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- added#
- id#
- language#
- subtitle_list_file_id#
- class flexget.components.managed_lists.lists.subtitle_list.SubtitleListList(**kwargs)[source]#
Bases:
VersionedBase- _sa_class_manager = {'added': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'files': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- added#
- files#
- id#
- name#
- flexget.components.managed_lists.lists.subtitle_list.VIDEO_EXTENSIONS = ('.3g2', '.3gp', '.3gp2', '.3gpp', '.60d', '.ajp', '.asf', '.asx', '.avchd', '.avi', '.bik', '.bix', '.box', '.cam', '.dat', '.divx', '.dmf', '.dv', '.dvr-ms', '.evo', '.flc', '.fli', '.flic', '.flv', '.flx', '.gvi', '.gvp', '.h264', '.m1v', '.m2p', '.m2ts', '.m2v', '.m4e', '.m4v', '.mjp', '.mjpeg', '.mjpg', '.mkv', '.moov', '.mov', '.movhd', '.movie', '.movx', '.mp4', '.mpe', '.mpeg', '.mpg', '.mpv', '.mpv2', '.mxf', '.nsv', '.nut', '.ogg', '.ogm', '.omf', '.ps', '.qt', '.ram', '.rm', '.rmvb', '.swf', '.ts', '.vfw', '.vid', '.video', '.viv', '.vivo', '.vob', '.vro', '.wm', '.wmv', '.wmx', '.wrap', '.wvx', '.wx', '.x264', '.xvid')#
Video extensions stolen from Diaoul/subliminal