Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RX-S601D no access to the media folder #213

Open
CHWurst opened this issue Nov 1, 2023 · 5 comments
Open

RX-S601D no access to the media folder #213

CHWurst opened this issue Nov 1, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@CHWurst
Copy link

CHWurst commented Nov 1, 2023

Describe the bug
I cannot select or search for any media using the controls or Media in the menu. Only the last track or the last radio station (Net Radio) is played. When I create an automation and use "Play Media" as the action, I get the error message "The media player does not support media browsing.". But with the HA integration or the MusicCast integration it works.

Expected behavior
Selection of media via the control card.

Diagnostics
config_entry-yamaha_ynca-de71815ec43ebd870cf0680b4ba48c3f.json.txt

Logging
No

Environment

  • Home Assistant Core version: 2023.10.5
  • Home Assistant operating environment (OS/Container/Supervised/Core): OS via Vm on Windows 10
  • Huesyncbox integration version:
  • Last working version (if known):

Additional context

@mvdwetering
Copy link
Owner

Indeed, there is currently no support to browse or play media.

I had a quick look and it seems a bit complicated as from the receiver I can basically only navigate the menu pages (I guess it will also show on screen). Next to that HA does not seem to support paged browsing. I guess I could get all the pages first, but that could be slow.

For which sources are you looking at this functionality?
If the source also support Presets it would be easier to implement.

@CHWurst
Copy link
Author

CHWurst commented Nov 5, 2023 via email

@mvdwetering mvdwetering added the enhancement New feature or request label Nov 5, 2023
@mvdwetering
Copy link
Owner

I assume that Server is for accessing DLNA servers (on my receiver that input is called PC). In that case maybe the DLNA Digital Media Renderer integration in HA works for you. It does not work with my receiver, but that is a pretty old one it might work on other models.

I might give it a go anyway and see how well it works.

@CHWurst
Copy link
Author

CHWurst commented Nov 11, 2023

Yes, that's right, the input server accesses DLNA. I first switched back to the standard Yamaha integration so that at least the server and net radio inputs work. 😉

@mvdwetering
Copy link
Owner

FYI I have been experimenting with browsing the library through the YNCA protocol, but having some issues getting it stable. Response speed depends heavily on the used input e.g. USB seems very slow, DLNA is pretty fast. Next to that sometimes my receiver hangs after getting a bunch of pages and I need to reconnect.
So unfortunately not ready to include in a release right now. I will try to get back to this at some point.

However I noticed from your logs that the receiver seems to support SONG and ALBUM for the NETRADIO source. I think it would be a nice addition for the integration, but I need some additional info to be see if it works like for the other sources.

Could you try to send the following commands to the receiver?
These commands will not change any settings, just request some data.

@NETRADIO:METAINFO=?
@SYS:MODELNAME=?
@NETRADIO:SONG=?
@NETRADIO:ALBUM=?
@NETRADIO:ARTIST=?

Sending the commands can be done in the Home Assistant developer tools on the "services" tab use the "Yamaha (YNCA): Send raw YNCA command" service to send the commands above. These can be pasted all at once into the "Raw YNCA data" field. Make sure to select your device as target before clicking "Call service"

Afterwards please upload the diagnostics to I can look at the responses from the receiver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants