Driver Releases

davep's Avatar Topic Author
Admin Admin
  • Posts: 371
  • Thanks: 98

Re: Driver Releases

2 years 4 months ago
#2580
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 or Create an account to join the conversation.

CrabbyPatties's Avatar
User User
  • Posts: 117
  • Thanks: 2

Re: Driver Releases

2 years 4 months ago
#2588
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 or Create an account to join the conversation.

CrabbyPatties's Avatar
User User
  • Posts: 117
  • Thanks: 2

Re: Driver Releases

2 years 3 months ago
#2631
Bump on this, when you get a mo. Thanks.

Please Log in or Create an account to join the conversation.

CurlyOscar's Avatar
User User
  • Posts: 81
  • Thanks: 1

Re: Driver Releases

2 years 2 months ago
#2861
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 or Create an account to join the conversation.

CrabbyPatties's Avatar
User User
  • Posts: 117
  • Thanks: 2

Re: Driver Releases

1 year 6 months ago
#4090
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 or Create an account to join the conversation.

davep's Avatar Topic Author
Admin Admin
  • Posts: 371
  • Thanks: 98

Re: Driver Releases

1 year 6 months ago
#4091
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 or Create an account to join the conversation.

Time to create page: 0.308 seconds