Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Squeezelite Page Customisation
#1
   

I added two new links/buttons to the Squeezelite Active Page.
- A button to open the camillaDSP GUI when squeezelite is active
- A link to open the LMS Interface

This is mostly working. I have some issues with the link to the LMS Interface.
- Although target is set to _blank it does not open a new tab.
- LMS server address is hardcoded.

For a more flexible solution i envision an additional configuration option on the squeezelite config page.
What do you think?
Reply
#2
I have this item already on the TODO list for upcoming moOde 9

Code:
- [ ] Add CamillaDSP quick config button to renderer overlay

Do you need to just change configurations or actually edit the config?

You mean the LMS WebUI right?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(03-23-2024, 06:30 PM)Tim Curtis Wrote: I have this item already on the TODO list for upcoming moOde 9

Code:
- [ ] Add CamillaDSP quick config button to renderer

Oh, cool!
Would you like me to do a pull request?

It is rather trivial though:

Code:
'<a class="btn" href="/cdsp-configeditor.php">CamillaDSP</a>' +

About LMS:
Yes, I mean WebUI. I have a local display. Sometimes I need to stop the player in a hurry.
Getting my phone out and browsing to the LMS WebUI is quite cumbersome.


Code:
'<a href="http://192.168.178.4:9000" target="_blank">LMS</a>' +
Reply
#4
Quick config is a dropdown (the EQ icon at top of the main Playback page) for quickly switching configs. It's not the main CamillaDSP Config or the Pipeline editor.

I think the usage scenario for "LMS button" is kind of niche, plus who knows what the IP address might be. Isn't there an LMS app for phones?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(03-23-2024, 08:50 PM)Tim Curtis Wrote: Quick config is a dropdown (the EQ icon at top of the main Playback page) for quickly switching configs. It's not the main CamillaDSP Config or the Pipeline editor.

I see, you will open /cdsp-config.php while I am interested in /cdsp-configeditor.php.
There is a link to the pipeline editor on that page, so your solution should work for me I guess.

(03-23-2024, 08:50 PM)Tim Curtis Wrote: Isn't there an LMS app for phones?

Yes, there is. And they are better than the WebUI.
Yet I want to be able control the player from my moode box local display.
Getting the phone out, navigating to the app, waiting for the app to connect to the server… just to pause the music sometimes takes too long for me.
But maybe that is just me being lazy and the feature is niche indeed.

(03-23-2024, 08:50 PM)Tim Curtis Wrote: who knows what the IP address might be?

That could be an extra entry field in sqe-config.php, could it not?

In kiosk mode no new browser tab will open.
Therefore we would need a new page with LMS WebUI running in an iframe to be able to get back to moode UI.

If anybody is interested in such a feature I might have a go at it.
If not I will just edit my .xinitrc, disable kiosk mode and call it a day for now.
Reply
#6
This is Quick config

   
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
"Getting the phone out, navigating to the app, waiting for the app to connect to the server… just to pause the music sometimes takes too long for me."

What about adding an IR remote?
Reply
#8
(03-24-2024, 10:46 AM)Tim Curtis Wrote: This is Quick config

Oh, Thank You.
Now i get it.
Reply
#9
(03-24-2024, 11:00 AM)kit1cat Wrote: "Getting the phone out, navigating to the app, waiting for the app to connect to the server… just to pause the music sometimes takes too long for me."

What about adding an IR remote?

And then i am searching for the Remote…
No seriously, LMS runs on my NAS in another room. One could setup a remote and control LMS with calls to the JSON-RPC interface. While i might try that in the future, my usecase for this is different and much easier.
I have a moode box with a touchscreen. 
I want to use this device to play and control my music. 
All in one place.

So i build a little html page i called niche.html.
This page i call with my new LMS Button on the squeezelite page.
Gives me these tabs with iframes.

           
Pressing Exit goes back to standard moode page.
   

Seems like i am the only one who enjoys a setup like this.
This is fine, so i can run with the hardcoded values.
Otherwise we would need to put some configuration values into $_SESSION.
Reply


Forum Jump: