Load site modules...
lade...
random avatar

gibwar - Network

Posts Subscribe

Turns out when its told to play another song it puts that at the beginning as item 1 and the previous song is item 2. If I can hook up to...

https://mastodon.social/@gibwar/...

Turns out when its told to play another song it puts that at the beginning as item 1 and the previous song is item 2. If I can hook up to the play command, calling remove_from_queue with an id of 2 will remove it (or fail if it was empty, without consequence).

Now to see if the official integration lets me send arbitrary commands or if I am going to need to fork that as well to add queue management capabilities. Bring it on! 😤

17.1.2023 02:45Turns out when its told to play another song it puts that at the beginning as item 1 and the previous song is item 2. If I can hook up to...
https://mastodon.social/@gibwar/...

BAHAHAHAH. It works! It workssssss! Managed to open a HTTP proxy in the integration and route requests through that instead of the original...

https://mastodon.social/@gibwar/...

BAHAHAHAH. It works! It workssssss! Managed to open a HTTP proxy in the integration and route requests through that instead of the original URL! 🥳

Found an interesting side effect with . Sending the "play_stream" command adds it to the current queue on device. That's fine for the first song, but on the second song it'll go back to the first item in the queue 10 seconds before the song ends, leading to repeats.

17.1.2023 02:42BAHAHAHAH. It works! It workssssss! Managed to open a HTTP proxy in the integration and route requests through that instead of the original...
https://mastodon.social/@gibwar/...

So I wanted to be able to stream YouTube Music on my Denon AVR (via HEOS) fro Home Assistant.Found ytube_music_player and he first couple...

https://mastodon.social/@gibwar/...

So I wanted to be able to stream YouTube Music on my Denon AVR (via HEOS) fro Home Assistant.

Found ytube_music_player and he first couple tests completely broke with the AVR disconnecting when getting the stream URL command. Did a bit of manual testing to find out the URL has a max length of 512 bytes. 🤔

A little bit of noodling and testing later I found I could write a simple proxy to send a short URL and redirect it! Now to fork it and add it.

17.1.2023 00:04So I wanted to be able to stream YouTube Music on my Denon AVR (via HEOS) fro Home Assistant.Found ytube_music_player and he first couple...
https://mastodon.social/@gibwar/...

I did my part!

https://mastodon.social/@gibwar/...

I did my part!

8.11.2022 20:17I did my part!
https://mastodon.social/@gibwar/...
Subscribe
To add news/posts to your profile here, you must add a link to a RSS-Feed to your webfinger. One example how you can do this is to join Fediverse City.
         
Webfan Website Badge
Nutzungsbedingungen   Datenschutzerklärung  Impressum
Webfan | @Web pages | Fediverse Members

⬆️

⬇️