Driver Releases

More
2 years 2 months ago #2580 by davep
Replied by davep on topic Driver Releases
The Heos driver has built in commands for doing all that. Not sure why all those Test commands are necessary.
The driver does not poll. It registers for notification events. Its the Heos player that is broadcasting that slowly.

Please Log in to join the conversation.

More
2 years 2 months ago #2588 by CrabbyPatties
Replied by CrabbyPatties on topic Driver Releases

The Heos driver has built in commands for doing all that. Not sure why all those Test commands are necessary.
The driver does not poll. It registers for notification events. Its the Heos player that is broadcasting that slowly.

As far as I can tell, there is no built-in command to achieve what I want (otherwise I would obviously use that, rather than mess around with the Test function....).  If there is a native command for selecting a favourite by number, what is it? 

If there is not a native command, then I would like to make it work regardless - via the test command.  What I am trying to achieve is obviously useful functionality - there is utility in being able to assign favourite to soft or hard buttons, eg the function buttons).

Thanks again

Please Log in to join the conversation.

More
2 years 2 months ago #2631 by CrabbyPatties
Replied by CrabbyPatties on topic Driver Releases
Bump on this, when you get a mo. Thanks.

Please Log in to join the conversation.

More
2 years 4 weeks ago #2861 by CurlyOscar
Replied by CurlyOscar on topic Driver Releases
Just wondering if a driver for FLIRC is in the works? It says in the 'How To' for GenericIR that it will be soon supported

Please Log in to join the conversation.

More
1 year 5 months ago #4090 by CrabbyPatties
Replied by CrabbyPatties on topic Driver Releases
Coming back to this after a long break - I still don't know if it is possible to directly select a favorite (eg a one in a list of favorited radion stations). Is there any way to do this?

Please Log in to join the conversation.

More
1 year 5 months ago #4091 by davep
Replied by davep on topic Driver Releases
If this is in reference to Heos then the Heos api does not offer any way to directly play a favorite. It expects you to browse for it and play.

But you can accomplish a direct play. Start by turning on logging in the driver.
From the UI browse to the favorite you want to play and play it.
Then from the server events log look for the incoming command and then grab the TX: log item that immediately follows it.

In my case I have a favorite called "The Battle Born: Vegas Rock Radio"
When I play it I see in the event log the following:
Heos.TX: (Living Room) - heos://browse/play_stream?pid=-1955471030&sid=1028&mid=4586579727037038354&name=The Battle Born: Vegas Rocks Radio

Grab everything in that line starting with heos:
heos://browse/play_stream?pid=-1955471030&sid=1028&mid=4586579727037038354&name=The Battle Born: Vegas Rocks Radio
That's the Heos command to play the favorite. (Now you know why they want you to browse for it)

To associate that favorite to a button. Use the Heos test command.

AV|<<your heos id>>~Test~heos://browse/play_stream?pid=-1955471030&sid=1028&mid=4586579727037038354&name=The Battle Born: Vegas Rocks Radio

Create a macro and place that command it in, e.g. play.battleborn

Then from a button on the UI set server command to play.battleborn.
Click the button and it should start playing the favorite.

Repeat for any other favorites you might have.
 
The following user(s) said Thank You: CrabbyPatties

Please Log in to join the conversation.

Time to create page: 0.193 seconds