Function of playlist autoupdate in the embedded portal allows to update current playlist automatically using URL, after every portal restarting. Playlist cant be added to “Operators playlist” group or can be used as main. In manufacturer firmware version the function is disabled.
To turn on the function of playlist autoupdate it is necessary to make changes in /home/web/vars.js
:
Variable | Value |
---|---|
OPERATORS_PLS_AUTOREFRESH | 0 - disabled 1 - enabled, with creation “Operator playlist” group, playlist will be added to group 2 - enabled, without creation “Operator playlist” group, playlist will be added as main |
OPERATORS_PLS_URL | https://example.com/*.m3u - playlist URL |
For enabling and setup it is necessary to make changes in /public/portal/vars.js
:
Variable | Value |
---|---|
OPERATORS_PLS_AUTOREFRESH | 0 - disabled 1 - enabled |
OPERATORS_PLS_URL | http://example.com/example.m3u - playlist URL |
OPERATORS_PLS_GROUP_NAME | Group name, where playlist will be saved (if this variable will be with no value then playlist will be saved as main) |
OPERATORS_PLS_MERGE | true - current playlists/groups will be deleted/changed on current one false - disable this function |