Windows > Third Party Plug-ins, Programs, and Skins
Home Assistant integration for jriver
rhgh:
I have added JRiver to Home Assistant. I can see my views and select music. This is also played. But when I press the pause button the music stops, when I press the play button nothing happens, playback no longer starts. If I press the next song button then playback starts with the next track.
mattkhan:
--- Quote from: rhgh on October 18, 2024, 03:09:18 am ---I have added JRiver to Home Assistant. I can see my views and select music. This is also played. But when I press the pause button the music stops, when I press the play button nothing happens, playback no longer starts. If I press the next song button then playback starts with the next track.
--- End quote ---
What do you see happening in MC? Logs from either ha or MC will help
sjhilton:
--- Quote from: mattkhan on October 18, 2024, 02:20:07 am ---for showing the current playlist, given MC doesn't have a push api, I want to avoid excessive polling of a relatively large dataset for something that changes v rarely. To that end, I was thinking of only refreshing the playlist if
* the playback state changes to playing or it is still playing
* the track changes
would that work for people or are there some other conditions to be added?
--- End quote ---
That sounds about right to me. I have my MCWS playlist call every 30s, but that's because I couldn't do it in a more elegant way (as you've proposed).
avpman:
--- Quote from: mattkhan on October 18, 2024, 02:20:07 am ---for showing the current playlist, given MC doesn't have a push api, I want to avoid excessive polling of a relatively large dataset for something that changes v rarely. To that end, I was thinking of only refreshing the playlist if
* the playback state changes to playing or it is still playing
* the track changes
would that work for people or are there some other conditions to be added?
--- End quote ---
That's good for me. BTW - Terrific work on this!
rhgh:
--- Quote from: mattkhan on October 18, 2024, 03:23:19 am ---What do you see happening in MC? Logs from either ha or MC will help
--- End quote ---
MC 32 on Raspberry pi4
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version