Hey,
I’m very happy to see that there is progress on the binding again.
Great work !!!
I tested the binding and everything works very nice & smooth except the AlbumArt
Bad News: I can’t find the reason myself
Good News: I realized my debugging skillz
Something is wrong after getting correct albumart_url from getPlayInfo
2019-01-16 23:44:18.019 [DEBUG] - >> GET http://172.27.0.110/YamahaExtendedControl/v2/netusb/getPlayInfo
2019-01-16 23:44:18.025 [DEBUG] - JSON is {"response_code":0,"input":"qobuz","play_queue_type":"system","playback":"pause",
"repeat":"all","shuffle":"off","play_time":4,"total_time":325,"artist":"Efterklang",
"album":"Piramida","track":"Hollow Mountain","albumart_url":"/YamahaRemoteControl/AlbumART/AlbumART8603.jpg",
"albumart_id":8603,"usb_devicetype":"unknown","auto_stopped":false,"attribute":84148639,
"repeat_available":["off","one","all"],"shuffle_available":["off","on"]}
next weird stuff happens: (trying YamahaExtendedControl/v2 again)
2019-01-16 23:44:18.026 [DEBUG] - >> GET http://172.27.0.110/YamahaExtendedControl/v2
2019-01-16 23:44:18.030 [DEBUG] - JSON is {"response_code":3}
2019-01-16 23:44:18.031 [DEBUG] - JsonObject: {"response_code":3}
2019-01-16 23:44:18.031 [DEBUG] - org.openhab.binding.yamahamusiccast.internal.api.MusicCastException: Invalid Request (A method did not exist, a method wasn’t appropriate etc.)
I also tried the “empty albumart_url” situation where it should take the 120x120.jpg --> with the same behaviour trying to parse the wrong url YamahaExtendedControl/v2
Would be great if there’s a solution (or is it me missing something?)
Thanks! regards
Chris