Debian Codegraph @

docs/plugins/embyupdate.rst

raw
1 EmbyUpdate Plugin
2 =================
3
4 ``embyupdate`` is a plugin that lets you automatically update Emby_'s library
5 whenever you change your beets library.
6
7 To use it, first enable the your configuration (see :ref:`using-plugins`). Then,
8 install ``beets`` with ``embyupdate`` extra
9
10 .. code-block:: bash
11
12 pip install "beets[embyupdate]"
13
14 Then, you'll want to configure the specifics of your Emby server. You can do
15 that using an ``emby`` section in your ``config.yaml``
16
17 .. code-block:: yaml
18
19 emby:
20 host: localhost
21 port: 8096
22 username: user
23 apikey: apikey
24
25 With that all in place, you'll see beets send the "update" command to your Emby
26 server every time you change your beets library.
27
28 .. _emby: https://emby.media/
29
30 Configuration
31 -------------
32
33 The available options under the ``emby:`` section are:
34
35 - **host**: The Emby server host. You also can include ``http://`` or
36 ``https://``. Default: ``localhost``
37 - **port**: The Emby server port. Default: 8096
38 - **username**: A username of an Emby user that is allowed to refresh the
39 library.
40 - **userid**: A user ID of an Emby user that is allowed to refresh the library.
41 (This is only necessary for private users i.e. when the user is hidden from
42 login screens)
43 - **apikey**: An Emby API key for the user.
44 - **password**: The password for the user. (This is only necessary if no API key
45 is provided.)
46
47 You can choose to authenticate either with ``apikey`` or ``password``, but only
48 one of those two is required.