mirror of
https://github.com/hassio-addons/addon-mopidy.git
synced 2025-05-05 03:51:35 +00:00
🔨 Re-branding
This commit is contained in:
parent
3067566f07
commit
02fe101089
16 changed files with 30 additions and 30 deletions
4
.github/settings.yml
vendored
4
.github/settings.yml
vendored
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
repository:
|
||||
description: "Mopidy - Community Hass.io Add-on for Home Assistant"
|
||||
description: "Mopidy - Home Assistant Community Add-ons"
|
||||
homepage: https://addons.community
|
||||
topics: music-player, mopidy, python, hassio-addons, hassio, hass, home-assistant, homeassistant
|
||||
topics: music-player, mopidy, addon, addons, home-assistant, homeassistant
|
||||
private: false
|
||||
has_issues: true
|
||||
has_projects: false
|
||||
|
|
12
README.md
12
README.md
|
@ -1,4 +1,4 @@
|
|||
# Community Hass.io Add-ons: Mopidy
|
||||
# Home Assistant Community Add-on: Mopidy
|
||||
|
||||
[![GitHub Release][releases-shield]][releases]
|
||||
![Project Stage][project-stage-shield]
|
||||
|
@ -28,7 +28,7 @@ range of MPD and web clients.
|
|||
## Installation
|
||||
|
||||
The installation of this add-on is pretty straightforward and not different in
|
||||
comparison to installing any other Hass.io add-on.
|
||||
comparison to installing any other Home Assistant add-on.
|
||||
|
||||
1. [Add our Hass.io add-ons repository][repository] to your Hass.io instance.
|
||||
1. Install the "Mopidy" add-on.
|
||||
|
@ -159,7 +159,7 @@ Got questions?
|
|||
|
||||
You have several options to get them answered:
|
||||
|
||||
- The [Community Hass.io Add-ons Discord chat server][discord] for add-on
|
||||
- The [Home Assistant Community Add-ons Discord chat server][discord] for add-on
|
||||
support and feature requests.
|
||||
- The [Home Assistant Discord chat server][discord-ha] for general Home
|
||||
Assistant discussions and questions.
|
||||
|
@ -186,11 +186,11 @@ The original setup of this repository is by [Bram Mittendorff][brammittendorff],
|
|||
For a full list of all authors and contributors,
|
||||
check [the contributor's page][contributors].
|
||||
|
||||
## We have got some Hass.io add-ons for you
|
||||
## We have got some Home Assistant add-ons for you
|
||||
|
||||
Want some more functionality to your Hass.io Home Assistant instance?
|
||||
Want some more functionality to your Home Assistant instance?
|
||||
|
||||
We have created multiple add-ons for Hass.io. For a full list, check out
|
||||
We have created multiple add-ons for Home Assistant. For a full list, check out
|
||||
our [GitHub Repository][repository].
|
||||
|
||||
## License
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Community Hass.io Add-ons: Mopidy
|
||||
# Home Assistant Community Add-on: Mopidy
|
||||
|
||||
[![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield]
|
||||
|
||||
|
@ -23,7 +23,7 @@ range of MPD and web clients.
|
|||
{% if channel == "edge" %}
|
||||
## WARNING! THIS IS AN EDGE VERSION!
|
||||
|
||||
This Hass.io Add-ons repository contains edge builds of add-ons. Edge builds
|
||||
This Home Assistant Add-ons repository contains edge builds of add-ons. Edge builds
|
||||
add-ons are based upon the latest development version.
|
||||
|
||||
- They may not work at all.
|
||||
|
@ -44,7 +44,7 @@ If you are more interested in stable releases of our add-ons:
|
|||
{% if channel == "beta" %}
|
||||
## WARNING! THIS IS A BETA VERSION!
|
||||
|
||||
This Hass.io Add-ons repository contains beta releases of add-ons.
|
||||
This Home Assistant Add-ons repository contains beta releases of add-ons.
|
||||
|
||||
- They might stop working at any time.
|
||||
- They could have a negative impact on your system.
|
||||
|
|
|
@ -103,4 +103,4 @@ LABEL \
|
|||
org.label-schema.usage="https://github.com/hassio-addons/addon-mopidy/tree/master/README.md" \
|
||||
org.label-schema.vcs-ref=${BUILD_REF} \
|
||||
org.label-schema.vcs-url="https://github.com/hassio-addons/addon-mopidy" \
|
||||
org.label-schema.vendor="Community Hass.io Add-ons"
|
||||
org.label-schema.vendor="Home Assistant Community Add-ons"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
"ports_description": {
|
||||
"6600/tcp": "Mopidy",
|
||||
"5555/udp": "Autoaudiosink",
|
||||
"80/tcp": "Web interface (Not required for Hass.io Ingress)"
|
||||
"80/tcp": "Web interface (Not required for Ingress)"
|
||||
},
|
||||
"map": [
|
||||
"config",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: InfluxDB
|
||||
# Home Assistant Community Add-on: InfluxDB
|
||||
# Configures NGINX for use with the Chronograf
|
||||
# ==============================================================================
|
||||
declare port
|
||||
|
@ -34,4 +34,4 @@ ingress_port=$(bashio::addon.ingress_port)
|
|||
ingress_interface=$(bashio::addon.ip_address)
|
||||
sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf
|
||||
sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/servers/ingress.conf
|
||||
sed -i "s#%%ingress_entry%%#${ingress_entry}#g" /etc/nginx/servers/ingress.conf
|
||||
sed -i "s#%%ingress_entry%%#${ingress_entry}#g" /etc/nginx/servers/ingress.conf
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Mopidy
|
||||
# Home Assistant Community Add-on: Mopidy
|
||||
# Ensures needed folder exists.
|
||||
# ==============================================================================
|
||||
readonly MEDIA_DIR="/share/mopidy/media"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Mopidy
|
||||
# Home Assistant Community Add-on: Mopidy
|
||||
# Install user configured/requested packages
|
||||
# ==============================================================================
|
||||
if bashio::config.has_value 'system_packages'; then
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Mopidy
|
||||
# Home Assistant Community Add-on: Mopidy
|
||||
# Install user configured/requested Python packages
|
||||
# ==============================================================================
|
||||
if bashio::config.has_value 'python_packages'; then
|
||||
|
|
|
@ -29,7 +29,7 @@ function authenticate()
|
|||
return true
|
||||
end
|
||||
|
||||
--- HTTP request against Hassio API
|
||||
--- HTTP request against the Supervisor API
|
||||
local httpc = http.new()
|
||||
local res, err = httpc:request_uri("http://hassio/auth", {
|
||||
method = "POST",
|
||||
|
@ -44,13 +44,13 @@ function authenticate()
|
|||
|
||||
--- Error during API request
|
||||
if err then
|
||||
ngx.log(ngx.WARN, "Error during Hassio user authentication.", err)
|
||||
ngx.log(ngx.WARN, "Error during Home Assistant user authentication.", err)
|
||||
return false
|
||||
end
|
||||
|
||||
--- No result? Something went wrong...
|
||||
if not res then
|
||||
ngx.log(ngx.WARN, "Error during Hassio user authentication.")
|
||||
ngx.log(ngx.WARN, "Error during Home Assistant user authentication.")
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ function authenticate()
|
|||
return true
|
||||
end
|
||||
|
||||
--- HTTP request against Hassio API
|
||||
--- HTTP request against the Supervisor API
|
||||
local httpc = http.new()
|
||||
local res, err = httpc:request_uri("http://hassio/auth", {
|
||||
method = "POST",
|
||||
|
@ -44,13 +44,13 @@ function authenticate()
|
|||
|
||||
--- Error during API request
|
||||
if err then
|
||||
ngx.log(ngx.WARN, "Error during Hassio user authentication.", err)
|
||||
ngx.log(ngx.WARN, "Error during Home Assistant user authentication.", err)
|
||||
return false
|
||||
end
|
||||
|
||||
--- No result? Something went wrong...
|
||||
if not res then
|
||||
ngx.log(ngx.WARN, "Error during Hassio user authentication.")
|
||||
ngx.log(ngx.WARN, "Error during Home Assistant user authentication.")
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ worker_processes 1;
|
|||
# Enables the use of JIT for regular expressions to speed-up their processing.
|
||||
pcre_jit on;
|
||||
|
||||
# Write error log to Hass.io add-on log.
|
||||
# Write error log to the add-on log.
|
||||
error_log /proc/1/fd/1 error;
|
||||
|
||||
# Load allowed environment vars
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Mopidy
|
||||
# Home Assistant Community Add-on: Mopidy
|
||||
# Take down the S6 supervision tree when Mopidy fails
|
||||
# ==============================================================================
|
||||
if -n { s6-test $# -ne 0 }
|
||||
if -n { s6-test ${1} -eq 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Mopidy
|
||||
# Home Assistant Community Add-on: Mopidy
|
||||
# Runs the Mopidy
|
||||
# ==============================================================================
|
||||
declare -a options
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Mopidy
|
||||
# Home Assistant Community Add-on: Mopidy
|
||||
# Take down the S6 supervision tree when Nginx fails
|
||||
# ==============================================================================
|
||||
if -n { s6-test $# -ne 0 }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Mopidy
|
||||
# Home Assistant Community Add-on: Mopidy
|
||||
# Runs the Nginx daemon
|
||||
# ==============================================================================
|
||||
declare -a options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue