Skip to content

Notes FAQ

d8ahazard edited this page Oct 14, 2018 · 2 revisions

NOTES/FAQ:

Config.ini.php

Your config.ini.php file is very important. Do not delete this file once you've got Flex TV set up. If you're not updating via git, be sure to keep a backup of this file when extracting new files. Removing this will break account linking for Assistant/IFTTT/Alexa, and you'll need to re-link your account before it will work again.

How Do I Enable Sockets/Cast Devices?

To enable communicating with cast devices, which require the MDNS protocol, we need to enable php-sockets. If you're using docker, no worries, it's already done for you. If you're using Linux...there's a good chance this is done for you already as well. Windows users, especially those on Xampp...you will need to edit your php.ini file in order to enable the sockets module.

In Xampp, this file will be located at xampp\php\php.ini - location will vary for other webservers. You will need to change the following line and save the file:

For Windows, look for the line: ;extension=php_sockets.dll and change it to (delete the semicolon): extension=php_sockets.dll

For Linux, look for the line: ;extension = sockets.so and change it to (delete the semicolon): extension = sockets.so

Once saved, restart your webserver, and bask in the joy that is php-sockets.

I can't link my server!!!

Please refer to the Networking Guide for more information.