01-05-2020, 09:12 AM
Pages: 1 2
01-05-2020, 10:17 AM
Put your stations in 'Favourites' or create a Playlist with them in?
01-05-2020, 06:49 PM
(01-05-2020, 10:17 AM)jonners Wrote: [ -> ]Put your stations in 'Favourites' or create a Playlist with them in?
Don't see how it helps having it in favorites, still have to browse to favorites and click play....
What I really want, is to have HTTP links on my desktop for my few favorites 'Radio Stations'.... like a one-click play
/Søren
01-06-2020, 09:08 AM
(01-05-2020, 06:49 PM)smolesen Wrote: [ -> ](01-05-2020, 10:17 AM)jonners Wrote: [ -> ]Put your stations in 'Favourites' or create a Playlist with them in?
Don't see how it helps having it in favorites, still have to browse to favorites and click play....
What I really want, is to have HTTP links on my desktop for my few favorites 'Radio Stations'.... like a one-click play
/Søren
...so in other words you want to have a fully blown feature found in Windows, OSx and Linux environment as DESKTOP where one adds shortcuts of whatever one fancies to start working with.
In my humble opinion it's quite counter-productive to 'bloat' MoOde Player into an operating system as such...
01-06-2020, 01:15 PM
Yeah, I see this more as an IoT kind of thing.
One possibility: put the "few favorite" radio stations in a separate playlist, keeping track of the ordering. Let's call it MyRadios for this discussion.
Then, one way or another, send directly to mpd the following commands:
where <n> = the position number of the desired entry in the playlist.
The commands could be sent via telnet (to port 6600 if default config), or via a local mpc client, or via netcat, or via whatever your pleasure for transmitting tcp packets. The IoT is chock-a-block with connective technologies.
So now the task is to gen up an app which does this and create desktop links for each of the favorite stations. Alternatively, one could imagine the moOde player's equivalent of the Amazon ordering buttons.
Of course the app could be made more complicated, like preserving the existing queue, working directly with the URIs, etc.
Regards,
Kent
One possibility: put the "few favorite" radio stations in a separate playlist, keeping track of the ordering. Let's call it MyRadios for this discussion.
Then, one way or another, send directly to mpd the following commands:
Code:
clear
load MyRadios
play <n>
where <n> = the position number of the desired entry in the playlist.
The commands could be sent via telnet (to port 6600 if default config), or via a local mpc client, or via netcat, or via whatever your pleasure for transmitting tcp packets. The IoT is chock-a-block with connective technologies.
So now the task is to gen up an app which does this and create desktop links for each of the favorite stations. Alternatively, one could imagine the moOde player's equivalent of the Amazon ordering buttons.
Of course the app could be made more complicated, like preserving the existing queue, working directly with the URIs, etc.
Regards,
Kent
01-06-2020, 01:31 PM
MPD commands can be sent via
Volume commands via
Code:
http://moode/command?cmd=
Example:
http://moode/command?cmd=stop
Volume commands via
Code:
http://moode/command?cmd=vol.sh
pi@rp3:~ $ /var/www/vol.sh --help
Usage: vol.sh [OPTION] [VOLUME]
Change the volume and update the knob.
With no OPTION or VOLUME, print the current volume.
With just VOLUME, set current volume to VOLUME.
-up VOLUME value between 1 and 100
-dn VOLUME value between 1 and 100
-mute mute or unmute the volume
-restore set volume to current knob level
--version print the program version
--help print this help text
Examples:
http://moode/command?cmd=vol.sh -up 1
http://moode/command?cmd=vol.sh -dn 1
http://moode/command?cmd=vol.sh 15
http://moode/command?cmd=vol.sh -mute
01-06-2020, 01:40 PM
Oh, duh. I forgot your api.
So one more way to skin a cat.
Regards,
Kent
So one more way to skin a cat.
Regards,
Kent
01-08-2020, 05:56 AM
(01-06-2020, 01:31 PM)Tim Curtis Wrote: [ -> ]MPD commands can be sent via
Code:http://moode/command?cmd=
Example:
http://moode/command?cmd=stop
Volume commands via
Code:http://moode/command?cmd=vol.sh
pi@rp3:~ $ /var/www/vol.sh --help
Usage: vol.sh [OPTION] [VOLUME]
Change the volume and update the knob.
With no OPTION or VOLUME, print the current volume.
With just VOLUME, set current volume to VOLUME.
-up VOLUME value between 1 and 100
-dn VOLUME value between 1 and 100
-mute mute or unmute the volume
-restore set volume to current knob level
--version print the program version
--help print this help text
Examples:
http://moode/command?cmd=vol.sh -up 1
http://moode/command?cmd=vol.sh -dn 1
http://moode/command?cmd=vol.sh 15
http://moode/command?cmd=vol.sh -mute
Yes, it's something like that I'm looking for, something in the line of:
http://mymoode/command?cmd=playradio -station 'somefolder/somestation.pls'
can that be done?
/Søren
01-08-2020, 06:13 AM
Now that's interesting !!
How to run that all together ?
Code:
http://<ipaddress>/command/?cmd=clear
Code:
http://<ipaddress>/command/?cmd=add http://relay3.slayradio.org:8000/
Code:
http://<ipaddress>/command/?cmd=play
How to run that all together ?
01-08-2020, 08:35 AM
Can this be used on iOS Shortcuts so I can ask siri play specific radio?
Pages: 1 2