This commit is contained in:
Alexandre
2020-11-29 19:21:47 +01:00
parent 600e905504
commit 76298d3cd5
106 changed files with 0 additions and 1998 deletions

View File

@@ -1,24 +0,0 @@
## 0.5.1
- Mount /media folder
## 0.5.0
- Update jellyfin to 10.5.5 (linuxserver/jellyfin:v10.5.5-ls52)
## 0.4.0
- Update jellyfin to 10.5.0 (linuxserver/jellyfin:v10.5.0-ls39)
## 0.3.0
- not a legacy addon anymore
- Update base image to linuxserver/jellyfin:v10.4.3-ls36
## 0.2.0
- Update jellyfin to 10.4.3 (linuxserver/jellyfin:v10.4.3-ls29)
## 0.1.0
- jellyfin 10.4.1 (linuxserver/jellyfin:v10.4.1-ls24)

View File

@@ -1,39 +0,0 @@
ARG BUILD_FROM
# hadolint ignore=DL3006
FROM $BUILD_FROM
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update \
\
&& apt-get install -y --no-install-recommends \
jq=1.5+dfsg-2 \
\
&& curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.7.1.tar.gz" \
&& mkdir /tmp/bashio \
&& tar zxvf \
/tmp/bashio.tar.gz \
--strip 1 -C /tmp/bashio \
\
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -fr \
/tmp/* \
/var/{cache,log}/* \
/var/lib/apt/lists/*
RUN sed -i "s|/config/data|/share/jellyfin/data|g" /etc/services.d/jellyfin/run \
&& sed -i "s|/config/log|/share/jellyfin/log|g" /etc/services.d/jellyfin/run \
&& sed -i "s|/config/cache|/share/jellyfin/cache|g" /etc/services.d/jellyfin/run \
&& sed -i "s|/config|/config/jellyfin|g" /etc/services.d/jellyfin/run \
&& sed -i "s|/config/{log,data,cache}|/xxx/jellyfin|g" /etc/cont-init.d/30-config \
&& sed -i "s|/config|/config/jellyfin|g" /etc/cont-init.d/30-config \
&& sed -i "s|/xxx|/config|g" /etc/cont-init.d/30-config \
&& sed -i "s|/data|/share/jellyfin/data|g" /etc/cont-init.d/30-config
RUN cat /etc/services.d/jellyfin/run && cat /etc/cont-init.d/30-config
# copy local files
COPY root/ /

View File

@@ -1,27 +0,0 @@
# Hassio Add-ons by petersendev: Jellyfin
## About
[Jellyfin](https://jellyfin.github.io/) is a Free Software Media System that puts you in control of managing and streaming your media. It is an alternative to the proprietary Emby and Plex, to provide media from a dedicated server to end-user devices via multiple apps. Jellyfin is descended from Emby's 3.5.2 release and ported to the .NET Core framework to enable full cross-platform support. There are no strings attached, no premium licenses or features, and no hidden agendas: just a team who want to build something better and work together to achieve it.
This addon is based on the [docker image](https://github.com/linuxserver/docker-jellyfin) 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

View File

@@ -1,13 +0,0 @@
{
"build_from_template": {
"image": "linuxserver/jellyfin",
"version": "v10.5.5-ls52"
},
"build_from": {
"armhf": "linuxserver/jellyfin:arm32v7-v10.5.5-ls52",
"aarch64": "linuxserver/jellyfin:arm64v8-v10.5.5-ls52",
"amd64": "linuxserver/jellyfin:amd64-v10.5.5-ls52"
},
"squash": false,
"args": {}
}

View File

@@ -1,42 +0,0 @@
{
"name": "jellyfin",
"version": "0.5.1",
"slug": "jellyfin",
"legacy": false,
"maintenance": {
"github_release": "https://github.com/linuxserver/docker-jellyfin",
"version_regex": "v(\\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/tree/master/jellyfin#readme",
"startup": "services",
"arch": [
"aarch64",
"amd64",
"armhf"
],
"ports": {
"8096/tcp": 8096
},
"ports_description": {
"8096/tcp": "web interface"
},
"map": [
"config:rw",
"share:rw",
"media:rw",
"ssl"
],
"webui": "http://[HOST]:[PORT:8096]",
"boot": "auto",
"options": {
"PUID": 1001,
"PGID": 1001
},
"schema": {
"PUID": "int",
"PGID": "int",
"TZ": "str?"
},
"image": "petersendev/hassio-jellyfin-{arch}"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -1,5 +0,0 @@
#!/usr/bin/with-contenv bashio
for k in $(bashio::jq "${__BASHIO_ADDON_CONFIG}" 'keys | .[]'); do
printf "$(bashio::config $k)" > /var/run/s6/container_environment/$k
done

View File

@@ -1,37 +0,0 @@
#!/usr/bin/with-contenv bash
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/jellyfin/data ]; then
echo "Creating /share/jellyfin/data"
mkdir -p /share/jellyfin/data
chown -R abc:abc /share/jellyfin/data
fi
if [ ! -d /share/jellyfin/cache ]; then
echo "Creating /share/jellyfin/cache"
mkdir -p /share/jellyfin/cache
chown -R abc:abc /share/jellyfin/cache
fi
if [ ! -d /share/jellyfin/log ]; then
echo "Creating /share/jellyfin/log"
mkdir -p /share/jellyfin/log
chown -R abc:abc /share/jellyfin/log
fi
if [ ! -d /config/jellyfin ]; then
echo "Creating /config/jellyfin"
mkdir -p /config/jellyfin
chown -R abc:abc /config/jellyfin
fi