LMS web interface update time lag
thinkalready <thinkalready.a6m9nb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
Hi everyone,
I am new to Squeezebox and am happy to have set up my first LMS with
local Squeezelite on a RPi - with lots of help from your forum.
Intended application:
- run internet radio stations
- user interface (with reduced user interaction)
-- control playlist of preferred stations via Apple remote A1156
(play/pause, volume up/down, next/previous station)
Setup:
- RPi 3b+
$ cat /etc/debian_version
10.10
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
- LMS via mysqueezebox.com/download
Version: 8.1.1
Platform: Debian/Ubuntu Linux ARM
File: logitechmediaserver_8.1.1_arm.deb
- Squeezelite on same RPi via
$ sudo apt install squeezelite
squeezelite is already the newest version (1.8-4.1+b1).
- LMS and Squeezelite startup on boot
- lirc to receive A1156 data and python script to send commands to LMS
via telnet
Issue:
- while LMS responds immediately (ca. within about 500ms), the web
interface (e.g. status_header.html or material) is updated only after
2-3 seconds which is especially annoying when browsing
Minimum working example:
Code:
--------------------
$ telnet localhost 9090
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
playlist index -1
00%3A00%3A00%3A00%3A00%3A00 playlist index -1
stop
00%3A00%3A00%3A00%3A00%3A00 stop
play
00%3A00%3A00%3A00%3A00%3A00 play
pause
00%3A00%3A00%3A00%3A00%3A00 pause
play
00%3A00%3A00%3A00%3A00%3A00 play
mixer volume 0
00%3A00%3A00%3A00%3A00%3A00 mixer volume 0
mixer volume +30
00%3A00%3A00%3A00%3A00%3A00 mixer volume %2B30
--------------------
How can I make the web interface to update immediately to allow for
interactive browsing?
Thx in advance.
Keep save, Jens
------------------------------------------------------------------------
thinkalready's Profile: http://forums.slimdevices.com/member.php?userid=72028
View this thread: http://forums.slimdevices.com/showthread.php?t=115007