mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 15:45:56 +02:00
add emby
This commit is contained in:
3
emby/CHANGELOG.md
Normal file
3
emby/CHANGELOG.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.1.0
|
||||||
|
|
||||||
|
- emby to 4.3.1.0 (linuxserver/emby:4.3.1.0-ls26)
|
||||||
10
emby/Dockerfile
Normal file
10
emby/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
FROM linuxserver/emby:4.3.1.0-ls26
|
||||||
|
|
||||||
|
RUN sed -i "s|/config|/emby|g" /etc/services.d/emby/run \
|
||||||
|
&& sed -i "s|/config|/emby|g" /etc/cont-init.d/30-config
|
||||||
|
|
||||||
|
RUN cat /etc/services.d/emby/run
|
||||||
|
|
||||||
|
# copy local files
|
||||||
|
COPY root/ /
|
||||||
|
|
||||||
27
emby/README.md
Normal file
27
emby/README.md
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# Hassio Add-ons by petersendev: emby
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
[emby](https://emby.media/) organizes video, music, live TV, and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. This container is packaged as a standalone emby Media Server.
|
||||||
|
|
||||||
|
This addon is based on the [docker image](https://github.com/linuxserver/docker-emby) from linuxserver.io.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
The installation of this add-on is pretty straightforward and not different in
|
||||||
|
comparison to installing any other Hass.io add-on.
|
||||||
|
|
||||||
|
1. [Add my Hass.io add-ons repository][repository] to your Hass.io instance.
|
||||||
|
1. Install this add-on.
|
||||||
|
1. Click the `Save` button to store your configuration.
|
||||||
|
1. Start the add-on.
|
||||||
|
1. Check the logs of the add-on to see if everything went well.
|
||||||
|
1. Carefully configure the add-on to your preferences, see the official documentation for for that.
|
||||||
|
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
Webui can be found at `<your-ip>:8096`.
|
||||||
|
|
||||||
|
|
||||||
|
[repository]: https://github.com/petersendev/hassio-addons
|
||||||
41
emby/config.json
Normal file
41
emby/config.json
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"name": "emby",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"slug": "emby",
|
||||||
|
"legacy": true,
|
||||||
|
"maintenance": {
|
||||||
|
"github_release": "https://github.com/linuxserver/docker-emby",
|
||||||
|
"version_regex": "(\\d+\\.\\d+\\.\\d+.\\d+)-(ls\\d+)"
|
||||||
|
},
|
||||||
|
"description": "A Free Software Media System that puts you in control of managing and streaming your media.",
|
||||||
|
"url": "https://github.com/petersendev/hassio-addons/emby",
|
||||||
|
"startup": "services",
|
||||||
|
"arch": [
|
||||||
|
"aarch64",
|
||||||
|
"amd64",
|
||||||
|
"armhf"
|
||||||
|
],
|
||||||
|
"ports": {
|
||||||
|
"8096/tcp": 8096
|
||||||
|
},
|
||||||
|
"ports_description": {
|
||||||
|
"8096/tcp": "web interface"
|
||||||
|
},
|
||||||
|
"map": [
|
||||||
|
"config:rw",
|
||||||
|
"share:rw",
|
||||||
|
"ssl"
|
||||||
|
],
|
||||||
|
"webui": "http://[HOST]:[PORT:8096]",
|
||||||
|
"boot": "auto",
|
||||||
|
"options": {
|
||||||
|
"PUID": 1001,
|
||||||
|
"PGID": 1001
|
||||||
|
},
|
||||||
|
"schema": {
|
||||||
|
"PUID": "int",
|
||||||
|
"PGID": "int",
|
||||||
|
"TZ": "str?"
|
||||||
|
},
|
||||||
|
"image": "petersendev/hassio-emby-{arch}"
|
||||||
|
}
|
||||||
BIN
emby/icon.png
Normal file
BIN
emby/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
BIN
emby/logo.png
Normal file
BIN
emby/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
82
emby/root/etc/cont-init.d/20-folders
Normal file
82
emby/root/etc/cont-init.d/20-folders
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
if [ ! -d /emby ]; then
|
||||||
|
echo "Creating /emby"
|
||||||
|
mkdir -p /emby
|
||||||
|
chown -R abc:abc /emby
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /share/storage/tv ]; then
|
||||||
|
echo "Creating /share/storage/tv"
|
||||||
|
mkdir -p /share/storage/tv
|
||||||
|
chown -R abc:abc /share/storage/tv
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /share/storage/movies ]; then
|
||||||
|
echo "Creating /share/storage/movies"
|
||||||
|
mkdir -p /share/storage/movies
|
||||||
|
chown -R abc:abc /share/storage/movies
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /share/emby ]; then
|
||||||
|
echo "Creating /share/emby"
|
||||||
|
mkdir -p /share/emby
|
||||||
|
chown -R abc:abc /share/emby
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /config/emby ]; then
|
||||||
|
echo "Creating /config/emby"
|
||||||
|
mkdir -p /config/emby
|
||||||
|
chown -R abc:abc /config/emby
|
||||||
|
fi
|
||||||
|
|
||||||
|
# links
|
||||||
|
|
||||||
|
if [ ! -d /emby/cache ]; then
|
||||||
|
echo "Creating link for /emby/cache"
|
||||||
|
mkdir -p /share/emby/cache
|
||||||
|
chown -R abc:abc /share/emby/cache
|
||||||
|
ln -s /share/emby/cache /emby/cache
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /emby/config ]; then
|
||||||
|
echo "Creating link for /emby/config"
|
||||||
|
mkdir -p /config/emby
|
||||||
|
chown -R abc:abc /config/emby
|
||||||
|
ln -s /config/emby /emby/config
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /emby/data ]; then
|
||||||
|
echo "Creating link for /emby/data"
|
||||||
|
mkdir -p /share/emby/data
|
||||||
|
chown -R abc:abc /share/emby/data
|
||||||
|
ln -s /share/emby/data /emby/data
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /emby/logs ]; then
|
||||||
|
echo "Creating link for /emby/logs"
|
||||||
|
mkdir -p /share/emby/logs
|
||||||
|
chown -R abc:abc /share/emby/logs
|
||||||
|
ln -s /share/emby/logs /emby/logs
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /emby/metadata ]; then
|
||||||
|
echo "Creating link for /emby/metadata"
|
||||||
|
mkdir -p /share/emby/metadata
|
||||||
|
chown -R abc:abc /share/emby/metadata
|
||||||
|
ln -s /share/emby/metadata /emby/metadata
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /emby/plugins ]; then
|
||||||
|
echo "Creating link for /emby/plugins"
|
||||||
|
mkdir -p /share/emby/plugins
|
||||||
|
chown -R abc:abc /share/emby/plugins
|
||||||
|
ln -s /share/emby/plugins /emby/plugins
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /emby/root ]; then
|
||||||
|
echo "Creating link for /emby/root"
|
||||||
|
mkdir -p /share/emby/root
|
||||||
|
chown -R abc:abc /share/emby/root
|
||||||
|
ln -s /share/emby/root /emby/root
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user