This commit is contained in:
2021-08-24 14:35:11 +03:00
parent d8fba9335d
commit 4f37cb59b1
107 changed files with 3941 additions and 66 deletions

34
ympd/CHANGELOG.md Normal file
View File

@@ -0,0 +1,34 @@
## 1.3.0 - 2021-04-02
* 🔨 Use ghcr.io/home-assistant for base images
## 1.2.1 - 2021-03-17
* 🐛 Specifiy own S6 entrypoint, don't rely on the base image
## 1.2.0 - 2021-01-30
* 🔼 Update alpine to `3.13`
* 🔨 Use Jemalloc for better memory handling
## 1.1.0 - 2020-10-22
* 🔼 Update alpine to `3.12`
* 🔼 Update ympd to `1.3.0-r9`
* 🔨 Use S6-Overlay for execution
* 🔨 Start ympd as `application` startup
## 1.0.1 - 2020-05-22
* 🔨 Updated Changelog to new format
## 1.0.0 - 2020-02-12
### Added
* Add ympd version `1.3.0-r8`

8
ympd/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
ARG BUILD_FROM
FROM $BUILD_FROM
RUN apk add --no-cache ympd=1.3.0-r9
ENTRYPOINT [ "/init" ]
CMD []
COPY root /

26
ympd/README.md Normal file
View File

@@ -0,0 +1,26 @@
# ympd
[ympd](https://ympd.org/) is a lightweight MPD (Music Player Daemon) web client that runs without a dedicated webserver or interpreters like PHP, NodeJS or Ruby. It's tuned for minimal resource usage and requires only very litte dependencies.
![Addon Stage][stage-badge]
![Supports aarch64 Architecture][aarch64-badge]
![Supports amd64 Architecture][amd64-badge]
![Supports armhf Architecture][armhf-badge]
![Supports armv7 Architecture][armv7-badge]
![Supports i386 Architecture][i386-badge]
[![Install on my Home Assistant][install-badge]][install-url]
[![Donate][donation-badge]][donation-url]
[aarch64-badge]: https://img.shields.io/badge/aarch64-yes-green.svg?style=for-the-badge
[amd64-badge]: https://img.shields.io/badge/amd64-yes-green.svg?style=for-the-badge
[armhf-badge]: https://img.shields.io/badge/armhf-yes-green.svg?style=for-the-badge
[armv7-badge]: https://img.shields.io/badge/armv7-yes-green.svg?style=for-the-badge
[i386-badge]: https://img.shields.io/badge/i386-yes-green.svg?style=for-the-badge
[install-url]: https://my.home-assistant.io/redirect/supervisor_addon?addon=243ffc37_ympd
[stage-badge]: https://img.shields.io/badge/Addon%20stage-stable-green.svg?style=for-the-badge
[install-badge]: https://img.shields.io/badge/Install%20on%20my-Home%20Assistant-41BDF5?logo=home-assistant&style=for-the-badge
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee-%23d32f2f?logo=buy-me-a-coffee&style=for-the-badge&logoColor=white
[donation-url]: https://www.buymeacoffee.com/Poeschl

9
ympd/build.json Normal file
View File

@@ -0,0 +1,9 @@
{
"build_from": {
"armhf": "ghcr.io/home-assistant/armhf-base:3.13",
"armv7": "ghcr.io/home-assistant/armv7-base:3.13",
"aarch64": "ghcr.io/home-assistant/aarch64-base:3.13",
"amd64": "ghcr.io/home-assistant/amd64-base:3.13",
"i386": "ghcr.io/home-assistant/i386-base:3.13"
}
}

34
ympd/config.json Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "ympd",
"version": "1.3.0",
"slug": "ympd",
"panel_icon": "mdi:play-circle-outline",
"description": "A simple webfrontend for any mpd compatible music player.",
"url": "https://github.com/Poeschl/Hassio-Addons/tree/master/ympd",
"ingress": true,
"ingress_port": 6680,
"arch": [
"armv7",
"armhf",
"aarch64",
"amd64",
"i386"
],
"startup": "application",
"boot": "auto",
"image": "ghcr.io/poeschl/ha-ympd-{arch}",
"ports": {
"6680/tcp": null
},
"ports_description": {
"6680/tcp": "Web Frontend (Not needed with ingress feature)"
},
"options": {
"host": "localhost",
"port": "6600"
},
"schema": {
"host": "str",
"port": "port"
}
}

BIN
ympd/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
ympd/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -0,0 +1,11 @@
#!/usr/bin/with-contenv bashio
set -e
# Enable Jemalloc for better memory handling
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
host=$(bashio::config 'host')
port=$(bashio::config 'port')
bashio::log.info 'Start ympd'
ympd -w 6680 -h "$host" -p "$port"