🔨 Move from Phlex to FlexTV

This commit is contained in:
ludeeus 2019-05-18 12:56:56 +02:00
parent a30b8e294e
commit 1822d501fa
11 changed files with 32 additions and 32 deletions

View file

@ -1,6 +1,6 @@
--- ---
repository: repository:
description: "Phlex - Community Hass.io Add-on for Home Assistant" description: "FlexTV - Community Hass.io Add-on for Home Assistant"
homepage: https://addons.community homepage: https://addons.community
topics: phlex, morror, hassio-addons, hassio, hass, home-assistant, homeassistant topics: phlex, morror, hassio-addons, hassio, hass, home-assistant, homeassistant
private: false private: false

View file

@ -1,4 +1,4 @@
# Community Hass.io Add-ons: Phlex # Community Hass.io Add-ons: FlexTV
[![GitHub Release][releases-shield]][releases] [![GitHub Release][releases-shield]][releases]
![Project Stage][project-stage-shield] ![Project Stage][project-stage-shield]
@ -25,7 +25,7 @@ A super-sexy text and voice interface for Plex.
## About ## About
The purpose of [Phlex][phlex-wiki] is to provide a natural language interface The purpose of [FlexTV][flextv-wiki] is to provide a natural language interface
for Home Theater applications - effectively bridging the current gap between for Home Theater applications - effectively bridging the current gap between
commercial AI Solutions like Google Home and personal web applications like commercial AI Solutions like Google Home and personal web applications like
Plex. Plex.
@ -40,17 +40,17 @@ comparison to installing any other Hass.io add-on.
that have a look at their documentation [here.][cast-bundle-wiki] that have a look at their documentation [here.][cast-bundle-wiki]
1. [Add our Hass.io add-ons repository][repository] to your Hass.io instance. 1. [Add our Hass.io add-ons repository][repository] to your Hass.io instance.
1. Install the "Phlex" add-on. 1. Install the "FlexTV" add-on.
1. Start the "Phlex" add-on 1. Start the "FlexTV" add-on
1. Check the logs of the "Phlex" add-on to see if everything went well. 1. Check the logs of the "FlexTV" add-on to see if everything went well.
1. Click "OPEN WEB UI" to open the Phlex website. 1. Click "OPEN WEB UI" to open the FlexTV website.
1. When you connect you will be asked to log in with your Plex account, 1. When you connect you will be asked to log in with your Plex account,
_you need to do that._ _you need to do that._
**NOTE**: Starting the add-on might take a couple of minutes (especially the **NOTE**: Starting the add-on might take a couple of minutes (especially the
first time starting the add-on). first time starting the add-on).
**NOTE**: Phlex supports controlling it with voice (Google Home), **NOTE**: FlexTV supports controlling it with voice (Google Home),
if you want to use that you will need to expose this add-on to the internet if you want to use that you will need to expose this add-on to the internet
since the process of doing so vary from setup to setup, since the process of doing so vary from setup to setup,
that part is out of the scope for the documentation of this add-on. that part is out of the scope for the documentation of this add-on.
@ -96,7 +96,7 @@ you are troubleshooting.
### Option: `ssl` ### Option: `ssl`
Enables/Disables SSL (HTTPS) on the web interface of Phlex. Set it `true` Enables/Disables SSL (HTTPS) on the web interface of FlexTV. Set it `true`
to enable it, `false` otherwise. to enable it, `false` otherwise.
### Option: `certfile` ### Option: `certfile`
@ -113,8 +113,8 @@ The private key file to use for SSL.
## Embedding into Home Assistant ## Embedding into Home Assistant
It is possible to embed Phlex directly into Home Assistant, allowing you to It is possible to embed FlexTV directly into Home Assistant, allowing you to
access your Phlex through the Home Assistant frontend. access your FlexTV through the Home Assistant frontend.
Home Assistant provides the `panel_iframe` component, for these purposes. Home Assistant provides the `panel_iframe` component, for these purposes.
@ -123,7 +123,7 @@ Example configuration:
```yaml ```yaml
panel_iframe: panel_iframe:
phlex: phlex:
title: Phlex title: FlexTV
icon: mdi:microphone icon: mdi:microphone
url: http://addres.to.your.hass.io:1778 url: http://addres.to.your.hass.io:1778
``` ```
@ -211,7 +211,7 @@ SOFTWARE.
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg [buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg
[buymeacoffee]: https://www.buymeacoffee.com/ludeeus [buymeacoffee]: https://www.buymeacoffee.com/ludeeus
[cast-bundle-wiki]: https://github.com/d8ahazard/Phlex/wiki/Install-Cast-Plugin [cast-bundle-wiki]: https://github.com/d8ahazard/FlexTV/wiki/Install-Cast-Plugin
[cast-bundle]: https://github.com/d8ahazard/Cast.bundle [cast-bundle]: https://github.com/d8ahazard/Cast.bundle
[commits-shield]: https://img.shields.io/github/commit-activity/y/hassio-addons/addon-phlex.svg [commits-shield]: https://img.shields.io/github/commit-activity/y/hassio-addons/addon-phlex.svg
[commits]: https://github.com/hassio-addons/addon-phlex/commits/master [commits]: https://github.com/hassio-addons/addon-phlex/commits/master
@ -232,7 +232,7 @@ SOFTWARE.
[ludeeus]: https://github.com/ludeeus [ludeeus]: https://github.com/ludeeus
[maintenance-shield]: https://img.shields.io/maintenance/yes/2019.svg [maintenance-shield]: https://img.shields.io/maintenance/yes/2019.svg
[microbadger]: https://microbadger.com/images/hassioaddons/phlex [microbadger]: https://microbadger.com/images/hassioaddons/phlex
[phlex-wiki]: https://github.com/d8ahazard/Phlex/wiki [flextv-wiki]: https://github.com/d8ahazard/FlexTV/wiki
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg [project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
[reddit]: https://reddit.com/r/homeassistant [reddit]: https://reddit.com/r/homeassistant
[releases-shield]: https://img.shields.io/github/release/hassio-addons/addon-phlex.svg [releases-shield]: https://img.shields.io/github/release/hassio-addons/addon-phlex.svg

View file

@ -1,4 +1,4 @@
# Community Hass.io Add-ons: Phlex # Community Hass.io Add-ons: FlexTV
[![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield] [![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield]
@ -10,7 +10,7 @@ A super-sexy text and voice interface for Plex.
## About ## About
The purpose of [Phlex][phlex-wiki] is to provide a natural language interface The purpose of [FlexTV][flextv-wiki] is to provide a natural language interface
for Home Theater applications - effectively bridging the current gap between for Home Theater applications - effectively bridging the current gap between
commercial AI Solutions like Google Home/Alexa and personal commercial AI Solutions like Google Home/Alexa and personal
web applications like Plex. web applications like Plex.
@ -66,7 +66,7 @@ If you are more interested in stable releases of our add-ons:
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg [forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
[forum]: https://community.home-assistant.io/t/community-hass-io-add-ons-phlex/70378 [forum]: https://community.home-assistant.io/t/community-hass-io-add-ons-phlex/70378
[maintenance-shield]: https://img.shields.io/maintenance/yes/2019.svg [maintenance-shield]: https://img.shields.io/maintenance/yes/2019.svg
[phlex-wiki]: https://github.com/d8ahazard/Phlex/wiki [flextv-wiki]: https://github.com/d8ahazard/FlexTV/wiki
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg [project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
[release-shield]: https://img.shields.io/badge/version-{{ version }}-blue.svg [release-shield]: https://img.shields.io/badge/version-{{ version }}-blue.svg
[release]: {{ repo }}/tree/{{ version }} [release]: {{ repo }}/tree/{{ version }}

View file

@ -29,10 +29,10 @@ RUN \
&& mkdir -p /opt \ && mkdir -p /opt \
\ \
&& curl -J -L -o /tmp/web.zip \ && curl -J -L -o /tmp/web.zip \
"https://github.com/d8ahazard/Phlex/archive/579fb03589c0244841f9561a032372bbf89da1f8.zip" \ "https://github.com/d8ahazard/FlexTV/archive/247d30d6c6737e517862710188b302d6a72a673c.zip" \
\ \
&& unzip -d /tmp /tmp/web.zip \ && unzip -d /tmp /tmp/web.zip \
&& mv /tmp/Phlex-*/* /opt \ && mv /tmp/FlexTV-*/* /opt \
\ \
&& rm -fr /tmp/* && rm -fr /tmp/*
@ -47,7 +47,7 @@ ARG BUILD_VERSION
# Labels # Labels
LABEL \ LABEL \
io.hass.name="Phlex" \ io.hass.name="FlexTV" \
io.hass.description="A super-sexy text and voice interface for Plex" \ io.hass.description="A super-sexy text and voice interface for Plex" \
io.hass.arch="${BUILD_ARCH}" \ io.hass.arch="${BUILD_ARCH}" \
io.hass.type="addon" \ io.hass.type="addon" \
@ -55,7 +55,7 @@ LABEL \
maintainer="Joakim Sørensen @ludeeus <ludeeus@gmail.com>" \ maintainer="Joakim Sørensen @ludeeus <ludeeus@gmail.com>" \
org.label-schema.description="A super-sexy text and voice interface for Plex" \ org.label-schema.description="A super-sexy text and voice interface for Plex" \
org.label-schema.build-date=${BUILD_DATE} \ org.label-schema.build-date=${BUILD_DATE} \
org.label-schema.name="Phlex" \ org.label-schema.name="FlexTV" \
org.label-schema.schema-version="1.0" \ org.label-schema.schema-version="1.0" \
org.label-schema.url="https://community.home-assistant.io/t/community-hass-io-add-ons-phlex/70378" \ org.label-schema.url="https://community.home-assistant.io/t/community-hass-io-add-ons-phlex/70378" \
org.label-schema.usage="https://github.com/hassio-addons/addon-phlex/tree/master/README.md" \ org.label-schema.usage="https://github.com/hassio-addons/addon-phlex/tree/master/README.md" \

View file

@ -1,5 +1,5 @@
{ {
"name": "Phlex", "name": "FlexTV",
"version": "dev", "version": "dev",
"slug": "phlex", "slug": "phlex",
"description": "A super-sexy text and voice interface for Plex", "description": "A super-sexy text and voice interface for Plex",
@ -20,7 +20,7 @@
"1778/tcp": 1778 "1778/tcp": 1778
}, },
"ports_description": { "ports_description": {
"1778/tcp": "Phlex web interface" "1778/tcp": "FlexTV web interface"
}, },
"map": [ "map": [
"ssl", "ssl",

View file

@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Community Hass.io Add-ons: Phlex # Community Hass.io Add-ons: FlexTV
# Configures NGINX for use with Phlex # Configures NGINX for use with FlexTV
# ============================================================================== # ==============================================================================
declare certfile declare certfile
declare keyfile declare keyfile

View file

@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Community Hass.io Add-ons: Phlex # Community Hass.io Add-ons: FlexTV
# Configures Phlex # Configures FlexTV
# ============================================================================== # ==============================================================================
if ! bashio::fs.file_exists '/data/config.php'; then if ! bashio::fs.file_exists '/data/config.php'; then

View file

@ -1,6 +1,6 @@
#!/usr/bin/execlineb -S0 #!/usr/bin/execlineb -S0
# ============================================================================== # ==============================================================================
# Community Hass.io Add-ons: Phlex # Community Hass.io Add-ons: FlexTV
# Take down the S6 supervision tree when NGINX fails # Take down the S6 supervision tree when NGINX fails
# ============================================================================== # ==============================================================================
if -n { s6-test $# -ne 0 } if -n { s6-test $# -ne 0 }

View file

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Community Hass.io Add-ons: Phlex # Community Hass.io Add-ons: FlexTV
# Runs the NGINX daemon # Runs the NGINX daemon
# ============================================================================== # ==============================================================================

View file

@ -1,6 +1,6 @@
#!/usr/bin/execlineb -S0 #!/usr/bin/execlineb -S0
# ============================================================================== # ==============================================================================
# Community Hass.io Add-ons: Phlex # Community Hass.io Add-ons: FlexTV
# Take down the S6 supervision tree when PHP-FPM fails # Take down the S6 supervision tree when PHP-FPM fails
# ============================================================================== # ==============================================================================
if -n { s6-test $# -ne 0 } if -n { s6-test $# -ne 0 }

View file

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Community Hass.io Add-ons: Phlex # Community Hass.io Add-ons: FlexTV
# Runs the PHP-FPM daemon # Runs the PHP-FPM daemon
# ============================================================================== # ==============================================================================
bashio::log.info "Starting PHP-FPM..." bashio::log.info "Starting PHP-FPM..."