flexget.components.emby.emby_refresh module#
- class flexget.components.emby.emby_refresh.EmbyRefreshLibrary[source]#
Bases:
objectRefresh Emby Library.
Example:
emby_refresh: server: host: http://localhost:8096 username: <username> apikey: <apikey> return_host: wan when: accepted
- on_task_exit(**kwargs)#
- auth = None#
- schema = {'additionalProperties': False, 'properties': {'server': {'oneOf': [{'additionalProperties': False, 'properties': {'host': {'default': 'http://localhost:8096', 'type': 'string'}, 'password': {'type': 'string'}, 'return_host': {'enum': ['lan', 'wan'], 'type': 'string'}, 'username': {'type': 'string'}}, 'required': ['username', 'password'], 'type': 'object'}, {'additionalProperties': False, 'properties': {'apikey': {'type': 'string'}, 'host': {'default': 'http://localhost:8096', 'type': 'string'}, 'return_host': {'enum': ['lan', 'wan'], 'type': 'string'}, 'username': {'type': 'string'}}, 'required': ['username', 'apikey'], 'type': 'object'}]}, 'when': {'oneOf': [{'items': {'enum': ['accepted', 'rejected', 'failed', 'no_entries', 'aborted', 'always'], 'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': False}, {'enum': ['accepted', 'rejected', 'failed', 'no_entries', 'aborted', 'always'], 'title': 'single value', 'type': 'string'}]}}, 'required': ['server'], 'type': 'object'}#