diff --git a/picard/DOCS.md b/picard/DOCS.md deleted file mode 100644 index 0ac4eb641..000000000 --- a/picard/DOCS.md +++ /dev/null @@ -1,127 +0,0 @@ -# Picard addon for Hass.io - -The torrent client for Hass.io with OpenVPN support. - -## 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 https://github.com/pierrickrouxel/hassio-addon-Picard.git to your Hass.io instance as a repository. -1. Install the "Picard" add-on. -1. Start the "Picard" add-on. -1. Check the logs of the "Tranmission" to see if everything went well. -1. Open the web-ui - -## Configuration - -**Note**: _Remember to restart the add-on when the configuration is changed._ - -Picard add-on configuration: - -```json -{ - "log_level": "info", - "authentication_required": false, - "username": "", - "password": "", - "openvpn_enabled": false, - "openvpn_config": "", - "openvpn_username": "", - "openvpn_password": "" -} -``` - -### 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. - -### Option: `authentication_required` - -This option can be used to password protect the web-ui. - -### Option: `username` - -The username for authentication. - -### Option: `password` - -The password for authentication. - -### Option: `openvpn_enabled` - -Enable OpenVPN to anonymize your torrent activity. - -### Option: `openvpn_config` - -The name of .ovpn file. You should put it in `/config/openvpn`. - -### Option: `openvpn_username` - -Your OpenVPN username. - -### Option: `openvpn_password` - -Your OpenVPN password. - -## Embedding into Home Assistant - -This addon supports ingress, thus it can simply be integrated into Home Assistant without having to forward any additional ports. Here is an example configuration: - -```yaml -Picard: - host: f6fddefc-Picard -``` - -If you want, you can add an icon to the sidebar by toggling *Show in Sidebar* as well. - -## Changelog & Releases - -The format of the log is based on -[Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - -Releases are based on [Semantic Versioning](http://semver.org/spec/v2.0.0.html), 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. - -## License - -MIT License - -Copyright (c) 2018 Pierrick Rouxel - -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. diff --git a/picard/Dockerfile b/picard/Dockerfile deleted file mode 100644 index d35491c88..000000000 --- a/picard/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ -ARG BUILD_FROM=hassioaddons/base:8.0.1 -# hadolint ignore=DL3006 -FROM ${BUILD_FROM} - -# Copy root filesystem -COPY rootfs / - -# Setup base -RUN apk add --no-cache \ - picard - -# Build arugments -ARG BUILD_ARCH -ARG BUILD_DATE -ARG BUILD_REF -ARG BUILD_VERSION - -# Labels -LABEL \ - io.hass.name="Picard" \ - io.hass.description="Picard is a cross-platform music tagger written in Python." \ - io.hass.arch="${BUILD_ARCH}" \ - io.hass.type="addon" \ - io.hass.version=${BUILD_VERSION} \ - maintainer="alexbelgium" \ - org.label-schema.description="Picard is a cross-platform music tagger written in Python." \ - org.label-schema.build-date=${BUILD_DATE} \ - org.label-schema.name="Picard" \ - org.label-schema.schema-version="1.0" \ - org.label-schema.url="https://github.com/alexbelgium" \ - org.label-schema.usage="" \ - org.label-schema.vcs-ref=${BUILD_REF} \ - org.label-schema.vcs-url="https://github.com/alexbelgium" \ - org.label-schema.vendor="Community Hass.io Addons" diff --git a/picard/build.json b/picard/build.json deleted file mode 100644 index 00a28bf95..000000000 --- a/picard/build.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "squash": false, - "build_from": { - "aarch64": "hassioaddons/base-aarch64:8.0.1", - "amd64": "hassioaddons/base-amd64:8.0.1", - "armhf": "hassioaddons/base-armhf:8.0.1", - "armv7": "hassioaddons/base-armv7:8.0.1", - "i386": "hassioaddons/base-i386:8.0.1" - }, - "args": {} -} diff --git a/picard/config.json b/picard/config.json deleted file mode 100644 index 172b41483..000000000 --- a/picard/config.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "picard", - "version": "dev", - "slug": "picard", - "description": "Picard is a cross-platform music tagger written in Python.", - "url": "https://github.com/alexbelgium/hassio-addons", - "webui": "http://[HOST]:[PORT:5050]", - "startup": "services", - "ingress": "true", - "ingress_port": 5050, - "panel_icon": "mdi:progress-download", - "arch": ["armhf", "armv7", "aarch64", "amd64", "i386"], - "map": [ - "config:rw", - "share:rw", - "ssl" - ], - "boot": "auto", - "ports": { - "5050/tcp": 5050 - }, - "ports_description": { - "5050/tcp": "Web UI port" - }, - "privileged": [ - "NET_ADMIN" - ], - "hassio_api": true, - "homeassistant_api": false, - "host_network": false, - "options": {}, - "schema": {} -} \ No newline at end of file diff --git a/picard/icon.png b/picard/icon.png deleted file mode 100644 index 29a6a3cdc..000000000 Binary files a/picard/icon.png and /dev/null differ diff --git a/picard/logo.png b/picard/logo.png deleted file mode 100644 index 524beb6b2..000000000 Binary files a/picard/logo.png and /dev/null differ diff --git a/picard/rootfs/etc/services.d/picard/finish b/picard/rootfs/etc/services.d/picard/finish deleted file mode 100644 index 71a44d571..000000000 --- a/picard/rootfs/etc/services.d/picard/finish +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/execlineb -S0 -# ============================================================================== -# Take down the S6 supervision tree when the server fails -# ============================================================================== -if -n { s6-test $# -ne 0 } -if -n { s6-test ${1} -eq 256 } - -s6-svscanctl -t /var/run/s6/services diff --git a/picard/rootfs/etc/services.d/picard/run b/picard/rootfs/etc/services.d/picard/run deleted file mode 100644 index a651240a8..000000000 --- a/picard/rootfs/etc/services.d/picard/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/with-contenv bashio -# ============================================================================== -# Runs Picard -# ============================================================================== -bashio::log.info "Starting Picard..." - -exec /usr/bin/picard --foreground --config-dir /data/picard