Thank you for your donation!


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


Problem: Keyboard shortcut commands
#1
Thanks to help I've had here in the past, I've been using keyboard shortcuts on my PC to send commands to moode for the last few years.

For example:

Code:
curl -G --data-urlencode 'cmd=vol.sh dn 5' http://moode/command/
curl -G --data-urlencode 'cmd=pause' http://moode/command/


And these shortcuts have been working fine until today when I finally updated from 8.3.9 to 9.2.  The volume commands no longer work, though the pause, next and previous commands still function as before.

I've seen mention of changes to vol.sh, but I can't find anything that says if there's any new syntax or commands to handle volume in this later version.

Would someone mind pointing me in the right direction please?

Thanks!
Reply
#2
(12-29-2024, 11:30 PM)vgnmnky Wrote: Thanks to help I've had here in the past, I've been using keyboard shortcuts on my PC to send commands to moode for the last few years.

For example:

Code:
curl -G --data-urlencode 'cmd=vol.sh dn 5' http://moode/command/
curl -G --data-urlencode 'cmd=pause' http://moode/command/


And these shortcuts have been working fine until today when I finally updated from 8.3.9 to 9.2.  The volume commands no longer work, though the pause, next and previous commands still function as before.

I've seen mention of changes to vol.sh, but I can't find anything that says if there's any new syntax or commands to handle volume in this later version.

Would someone mind pointing me in the right direction please?

Thanks!

It's in the Setup Guide:
https://github.com/moode-player/docs/blo...p_guide.md

Chapter 6.1. REST API


Code:
http://moode.local/command/?cmd=set_volume 10
Reply


Forum Jump: