Closed aXaut closed 3 years ago
Did you test this out ok? My example was just pseudo code, so I wasn't POSITIVE it would work as written.
Yes I tested it with DefaultMediaReceiver with multiple tracks, with just one track, YouTube and Spotify (Spotify started via Phone, but QUEUE_NEXT and PREV did work via node). By testing this, I also found out that next and prev on Youtube lead to an INVALID_COMMAND error if you have a queue of videos started via YT App, but did not have time to further investigate.
Btw I didn’t really copy&paste it, but looked up myself which properties to use. But respect, all except where to get the AppId from the current receiver was accurate in your pseudo ;)
added workaround to make QUEUE_NEXT and QUEUE_PREV work for DefaultMediaReceiver