Thank you for your donation!


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


Solved: Random album script
#3
We also have a mechanism (engine-cmd.php) to send commands from the server to the client so in theory it should be possible to use it to provide an interface to the non-MPD features of the UI. There are a lot of moving parts though so not a trivial dev project.

It would be something like below

- LIRC maps button X to command: /var/www/command/new_script.php 'random_album'
- When X is pressed new_script.php executes function sendEngCmd($cmd);
- JS code running in Browser receives 'random_album' command and performs $('.ralbum).click()

Something like that.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Random album script - by Pieter - 08-10-2019, 01:45 PM
RE: Random album script - by swizzle - 08-10-2019, 08:38 PM
RE: Random album script - by Tim Curtis - 08-10-2019, 10:54 PM
RE: Random album script - by Pieter - 08-30-2019, 11:31 AM
RE: Random album script - by Tim Curtis - 08-30-2019, 12:27 PM

Forum Jump: