MiniDLNA add-on + refactoring changes for the other add-ons
This commit is contained in:
+1
-1
@@ -112,4 +112,4 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
[bvlaicu]: https://github.com/bvlaicu
|
||||
[issue]: https://github.com/bvlaicu/addon-php/issues
|
||||
[issue]: https://github.com/bvlaicu/home-assistant-addons/issues
|
||||
@@ -0,0 +1,32 @@
|
||||
ARG BUILD_FROM=hassioaddons/base-amd64:1.2.0
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
# Copy root filesystem
|
||||
#COPY rootfs /
|
||||
|
||||
# Setup base
|
||||
RUN apk add --no-cache minidlna
|
||||
|
||||
# Build arugments
|
||||
ARG BUILD_ARCH
|
||||
ARG BUILD_DATE
|
||||
ARG BUILD_REF
|
||||
ARG BUILD_VERSION
|
||||
|
||||
# Labels
|
||||
LABEL \
|
||||
io.hass.name="MiniDLNA" \
|
||||
io.hass.description="RedyMedia MiniDLNA add-on for Home Assistant" \
|
||||
io.hass.arch="${BUILD_ARCH}" \
|
||||
io.hass.type="addon" \
|
||||
io.hass.version=${BUILD_VERSION} \
|
||||
maintainer="Bogdan Vlaicu <bogdanvlaicu@yahoo.com>" \
|
||||
org.label-schema.description="RedyMedia MiniDLNA add-on for Home Assistant" \
|
||||
org.label-schema.build-date=${BUILD_DATE} \
|
||||
org.label-schema.name="MiniDLNA" \
|
||||
org.label-schema.schema-version="1.0" \
|
||||
org.label-schema.url="https://addons.community" \
|
||||
org.label-schema.usage="https://github.com/bvlaicu/home-assistant-addons/tree/master/README.md" \
|
||||
org.label-schema.vcs-ref=${BUILD_REF} \
|
||||
org.label-schema.vcs-url="https://github.com/bvlaicu/addon-minidlna" \
|
||||
org.label-schema.vendor="Community Hass.io Addons"
|
||||
@@ -0,0 +1,133 @@
|
||||
# Home Assistant Add-on: MiniDLNA
|
||||
|
||||
## About
|
||||
|
||||
This is a MiniDLNA add-on for Home Assistant. When started, it provides a
|
||||
MiniDLNA server serving web content from the /data persistent volume.
|
||||
|
||||
## Installation
|
||||
|
||||
The installation of this add-on is pretty straightforward and not different in
|
||||
comparison to installing any other Home Assistant add-on.
|
||||
|
||||
1. Search for the "MiniDLNA" add-on in the Supervisor add-on store and install it.
|
||||
1. Start the "MiniDLNA" add-on.
|
||||
1. Check the logs of the "MiniDLNA" add-on to see it in action.
|
||||
|
||||
## Configuration
|
||||
|
||||
MiniDLNA add-on configuration:
|
||||
|
||||
```yaml
|
||||
log_level: info
|
||||
```
|
||||
|
||||
### Option: `log_level`
|
||||
|
||||
The `log_level` option controls the level of log output by the addon and can
|
||||
be changed to be more or less verbose, which might be useful when you are
|
||||
dealing with an unknown issue. Possible values are:
|
||||
|
||||
- `trace`: Show every detail, like all called internal functions.
|
||||
- `debug`: Shows detailed debug information.
|
||||
- `info`: Normal (usually) interesting events.
|
||||
- `warning`: Exceptional occurrences that are not errors.
|
||||
- `error`: Runtime errors that do not require immediate action.
|
||||
- `fatal`: Something went terribly wrong. Add-on becomes unusable.
|
||||
|
||||
Please note that each level automatically includes log messages from a
|
||||
more severe level, e.g., `debug` also shows `info` messages. By default,
|
||||
the `log_level` is set to `info`, which is the recommended setting unless
|
||||
you are troubleshooting.
|
||||
|
||||
|
||||
## Changelog & Releases
|
||||
|
||||
This repository keeps a change log using [GitHub's releases][releases]
|
||||
functionality. The format of the log is based on
|
||||
[Keep a Changelog][keepchangelog].
|
||||
|
||||
Releases are based on [Semantic Versioning][semver], and use the format
|
||||
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
|
||||
based on the following:
|
||||
|
||||
- ``MAJOR``: Incompatible or major changes.
|
||||
- ``MINOR``: Backwards-compatible new features and enhancements.
|
||||
- ``PATCH``: Backwards-compatible bugfixes and package updates.
|
||||
|
||||
## Support
|
||||
|
||||
Got questions?
|
||||
|
||||
You have several options to get them answered:
|
||||
|
||||
- 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.
|
||||
- The Home Assistant [Community Forum][forum].
|
||||
- Join the [Reddit subreddit][reddit] in [/r/homeassistant][reddit]
|
||||
|
||||
You could also [open an issue here][issue] GitHub.
|
||||
|
||||
## Contributing
|
||||
|
||||
This is an active open-source project. We are always open to people who want to
|
||||
use the code or contribute to it.
|
||||
|
||||
We have set up a separate document containing our
|
||||
[contribution guidelines](CONTRIBUTING.md).
|
||||
|
||||
Thank you for being involved! :heart_eyes:
|
||||
|
||||
## Authors & contributors
|
||||
|
||||
The original setup of this repository is by [Bogdan Vlaicu][bvlaicu].
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019-2020 Bogdan Vlaicu
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
[commits-shield]: https://img.shields.io/github/commit-activity/y/bvlaicu/addon-minidlna.svg
|
||||
[commits]: https://github.com/bvlaicu/home-assistant-addons/commits/master
|
||||
[contributors]: https://github.com/bvlaicu/home-assistant-addons/graphs/contributors
|
||||
[discord-ha]: https://discord.gg/c5DvZ4e
|
||||
[discord-shield]: https://img.shields.io/discord/478094546522079232.svg
|
||||
[discord]: https://discord.me/hassioaddons
|
||||
[dockerhub]: https://hub.docker.com/r/hassioaddons/minidlna
|
||||
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
|
||||
[bvlaicu]: https://github.com/bvlaicu
|
||||
[gitlabci-shield]: https://gitlab.com/bvlaicu/addon-minidlna/badges/master/pipeline.svg
|
||||
[gitlabci]: https://gitlab.com/bvlaicu/addon-minidlna/pipelines
|
||||
[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg
|
||||
[issue]: https://github.com/bvlaicu/home-assistant-addons/issues
|
||||
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
|
||||
[license-shield]: https://img.shields.io/github/license/bvlaicu/addon-minidlna.svg
|
||||
[maintenance-shield]: https://img.shields.io/maintenance/yes/2020.svg
|
||||
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
|
||||
[reddit]: https://reddit.com/r/homeassistant
|
||||
[releases-shield]: https://img.shields.io/github/release/bvlaicu/addon-minidlna.svg
|
||||
[releases]: https://github.com/bvlaicu/home-assistant-addons/releases
|
||||
[repository]: https://github.com/hassio-addons/repository
|
||||
[semver]: http://semver.org/spec/v2.0.0.html
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "MiniDLNA",
|
||||
"version": "0.0.1",
|
||||
"slug": "minidlna",
|
||||
"description": "MiniDLNA add-on for Home Assistant",
|
||||
"url": "https://github.com/bvlaicu/home-assistant-addons/tree/master/minidlna",
|
||||
"startup": "application",
|
||||
"arch": ["aarch64", "amd64", "armhf", "armv7", "i386"],
|
||||
"webui": "[PROTO:ssl]://[HOST]:[PORT:80]",
|
||||
"ingress": true,
|
||||
"ingress_port": 1337,
|
||||
"panel_icon": "mdi:chart-areaspline",
|
||||
"startup": "services",
|
||||
"homeassistant": "0.92.0b2",
|
||||
"arch": ["aarch64", "amd64", "armv7", "i386"],
|
||||
"map": ["share:rw", "ssl"],
|
||||
"boot": "auto",
|
||||
"ports": {
|
||||
"80/tcp": null,
|
||||
"80/tcp": 8880
|
||||
},
|
||||
"ports_description": {
|
||||
"80/tcp": "Web interface (Not required for Ingress)",
|
||||
"8088/tcp": "MiniDLNA"
|
||||
},
|
||||
"hassio_api": true,
|
||||
"auth_api": true,
|
||||
"hassio_role": "default",
|
||||
"homeassistant_api": false,
|
||||
"options": {
|
||||
"log_level": "info"
|
||||
},
|
||||
"schema": {
|
||||
"log_level": "list(trace|debug|info|notice|warning|error|fatal)"
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
+5
-5
@@ -26,17 +26,17 @@ ARG BUILD_VERSION
|
||||
# Labels
|
||||
LABEL \
|
||||
io.hass.name="PHP" \
|
||||
io.hass.description="PHP add-on by Community Hass.io Add-ons" \
|
||||
io.hass.description="PHP add-on for Home Assistant" \
|
||||
io.hass.arch="${BUILD_ARCH}" \
|
||||
io.hass.type="addon" \
|
||||
io.hass.version=${BUILD_VERSION} \
|
||||
maintainer="Bogdan Vlaicu <bvlaicu@addons.community>" \
|
||||
org.label-schema.description="PHP add-on by Community Hass.io Add-ons" \
|
||||
maintainer="Bogdan Vlaicu <bogdanvlaicu@yahoo.com>" \
|
||||
org.label-schema.description="PHP add-on for Home Assistant" \
|
||||
org.label-schema.build-date=${BUILD_DATE} \
|
||||
org.label-schema.name="PHP" \
|
||||
org.label-schema.schema-version="1.0" \
|
||||
org.label-schema.url="https://addons.community" \
|
||||
org.label-schema.usage="https://github.com/bvlaicu/addon-php/tree/master/README.md" \
|
||||
org.label-schema.usage="https://github.com/bvlaicu/home-assistant-addons/blob/master/php/README.md" \
|
||||
org.label-schema.vcs-ref=${BUILD_REF} \
|
||||
org.label-schema.vcs-url="https://github.com/bvlaicu/addon-php" \
|
||||
org.label-schema.vcs-url="https://github.com/bvlaicu/home-assistant-addons/blob/master/php/" \
|
||||
org.label-schema.vendor="Community Hass.io Addons"
|
||||
|
||||
+4
-4
@@ -110,8 +110,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
[commits-shield]: https://img.shields.io/github/commit-activity/y/bvlaicu/addon-php.svg
|
||||
[commits]: https://github.com/bvlaicu/addon-php/commits/master
|
||||
[contributors]: https://github.com/bvlaicu/addon-php/graphs/contributors
|
||||
[commits]: https://github.com/bvlaicu/home-assistant-addons/commits/master
|
||||
[contributors]: https://github.com/bvlaicu/home-assistant-addons/graphs/contributors
|
||||
[discord-ha]: https://discord.gg/c5DvZ4e
|
||||
[discord-shield]: https://img.shields.io/discord/478094546522079232.svg
|
||||
[discord]: https://discord.me/hassioaddons
|
||||
@@ -121,13 +121,13 @@ SOFTWARE.
|
||||
[gitlabci-shield]: https://gitlab.com/bvlaicu/addon-php/badges/master/pipeline.svg
|
||||
[gitlabci]: https://gitlab.com/bvlaicu/addon-php/pipelines
|
||||
[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg
|
||||
[issue]: https://github.com/bvlaicu/addon-php/issues
|
||||
[issue]: https://github.com/bvlaicu/home-assistant-addons/issues
|
||||
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
|
||||
[license-shield]: https://img.shields.io/github/license/bvlaicu/addon-php.svg
|
||||
[maintenance-shield]: https://img.shields.io/maintenance/yes/2020.svg
|
||||
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
|
||||
[reddit]: https://reddit.com/r/homeassistant
|
||||
[releases-shield]: https://img.shields.io/github/release/bvlaicu/addon-php.svg
|
||||
[releases]: https://github.com/bvlaicu/addon-php/releases
|
||||
[releases]: https://github.com/bvlaicu/home-assistant-addons/releases
|
||||
[repository]: https://github.com/hassio-addons/repository
|
||||
[semver]: http://semver.org/spec/v2.0.0.html
|
||||
|
||||
Reference in New Issue
Block a user