Moode Forum
[SOLVED] LMS Interface on local Display - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8)
+--- Thread: [SOLVED] LMS Interface on local Display (/showthread.php?tid=4674)



LMS Interface on local Display - rawdlite - 01-18-2022

I have a 10'' Display attached to my raspberry (or more precisely the other way around) and enjoy the instant accessibility a lot.
Now i find myself to mostly using LMS and squeezelite. This makes the local display pretty much useless.

My idea is to restart chromium with url <lms server ip>:9000 when squeezeplayer is started.

I did some looking around in the code but could not identify a good spot to inject the appropriate code.

I am aware that this means loosing the stop squeezeplay button. So either the resume mpd option needs to be set or the 
lms interface could be started in an iframe that provides the button. 

cheers

tom


RE: LMS Interface on local Display - rawdlite - 01-20-2022

In the end I found an easier solution.
In chrome Settings we can specify which pages to open on startup.
This can be multiple tabs.
So I specified a tab for moode (localhost)
and another for my Lms interface.

Then I modified .xinitrc to start chromium with no initial app/page.
Now I can control squeezelite from the local display and switch to the moode interface when required.

Maybe this helps other LMS users.

Cheers tom


RE: LMS Interface on local Display - huey2011 - 02-15-2022

Hi rawdlite,

Cool, exactly what I was looking for! Also makes me think it should maybe then be possible to create a page with VU meters etc (using a stream to chromium..?)
But lets first try to find out how to get this done...