Emby

From ArchWiki
Jump to navigation Jump to search

Emby is a personal media server, which has clients for many platforms. It is used to organize personal home media, as well as play back on other devices. There are a large amount of channels that are supported by the community, and can even be used with PVR and Tuner cards to provide TV streaming remotely.

Installation

Install the emby-server package.

Usage

Enable and start emby-server.service.

Access Emby through the browser by navigating to http://localhost:8096/

Write Permissions

Emby runs under the user and user group emby using systemd's DynamicUser feature. By default, Emby will have at most read permissions to your media files thanks to systemd's filesystem abstraction.

Optionally you might want to give emby write permissions and enable media deletion or local metadata saving. To do that you can extend the systemd service:

/etc/systemd/system/emby-server.service.d/write-permissions.conf
[Service]
SupplementaryGroups=share
ReadWritePaths=/mnt/share

This will add the emby user to the share group, and enable write permission to the /mnt/share directory through systemd. Note that you still need to make sure the share group has write permissions to the actual directory.