diff --git a/.github/settings.yml b/.github/settings.yml index edfb17c..cc07dde 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -1,6 +1,6 @@ --- 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 topics: phlex, morror, hassio-addons, hassio, hass, home-assistant, homeassistant private: false diff --git a/README.md b/README.md index 78cea9d..c2454bb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Community Hass.io Add-ons: Phlex +# Community Hass.io Add-ons: FlexTV [![GitHub Release][releases-shield]][releases] ![Project Stage][project-stage-shield] @@ -25,7 +25,7 @@ A super-sexy text and voice interface for Plex. ## 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 commercial AI Solutions like Google Home and personal web applications like 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] 1. [Add our Hass.io add-ons repository][repository] to your Hass.io instance. -1. Install the "Phlex" add-on. -1. Start the "Phlex" add-on -1. Check the logs of the "Phlex" add-on to see if everything went well. -1. Click "OPEN WEB UI" to open the Phlex website. +1. Install the "FlexTV" add-on. +1. Start the "FlexTV" add-on +1. Check the logs of the "FlexTV" add-on to see if everything went well. +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, _you need to do that._ **NOTE**: Starting the add-on might take a couple of minutes (especially the 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 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. @@ -96,7 +96,7 @@ you are troubleshooting. ### 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. ### Option: `certfile` @@ -113,8 +113,8 @@ The private key file to use for SSL. ## Embedding into Home Assistant -It is possible to embed Phlex directly into Home Assistant, allowing you to -access your Phlex through the Home Assistant frontend. +It is possible to embed FlexTV directly into Home Assistant, allowing you to +access your FlexTV through the Home Assistant frontend. Home Assistant provides the `panel_iframe` component, for these purposes. @@ -123,7 +123,7 @@ Example configuration: ```yaml panel_iframe: phlex: - title: Phlex + title: FlexTV icon: mdi:microphone url: http://addres.to.your.hass.io:1778 ``` @@ -211,7 +211,7 @@ SOFTWARE. [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]: 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 [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 @@ -232,7 +232,7 @@ SOFTWARE. [ludeeus]: https://github.com/ludeeus [maintenance-shield]: https://img.shields.io/maintenance/yes/2019.svg [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 [reddit]: https://reddit.com/r/homeassistant [releases-shield]: https://img.shields.io/github/release/hassio-addons/addon-phlex.svg diff --git a/phlex/.README.j2 b/phlex/.README.j2 index bca0b8c..320004a 100644 --- a/phlex/.README.j2 +++ b/phlex/.README.j2 @@ -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] @@ -10,7 +10,7 @@ A super-sexy text and voice interface for Plex. ## 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 commercial AI Solutions like Google Home/Alexa and personal 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]: https://community.home-assistant.io/t/community-hass-io-add-ons-phlex/70378 [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 [release-shield]: https://img.shields.io/badge/version-{{ version }}-blue.svg [release]: {{ repo }}/tree/{{ version }} diff --git a/phlex/Dockerfile b/phlex/Dockerfile index a0fc368..39baf30 100644 --- a/phlex/Dockerfile +++ b/phlex/Dockerfile @@ -29,10 +29,10 @@ RUN \ && mkdir -p /opt \ \ && 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 \ - && mv /tmp/Phlex-*/* /opt \ + && mv /tmp/FlexTV-*/* /opt \ \ && rm -fr /tmp/* @@ -47,7 +47,7 @@ ARG BUILD_VERSION # Labels LABEL \ - io.hass.name="Phlex" \ + io.hass.name="FlexTV" \ io.hass.description="A super-sexy text and voice interface for Plex" \ io.hass.arch="${BUILD_ARCH}" \ io.hass.type="addon" \ @@ -55,7 +55,7 @@ LABEL \ maintainer="Joakim Sørensen @ludeeus " \ org.label-schema.description="A super-sexy text and voice interface for Plex" \ 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.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" \ diff --git a/phlex/config.json b/phlex/config.json index fe8ccae..8efbe4d 100644 --- a/phlex/config.json +++ b/phlex/config.json @@ -1,5 +1,5 @@ { - "name": "Phlex", + "name": "FlexTV", "version": "dev", "slug": "phlex", "description": "A super-sexy text and voice interface for Plex", @@ -20,7 +20,7 @@ "1778/tcp": 1778 }, "ports_description": { - "1778/tcp": "Phlex web interface" + "1778/tcp": "FlexTV web interface" }, "map": [ "ssl", diff --git a/phlex/rootfs/etc/cont-init.d/nginx.sh b/phlex/rootfs/etc/cont-init.d/nginx.sh index 13af851..4108230 100644 --- a/phlex/rootfs/etc/cont-init.d/nginx.sh +++ b/phlex/rootfs/etc/cont-init.d/nginx.sh @@ -1,7 +1,7 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Community Hass.io Add-ons: Phlex -# Configures NGINX for use with Phlex +# Community Hass.io Add-ons: FlexTV +# Configures NGINX for use with FlexTV # ============================================================================== declare certfile declare keyfile diff --git a/phlex/rootfs/etc/cont-init.d/phlex.sh b/phlex/rootfs/etc/cont-init.d/phlex.sh index 9d60944..37eaf09 100644 --- a/phlex/rootfs/etc/cont-init.d/phlex.sh +++ b/phlex/rootfs/etc/cont-init.d/phlex.sh @@ -1,7 +1,7 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Community Hass.io Add-ons: Phlex -# Configures Phlex +# Community Hass.io Add-ons: FlexTV +# Configures FlexTV # ============================================================================== if ! bashio::fs.file_exists '/data/config.php'; then diff --git a/phlex/rootfs/etc/services.d/nginx/finish b/phlex/rootfs/etc/services.d/nginx/finish index 2180c47..9464ef4 100644 --- a/phlex/rootfs/etc/services.d/nginx/finish +++ b/phlex/rootfs/etc/services.d/nginx/finish @@ -1,6 +1,6 @@ #!/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 # ============================================================================== if -n { s6-test $# -ne 0 } diff --git a/phlex/rootfs/etc/services.d/nginx/run b/phlex/rootfs/etc/services.d/nginx/run index 0866cc3..b26a691 100644 --- a/phlex/rootfs/etc/services.d/nginx/run +++ b/phlex/rootfs/etc/services.d/nginx/run @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Community Hass.io Add-ons: Phlex +# Community Hass.io Add-ons: FlexTV # Runs the NGINX daemon # ============================================================================== diff --git a/phlex/rootfs/etc/services.d/php-fpm/finish b/phlex/rootfs/etc/services.d/php-fpm/finish index fe0a09c..e71b71e 100644 --- a/phlex/rootfs/etc/services.d/php-fpm/finish +++ b/phlex/rootfs/etc/services.d/php-fpm/finish @@ -1,6 +1,6 @@ #!/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 # ============================================================================== if -n { s6-test $# -ne 0 } diff --git a/phlex/rootfs/etc/services.d/php-fpm/run b/phlex/rootfs/etc/services.d/php-fpm/run index 41ac8ad..33bd66d 100644 --- a/phlex/rootfs/etc/services.d/php-fpm/run +++ b/phlex/rootfs/etc/services.d/php-fpm/run @@ -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 # ============================================================================== bashio::log.info "Starting PHP-FPM..."