emby-sync

emby-sync

Docker app from c4artz' Repository

Overview

A small flask based service to sync up Emby clients

https://hub.docker.com/r/lastelement21/emby-sync

emby-sync

Running the server in docker:

docker run --name emby-sync -e EMBY_SERVER='<emby_url>' -e SECRET_KEY='<emby_api_key>' -p 5000:5000 lastelement21/emby-sync:latest

Runs on port 5000 in the container, publish to whatever you want

Requires several ENV variables to be passed to the container:

SECRET_KEY: This should be an API key for your emby server.

EMBY_SERVER: This should be the URL used to connect to your server.

(Optional) DEFAULT_ROOM: A room name which always exists. Default is 'Bacon Bar'

(Optional) INTERVAL: The interval of the synchronization loop, in seconds. Default '3.0' seconds. Setting this shorter will yield a higher load on the Emby server, but on a low latency connection can give very good synchronization results.

(Optional) BUFFER: Set to add some buffer time if some of your clients have slower connections. 10000000 = 1s. Default = 0

(Optional) SYNC_LIMIT: How far to allow clients to drift apart. Note this is not meant to provide perfect sync and some time is required here. Default: 8s

Known Issue: Chromecasts cannot follow, but can lead. Workaround by controlling the device casting to the Chromecast.

Known Issue: Currently playing display only works for movies

Development

API reference: http://swagger.emby.media/?staticview=true#/SessionsService/

Start Development Server

python dev_start.py

For the dev server, the host and port can be defined by using environment variables:

export HOST="0.0.0.0"
export PORT="5000"
python dev_start.py

Install emby-sync on Unraid in a few clicks.

Find emby-sync in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for emby-sync Review the template variables and paths Click Install

Download Statistics

143,145
Total Downloads
14
This Month
118
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Details

Repository
lastelement21/emby-sync
Last Updated2023-10-11
First Seen2021-02-16

Runtime arguments

Network
bridge
Privileged
false

Template configuration

API KeyVariable

Your API Key for Emby

Target
SECRET_KEY
Emby serverVariable

URL to your Emby server

Target
EMBY_SERVER
Default
https://
PortPorttcp

Container Port: 5000

Target
5000
Default
5000
Default roomVariable

Make sure this room always exists! Leave empty for default. Default is 'Bacon Bar'

Target
DEFAULT_ROOM