### Navigate to Emby Install Directory and Run Source: https://github.com/embysupport/emby.docs/blob/master/apps/linux/Emby-Linux-Flags.md This example shows how to navigate to the Emby Linux installation directory and execute the Emby application with a commandline flag. This is the general method for applying any of the available flags. ```bash cd /opt/Emby-Beta ./Emby -nompv ``` -------------------------------- ### Show Beta Packages and Install Beta Client Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Installer.md This command non-interactively shows available packages for the beta channel and then installs the beta client. It sets the channel to 'beta', repository operation to 'show packages', specifies the 'media.emby.client.beta' app, and the 'install' operation. ```bash curl -fsSL https://pkg.emby.media/get.sh | env ch=beta rop=S app=media.emby.client.beta aop=I sh ``` -------------------------------- ### Example Certificate Request Source: https://github.com/embysupport/emby.docs/blob/master/Secure-Your-Server.md An example of how to request a certificate for 'my.domain.org', including setting a password and contact email. ```powershell New-PACertificate my.domain.org -AcceptTOS -PfxPass gTsjAd!02 -Contact 'my-email@mail-provider.com' -Verbose -Force ``` -------------------------------- ### Install Emby Server using DNF Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-DNF.md Command to install the Emby Server package from the configured repositories. ```bash sudo dnf install emby-server ``` -------------------------------- ### Example .embyignore in Root1-Videos Source: https://github.com/embysupport/emby.docs/blob/master/Excluding-Files-Folders.md This is an example of an .embyignore file located in the root folder of a library. It demonstrates how to add comments and potentially other exclusion rules. ```text # This is the .embyignore file stored in the library root folder: Root1-Videos ``` -------------------------------- ### Local Development/Testing Setup Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Installer.md Use this command to force the get.sh script to use local setup scripts instead of downloading them. This is useful for local development and testing. ```shell GET_LOCAL=1 env ch=stable rop=R sh tree_update/get.sh ``` -------------------------------- ### Emby Package Installer - APT Pinning Rule Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Installer.md Example of an APT pinning rule created by the Emby Package Installer to block specific packages from updating. ```text Package: emby-server Pin: release a=* Pin-Priority: -1 ``` -------------------------------- ### Install Emby Server Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-APT.md Installs the Emby Server package from the configured APT repository. Ensure APT package indices are up-to-date before running. ```bash sudo apt-get install emby-server ``` -------------------------------- ### Install Emby APT Signing Key Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-APT.md Installs the Emby APT signing key to the system's keyring directory. Ensure the directory exists and has the correct permissions. ```bash sudo install -d -m 0755 /etc/apt/keyrings sudo curl -fsSL https://pkg.emby.media/keys/emby-public.gpg -o /etc/apt/keyrings/emby-public.gpg sudo chmod 0644 /etc/apt/keyrings/emby-public.gpg ``` -------------------------------- ### Emby Package Installer - rpm-ostree Installation Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Installer.md Instructions for installing Emby Server on rpm-ostree systems, involving manual repository setup and package installation. ```bash rpm-ostree install emby-server ``` -------------------------------- ### Install Emby Beta Repository File Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Zypper.md Download the repository definition file for the beta Emby channel to the appropriate Zypper directory. ```bash sudo curl -fsSL https://pkg.emby.media/rpm/emby-beta.repo -o /etc/zypp/repos.d/emby-beta.repo ``` -------------------------------- ### Install Emby Server Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Zypper.md Install the Emby server package using Zypper. The '-n' flag suppresses interactive prompts. ```bash sudo zypper -n in emby-server ``` -------------------------------- ### Install Posh-ACME Module Source: https://github.com/embysupport/emby.docs/blob/master/Secure-Your-Server.md Installs the Posh-ACME PowerShell module. Trust the installation when prompted. ```powershell Install-Module -Name Posh-ACME -Scope CurrentUser ``` -------------------------------- ### Install Emby Stable Repository File Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Zypper.md Download the repository definition file for the stable Emby channel to the appropriate Zypper directory. ```bash sudo curl -fsSL https://pkg.emby.media/rpm/emby.repo -o /etc/zypp/repos.d/emby.repo ``` -------------------------------- ### Install Emby Package Repository Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Installer.md Run this command in a Linux terminal to install the Emby package repository. It automatically detects your system's package manager and sets up the repository. ```bash curl https://pkg.emby.media/get.sh | sh ``` -------------------------------- ### Install Emby Server Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Pacman.md Install the Emby server package using pacman. This command assumes the Emby repository has been correctly configured and databases refreshed. ```bash sudo pacman -S emby-server ``` -------------------------------- ### Verify NVIDIA Driver Installation Source: https://github.com/embysupport/emby.docs/blob/master/Hardware-Acceleration-with-Docker.md Run `nvidia-smi` to verify that the NVIDIA drivers are correctly installed and recognized on the host system. The output should display GPU details and driver version. ```bash nvidia-smi ``` -------------------------------- ### Basic STRM File URL Examples Source: https://github.com/embysupport/emby.docs/blob/master/Strm-Files.md STRM files can contain direct URLs for various streaming protocols. Ensure the protocol is supported by Emby. ```text http://host/path/stream ``` ```text mms://host/path/stream ``` ```text rtsp://host/path/stream ``` -------------------------------- ### Example Authentication Failure Log Entry Source: https://github.com/embysupport/emby.docs/blob/master/Log-Files.md An example of an authentication failure log entry, showing the timestamp, error type, source IP, and error message. ```text 2018-12-28 00:00:00.007 Error AUTH-ERROR: 1.1.1.1 - Invalid username or password entered. ``` -------------------------------- ### Specials Folder Naming Example Source: https://github.com/embysupport/emby.docs/blob/master/TV-Naming.md Specials should be placed in a 'Season 0', 'Season 00', or 'Specials' folder within the show's directory. ```text \TV \Glee (2009) \Season 0 Glee S00E01.mp4 ``` -------------------------------- ### Add Emby Beta APT Repository Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-APT.md Adds the Emby beta APT repository source file to your system. This allows APT to find and install Emby Server packages from the beta channel. ```bash sudo curl -fsSL https://pkg.emby.media/apt/emby-beta.sources -o /etc/apt/sources.list.d/emby-beta.sources ``` -------------------------------- ### Refresh Repositories and Import Keys (Stable) Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Zypper.md After installing the repository file, refresh Zypper's cache and automatically import GPG keys for the Emby repository. ```bash sudo zypper -n --gpg-auto-import-keys ref ``` -------------------------------- ### Local File Path Examples for STRM Files Source: https://github.com/embysupport/emby.docs/blob/master/Strm-Files.md STRM files can also reference local or network paths for media playback. Use forward or backward slashes as appropriate for your system. ```text F:/Movies/Topgun (1986)/Topgun.mp4 ``` ```text \\EMBYSERVER\Movies\Topgun (1986)\Topgun.mp4 ``` -------------------------------- ### Initialize Pacman Keyring Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Pacman.md Initialize and populate the pacman keyring if it's not already set up. This is a prerequisite for adding custom keys. ```bash sudo pacman-key --init sudo pacman-key --populate ``` -------------------------------- ### Verify Repository Configuration Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Zypper.md Use Zypper commands to list all configured repositories, search for Emby packages, and display package information. ```bash zypper lr -u ``` ```bash zypper se -s emby ``` ```bash zypper info emby-server ``` ```bash zypper se -s emby-server ``` -------------------------------- ### Emby Package Installer - Zypper Add Lock Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Installer.md Command used by the Emby Package Installer to create a repository-scoped lock for the 'emby-server' package in Zypper. ```bash zypper addlock -r emby-server ``` -------------------------------- ### Download and Import Emby Beta Repository Configuration Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-DNF.md This option manually downloads the Emby beta repository file and its GPG key, then imports the key. It ensures the repository is configured for non-interactive use and prevents repeated GPG key prompts. ```bash sudo curl -fsSL https://pkg.emby.media/rpm/emby-beta.repo -o /etc/yum.repos.d/emby-beta.repo ``` ```bash sudo install -d -m 0755 /etc/pki/rpm-gpg sudo curl -fsSL https://pkg.emby.media/keys/emby-public.asc -o /etc/pki/rpm-gpg/emby-public.asc sudo rpm --import /etc/pki/rpm-gpg/emby-public.asc 2>/dev/null || sudo rpmkeys --import /etc/pki/rpm-gpg/emby-public.asc || true ``` ```bash sudo sed -i -E 's|^[[:space:]]*gpgkey=.*$|gpgkey=file:///etc/pki/rpm-gpg/emby-public.asc|' /etc/yum.repos.d/emby-beta.repo ``` ```bash sudo dnf -y clean metadata || true sudo dnf -y makecache --refresh --repo emby-beta ``` -------------------------------- ### Emby Package Installer - Elevation Tools Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Installer.md The Emby Package Installer attempts to use common elevation tools like 'sudo' when root privileges are required. ```text sudo doas run0 pkexec sudo-rs ``` -------------------------------- ### Add TXT DNS Record for Domain Verification Source: https://github.com/embysupport/emby.docs/blob/master/Secure-Your-Server.md This example shows how to configure a TXT DNS record for domain verification when obtaining an SSL certificate. Ensure the 'Name' and 'Target' fields match the values provided by your certificate authority. ```text Name: _acme-challenge.{yourdomain.com} Type: TXT TTL: 300 Target: qariKbGVafpb5MespqHdMaGi933yW-Z2A3shE0wIyZA ``` -------------------------------- ### Verify Beta Repository Configuration Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Pacman.md Check if pacman can see packages from the 'emby-beta' repository. This command lists the first few packages available in the repository. ```bash pacman -Sl emby-beta 2>/dev/null | head ``` -------------------------------- ### Show Emby Server Package Information Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Pacman.md Display detailed information about the 'emby-server' package, including version, dependencies, and description, after the repository has been added and databases refreshed. ```bash pacman -Si emby-server ``` -------------------------------- ### Numbered Backdrop Images Source: https://github.com/embysupport/emby.docs/blob/master/Music-Naming.md Example of how to name multiple backdrop images for an artist or album. 'X' represents a number. ```text \Music \Artist Name backdrop.ext backdrop1.ext backdrop2.ext backdrop3.ext ``` -------------------------------- ### Date-Based Episode Naming Source: https://github.com/embysupport/emby.docs/blob/master/TV-Naming.md Provides examples of date-based naming conventions for TV episodes, suitable for daily or long-running shows. ```text anything_1996.11.14.ext anything_1996-11-14.ext anything_14.11.1996.ext ``` -------------------------------- ### Upgrade System Packages Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Zypper.md Upgrade all installed packages on the system, including Emby server if a new version is available in the configured repositories. ```bash sudo zypper -n up ``` -------------------------------- ### Verify Emby Repository Configuration Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-DNF.md These commands help verify that the Emby repository has been correctly added to your system. They list repositories and show package information. ```bash dnf repolist --all | grep -E '^(emby|emby-beta)' ``` ```bash dnf info emby-server ``` ```bash dnf search emby ``` ```bash dnf list --showduplicates emby-server ``` -------------------------------- ### Emby Package Installer - DNF Exclude Package Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Installer.md Configuration added to a DNF repository file to exclude the 'emby-server' package from updates. ```text excludepkgs=emby-server ``` -------------------------------- ### Add Emby App to Windows Startup Source: https://github.com/embysupport/emby.docs/blob/master/apps/windows/Emby-Windows-FAQ.md Instructions for adding the Emby application to the Windows startup folder to enable automatic launching on system startup. ```powershell %AppData%\Microsoft\Windows\Start Menu\Programs\Startup ``` -------------------------------- ### Multiple 3D and 2D Versions in a Folder Source: https://github.com/embysupport/emby.docs/blob/master/3D-Videos.md Demonstrates how to organize a movie folder with multiple versions, including both 3D and 2D formats, using distinct naming conventions for each version. ```text /Movies /300 (2006) /300 (2006) - 1080p.mkv /300 (2006) - 720p.mp4 /300 (2006) - 3d-hsbs.mp4 /300 (2006) - 3d.hsbs.mp4 /300 (2006) - 3d.mvc.mp4 ``` -------------------------------- ### STRM File Naming Convention Example Source: https://github.com/embysupport/emby.docs/blob/master/Strm-Files.md The .strm file name should follow the convention of the content it represents, such as a movie title and year. ```text \Movies \300 (2006) 300 (2006).strm ``` -------------------------------- ### Ignore files starting with a pattern in a specific folder Source: https://github.com/embysupport/emby.docs/blob/master/Excluding-Files-Folders.md Use this pattern to exclude files that begin with 'private' within the current folder only. ```text private* ``` -------------------------------- ### Download and Import Emby Stable Repository Configuration Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-DNF.md This option manually downloads the Emby stable repository file and its GPG key, then imports the key. It ensures the repository is configured for non-interactive use and prevents repeated GPG key prompts. ```bash sudo curl -fsSL https://pkg.emby.media/rpm/emby.repo -o /etc/yum.repos.d/emby.repo ``` ```bash sudo install -d -m 0755 /etc/pki/rpm-gpg sudo curl -fsSL https://pkg.emby.media/keys/emby-public.asc -o /etc/pki/rpm-gpg/emby-public.asc sudo rpm --import /etc/pki/rpm-gpg/emby-public.asc 2>/dev/null || sudo rpmkeys --import /etc/pki/rpm-gpg/emby-public.asc || true ``` ```bash sudo sed -i -E 's|^[[:space:]]*gpgkey=.*$|gpgkey=file:///etc/pki/rpm-gpg/emby-public.asc|' /etc/yum.repos.d/emby.repo ``` ```bash sudo dnf -y clean metadata || true sudo dnf -y makecache --refresh --repo emby ``` -------------------------------- ### Upgrade Emby Server using DNF Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-DNF.md Command to upgrade all installed packages, including Emby Server, to their latest available versions from the configured repositories. ```bash sudo dnf upgrade ``` -------------------------------- ### Add Emby Beta Repository Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-Pacman.md Configure the pacman package manager to use the Emby beta channel repository. Replace with your system's architecture (e.g., x86_64 or aarch64). ```ini [emby-beta] Server = https://pkg.emby.media/pac/beta/os/ SigLevel = Required DatabaseRequired ``` -------------------------------- ### Add Emby Beta Repository using dnf config-manager Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-DNF.md Use this command to add the Emby beta repository configuration to your DNF system. It automatically downloads and enables the repository. DNF may prompt to import a GPG key on first use. ```bash sudo dnf config-manager --add-repo https://pkg.emby.media/rpm/emby-beta.repo sudo dnf makecache ``` -------------------------------- ### Multi-Version Episode Naming Example Source: https://github.com/embysupport/emby.docs/blob/master/TV-Naming.md Use this format for episodes with multiple versions. The text after the dash and before the extension appears in the Emby client's version selector. ```text show name - S01E01 - Display Name 1.ext show name - S01E01 - Display Name 2.ext ``` ```text Star Trek, The Next Generation - S01E01 - Original Broadcast.mkv Star Trek, The Next Generation - S01E01 - Digital Remix.mkv ``` -------------------------------- ### Example: Successful SQLite Database Integrity Check Source: https://github.com/embysupport/emby.docs/blob/master/Corrupt-Database.md This output signifies that the database is intact and free from corruption. The 'ok' response from PRAGMA integrity_check confirms its health. ```sqlite SQLite version 3.50.1 2025-06-06 14:52:32 Enter ".help" for usage hints. sqlite> PRAGMA integrity_check; ok sqlite>.quit ``` -------------------------------- ### Upgrade Emby Server Source: https://github.com/embysupport/emby.docs/blob/master/misc/downloads/Emby-Pkg-APT.md Updates all installed packages, including Emby Server, to their latest available versions from the configured repositories. Run 'sudo apt-get update' first. ```bash sudo apt-get update sudo apt-get upgrade ```