flexget.components.emby.emby_refresh module#

class flexget.components.emby.emby_refresh.EmbyRefreshLibrary[source]#

Bases: object

Refresh Emby Library.

Example:

emby_refresh:
    server:
        host: http://localhost:8096
        username: <username>
        apikey: <apikey>
        return_host: wan
    when: accepted
library_refresh()[source]#
login(config)[source]#
on_task_abort(task, config)[source]#
on_task_exit(**kwargs)#
on_task_start(task, config)[source]#
prepare_config(config)[source]#
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'}#
flexget.components.emby.emby_refresh.register_plugin()[source]#