mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Cleanup
This commit is contained in:
14
README.md
14
README.md
@@ -19,13 +19,19 @@ https://github.com/alexbelgium/hassio-addons
|
||||
|
||||
### [emby](emby/)
|
||||
A Free Software Media System that puts you in control of managing and streaming your media.
|
||||
- Based on linuxserver image latest beta
|
||||
- Forked from : https://github.com/petersendev/hassio-addons
|
||||
- Modifications : switch to beta versions, add smb and local disks mount
|
||||
|
||||
### [jellyfin](jellyfin/)
|
||||
A Free Software Media System that puts you in control of managing and streaming your media.
|
||||
- Forked from : https://github.com/petersendev/hassio-addons
|
||||
- Modifications : switch to latest versions, add smb and local disks mount
|
||||
### [transmission](transmission/)
|
||||
The torrent client for Hass.io with OpenVPN support.
|
||||
- Based on latest transmission
|
||||
- Forked from : https://github.com/Alexwijn/hassio-addon-transmission
|
||||
- Modifications : add smb and local disks mount
|
||||
|
||||
### [doublecommander](doublecommander/)
|
||||
A free cross platform open source file manager with two panels side by side.
|
||||
- Based on latest linuxserver image
|
||||
|
||||
[//]: # (ADDONLIST_END)
|
||||
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
## 0.17.0
|
||||
|
||||
- Update jackett to 0.16.2274 (linuxserver/jackett:v0.16.2274-ls7)
|
||||
|
||||
## 0.16.0
|
||||
|
||||
- Update jackett to 0.16.1724 (linuxserver/jackett:v0.16.1724-ls20)
|
||||
|
||||
## 0.15.0
|
||||
|
||||
- Update jackett to 0.16.1621 (linuxserver/jackett:v0.16.1621-ls20)
|
||||
|
||||
## 0.14.0
|
||||
|
||||
- Update jackett to 0.16.1327 (linuxserver/jackett:v0.16.1327-ls18)
|
||||
|
||||
## 0.13.0
|
||||
|
||||
- Update jackett to 0.16.1023 (linuxserver/jackett:v0.16.1023-ls15)
|
||||
|
||||
## 0.12.0
|
||||
|
||||
- Update jackett to 0.16.962 (linuxserver/jackett:v0.16.962-ls13)
|
||||
|
||||
## 0.11.0
|
||||
|
||||
- Update jackett to 0.16.938 (linuxserver/jackett:v0.16.938-ls13)
|
||||
|
||||
## 0.10.0
|
||||
|
||||
- Update jackett to 0.16.800 (linuxserver/jackett:v0.16.800-ls8)
|
||||
|
||||
## 0.9.0
|
||||
|
||||
- Update jackett to 0.16.770 (linuxserver/jackett:v0.16.770-ls7)
|
||||
|
||||
## 0.8.0
|
||||
|
||||
- Update jackett to 0.16.324 (linuxserver/jackett:v0.16.324-ls64)
|
||||
|
||||
## 0.7.0
|
||||
|
||||
- Update jackett to 0.14.79 (linuxserver/jackett:v0.14.79-ls56)
|
||||
|
||||
## 0.6.0
|
||||
|
||||
- Update jackett to 0.13.280 (linuxserver/jackett:v0.13.280-ls55)
|
||||
|
||||
## 0.5.0
|
||||
|
||||
- Update jackett to 0.13.188 (linuxserver/jackett:v0.13.188-ls55)
|
||||
|
||||
## 0.4.0
|
||||
|
||||
- not a legacy addon anymore
|
||||
- Update jackett to 0.13.144 (linuxserver/jackett:v0.13.144-ls55)
|
||||
|
||||
## 0.3.0
|
||||
|
||||
- Update jackett to 0.13.127 (linuxserver/jackett:v0.13.127-ls54)
|
||||
|
||||
## 0.2.0
|
||||
|
||||
- Update jackett to 0.12.1638 (linuxserver/jackett:v0.12.1638-ls51)
|
||||
|
||||
## 0.1.0
|
||||
|
||||
- jackett 0.12.1635 (linuxserver/jackett:v0.12.1635-ls51)
|
||||
@@ -1,23 +0,0 @@
|
||||
ARG BUILD_FROM
|
||||
# hadolint ignore=DL3006
|
||||
FROM $BUILD_FROM
|
||||
|
||||
RUN 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/*
|
||||
|
||||
# use /data instead of /config for hass.io environment
|
||||
RUN sed -i "s|/config|/config/jackett|g" /etc/cont-init.d/30-config
|
||||
|
||||
ENV XDG_DATA_HOME="/share/jackett" \
|
||||
XDG_CONFIG_HOME="/config/jackett"
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
@@ -1,26 +0,0 @@
|
||||
# Hassio Add-ons by petersendev: jackett
|
||||
|
||||
## About
|
||||
|
||||
[Jackett](https://github.com/Jackett/Jackett) works as a proxy server: it translates queries from apps (Sonarr, SickRage, CouchPotato, Mylar, etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps.
|
||||
|
||||
This addon is based on the [docker image](https://github.com/linuxserver/docker-jackett) 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>:9117`.
|
||||
|
||||
[repository]: https://github.com/petersendev/hassio-addons
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"build_from_template": {
|
||||
"image": "linuxserver/jackett",
|
||||
"version": "latest"
|
||||
},
|
||||
"build_from": {
|
||||
"armhf": "linuxserver/jackett:arm32v7-latest",
|
||||
"armv7": "linuxserver/jackett:arm32v7-latest",
|
||||
"aarch64": "linuxserver/jackett:arm64v8-latest",
|
||||
"amd64": "linuxserver/jackett:amd64-latest"
|
||||
},
|
||||
"squash": false,
|
||||
"args": {}
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
{
|
||||
"name": "Jackett",
|
||||
"version": "1.0",
|
||||
"slug": "jackett",
|
||||
"legacy": false,
|
||||
"maintenance": {
|
||||
"github_release": "https://github.com/linuxserver/docker-jackett",
|
||||
"version_regex": "v(\\d+\\.\\d+\\.\\d+)-(ls\\d+)"
|
||||
},
|
||||
"description": "API Support for your favorite torrent trackers",
|
||||
"url": "https://github.com/petersendev/hassio-addons/tree/master/jackett#readme",
|
||||
"startup": "services",
|
||||
"arch": [
|
||||
"aarch64",
|
||||
"amd64",
|
||||
"armv7",
|
||||
"armhf"
|
||||
],
|
||||
"ports": {
|
||||
"9117/tcp": 9117
|
||||
},
|
||||
"ports_description": {
|
||||
"9117/tcp": "web interface"
|
||||
},
|
||||
"map": [
|
||||
"config:rw",
|
||||
"share:rw",
|
||||
"ssl"
|
||||
],
|
||||
"webui": "http://[HOST]:[PORT:9117]",
|
||||
"boot": "auto",
|
||||
"options": {
|
||||
"PUID": 1001,
|
||||
"PGID": 1001
|
||||
},
|
||||
"schema": {
|
||||
"PUID": "int",
|
||||
"PGID": "int",
|
||||
"TZ": "str?"
|
||||
},
|
||||
"environment": {
|
||||
"XDG_DATA_HOME": "/share/jackett",
|
||||
"XDG_CONFIG_HOME": "/config/jackett"
|
||||
}
|
||||
}
|
||||
BIN
jackett/icon.png
BIN
jackett/icon.png
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
BIN
jackett/logo.png
BIN
jackett/logo.png
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
@@ -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
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ ! -d /config/jackett ]; then
|
||||
echo "Creating /config/jackett"
|
||||
mkdir -p /config/jackett
|
||||
chown -R abc:abc /config/jackett
|
||||
fi
|
||||
|
||||
if [ ! -d /share/jackett ]; then
|
||||
echo "Creating /share/jackett"
|
||||
mkdir -p /share/jackett
|
||||
chown -R abc:abc /share/jackett
|
||||
fi
|
||||
@@ -1,32 +0,0 @@
|
||||
## 0.7.1
|
||||
|
||||
- Mount /media folder
|
||||
|
||||
## 0.7.0
|
||||
|
||||
- Update emby to 4.5.2.0 (linuxserver/emby:4.5.2.0-ls58)
|
||||
|
||||
## 0.6.0
|
||||
|
||||
- Update emby to 4.5.1.0 (linuxserver/emby:4.5.1.0-ls58)
|
||||
|
||||
## 0.5.0
|
||||
|
||||
- Update emby to 4.5.0.50 (linuxserver/emby:4.5.0.50-ls56)
|
||||
|
||||
## 0.4.0
|
||||
|
||||
- Update emby to 4.4.3.0 (linuxserver/emby:4.4.3.0-ls45)
|
||||
|
||||
## 0.3.0
|
||||
|
||||
- Update emby to 4.4.2.0 (linuxserver/emby:4.4.2.0-ls40)
|
||||
|
||||
## 0.2.0
|
||||
|
||||
- not a legacy addon anymore
|
||||
- Update base image to linuxserver/emby:4.3.1.0-ls31
|
||||
|
||||
## 0.1.0
|
||||
|
||||
- emby to 4.3.1.0 (linuxserver/emby:4.3.1.0-ls26)
|
||||
@@ -1,33 +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 \
|
||||
\
|
||||
&& apt-get -y upgrade cifs-utils \
|
||||
&& 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/*
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
RUN sed -i "s|/config|/jellyfin|g" /etc/services.d/jellyfin/run \
|
||||
&& sed -i "s|/config|/jellyfin|g" /etc/cont-init.d/30-config
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
# Hassio Add-ons by alexbelgium: Jellyfin
|
||||
|
||||
## About
|
||||
|
||||
Forked to add latest versions, smb and local hdd mount.
|
||||
- Inital version : https://github.com/petersendev/hassio-addons
|
||||
- CIFS code : https://github.com/dianlight/hassio-addons
|
||||
|
||||
[Jellyfin](https://Jellyfin.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 Jellyfin Media Server.
|
||||
|
||||
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/alexbelgium/hassio-addons
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"build_from_template": {
|
||||
"image": "linuxserver/jellyfin",
|
||||
"version": "latest"
|
||||
},
|
||||
"build_from": {
|
||||
"armv7": "linuxserver/jellyfin:arm32v7-latest",
|
||||
"armhf": "linuxserver/jellyfin:arm32v7-latest",
|
||||
"aarch64": "linuxserver/jellyfin:arm64v8-latest",
|
||||
"amd64": "linuxserver/jellyfin:amd64-latest"
|
||||
},
|
||||
"squash": false,
|
||||
"args": {}
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
{
|
||||
"name": "Jellyfin with smb and hdd",
|
||||
"version": "2.0",
|
||||
"slug": "jellyfin_nas",
|
||||
"legacy": false,
|
||||
"maintenance": {
|
||||
"github_release": "https://github.com/linuxserver/docker-jellyfin",
|
||||
"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/tree/master/jellyfin#readme",
|
||||
"startup": "services",
|
||||
"arch": [
|
||||
"aarch64",
|
||||
"amd64",
|
||||
"armv7",
|
||||
"armhf"
|
||||
],
|
||||
"ports": {
|
||||
"8096/tcp": 8096,
|
||||
"8920/tcp": null
|
||||
},
|
||||
"ports_description": {
|
||||
"8096/tcp": "web interface",
|
||||
"8920/tcp": "https web interface (optional)"
|
||||
},
|
||||
"map": [
|
||||
"config:rw",
|
||||
"share:rw",
|
||||
"media:rw",
|
||||
"ssl"
|
||||
],
|
||||
"webui": "http://[HOST]:[PORT:8096]",
|
||||
"boot": "auto",
|
||||
"privileged": ["SYS_ADMIN", "DAC_READ_SEARCH"],
|
||||
"full_access": true,
|
||||
"options": {
|
||||
"PUID": 1001,
|
||||
"PGID": 1001,
|
||||
"localdisks": "/dev/sdb1",
|
||||
"networkdisks": "<//SERVER/SHARE>",
|
||||
"cifsusername": "<username>",
|
||||
"cifspassword": "<password>"
|
||||
},
|
||||
"schema": {
|
||||
"PUID": "int",
|
||||
"PGID": "int",
|
||||
"TZ": "str?",
|
||||
"localdisks": "str",
|
||||
"networkdisks": "str",
|
||||
"cifsusername": "str",
|
||||
"cifspassword": "str"
|
||||
}
|
||||
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 26 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 26 KiB |
@@ -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
|
||||
@@ -1,70 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ ! -d /jellyfin ]; then
|
||||
echo "Creating /jellyfin"
|
||||
mkdir -p /jellyfin
|
||||
chown -R abc:abc /jellyfin
|
||||
fi
|
||||
|
||||
if [ ! -d /share/jellyfin ]; then
|
||||
echo "Creating /share/jellyfin"
|
||||
mkdir -p /share/jellyfin
|
||||
chown -R abc:abc /share/jellyfin
|
||||
fi
|
||||
|
||||
if [ ! -d /config/jellyfin ]; then
|
||||
echo "Creating /config/jellyfin"
|
||||
mkdir -p /config/jellyfin
|
||||
chown -R abc:abc /config/jellyfin
|
||||
fi
|
||||
|
||||
# links
|
||||
|
||||
if [ ! -d /jellyfin/cache ]; then
|
||||
echo "Creating link for /jellyfin/cache"
|
||||
mkdir -p /share/jellyfin/cache
|
||||
chown -R abc:abc /share/jellyfin/cache
|
||||
ln -s /share/jellyfin/cache /jellyfin/cache
|
||||
fi
|
||||
|
||||
if [ ! -d /jellyfin/config ]; then
|
||||
echo "Creating link for /jellyfin/config"
|
||||
mkdir -p /config/jellyfin
|
||||
chown -R abc:abc /config/jellyfin
|
||||
ln -s /config/jellyfin /jellyfin/config
|
||||
fi
|
||||
|
||||
if [ ! -d /jellyfin/data ]; then
|
||||
echo "Creating link for /jellyfin/data"
|
||||
mkdir -p /share/jellyfin/data
|
||||
chown -R abc:abc /share/jellyfin/data
|
||||
ln -s /share/jellyfin/data /jellyfin/data
|
||||
fi
|
||||
|
||||
if [ ! -d /jellyfin/logs ]; then
|
||||
echo "Creating link for /jellyfin/logs"
|
||||
mkdir -p /share/jellyfin/logs
|
||||
chown -R abc:abc /share/jellyfin/logs
|
||||
ln -s /share/jellyfin/logs /jellyfin/logs
|
||||
fi
|
||||
|
||||
if [ ! -d /jellyfin/metadata ]; then
|
||||
echo "Creating link for /jellyfin/metadata"
|
||||
mkdir -p /share/jellyfin/metadata
|
||||
chown -R abc:abc /share/jellyfin/metadata
|
||||
ln -s /share/jellyfin/metadata /jellyfin/metadata
|
||||
fi
|
||||
|
||||
if [ ! -d /jellyfin/plugins ]; then
|
||||
echo "Creating link for /jellyfin/plugins"
|
||||
mkdir -p /share/jellyfin/plugins
|
||||
chown -R abc:abc /share/jellyfin/plugins
|
||||
ln -s /share/jellyfin/plugins /jellyfin/plugins
|
||||
fi
|
||||
|
||||
if [ ! -d /jellyfin/root ]; then
|
||||
echo "Creating link for /jellyfin/root"
|
||||
mkdir -p /share/jellyfin/root
|
||||
chown -R abc:abc /share/jellyfin/root
|
||||
ln -s /share/jellyfin/root /jellyfin/root
|
||||
fi
|
||||
@@ -1,46 +0,0 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
#!/usr/bin/with-contenv bashio
|
||||
bashio::log.info 'Mounting external hdd...'
|
||||
|
||||
# Mount local Share if configured and if Protection Mode is active
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
MOREDISKS=$(bashio::config 'localdisks')
|
||||
bashio::log.info "Local Disks mounting.. ${MOREDISKS}" && \
|
||||
for disk in $MOREDISKS
|
||||
do
|
||||
bashio::log.info "Mount ${disk}"
|
||||
mkdir -p /share/storage && \
|
||||
if [ ! -d /share/storage ]; then
|
||||
echo "Creating /share/storage"
|
||||
mkdir -p /share/storage
|
||||
chown -R abc:abc /share/storage
|
||||
fi
|
||||
|
||||
mount $disk /share/storage && \
|
||||
bashio::log.info "Success!"
|
||||
done || \
|
||||
bashio::log.warning "Protection mode is ON. Unable to mount local drives!"
|
||||
fi
|
||||
|
||||
# Mount CIFS Share if configured and if Protection Mode is active
|
||||
if bashio::config.has_value 'networkdisks'; then
|
||||
MOREDISKS=$(bashio::config 'networkdisks')
|
||||
CIFS_USERNAME=$(bashio::config 'cifsusername')
|
||||
CIFS_PASSWORD=$(bashio::config 'cifspassword')
|
||||
bashio::log.info "Network Disks mounting.. ${MOREDISKS}" && \
|
||||
for disk in $MOREDISKS
|
||||
do
|
||||
bashio::log.info "Mount ${disk}"
|
||||
mkdir -p /share/storagecifs && \
|
||||
if [ ! -d /share/storagecifs ]; then
|
||||
echo "Creating /share/storagecifs"
|
||||
mkdir -p /share/storagecifs
|
||||
chown -R abc:abc /share/storagecifs
|
||||
fi
|
||||
|
||||
mount -t cifs -o username=$CIFS_USERNAME,password=$CIFS_PASSWORD $disk /share/storagecifs && \
|
||||
bashio::log.info "Success!"
|
||||
done || \
|
||||
bashio::log.warning "Protection mode is ON. Unable to mount external drives!"
|
||||
fi
|
||||
Reference in New Issue
Block a user