Jump to content

Emby does not detect Yamaha RX-V475 to play on


dml33

Recommended Posts

Hi.

I am running Emby Server 4.5.4.0 on a FreeBSD 12.1 jail in Xigmanas based on FreeBSD 12.2.

I have a Yamaha RX-V475 AVR and I am trying to play Music on it from the Emby webpage or Emby Mobile Android app, but it does not appear in the list of the devices to play on.

However, in that list my Sony Android TV or Emby for Android Mobile or Kodi (Corelec) appear and I can stream music or video to them.

This Yamaha AVR appears to play on in BubbleUPnP or in Spotify (it does have Spotify Connect), for example.

<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:ms="urn:microsoft-com:wmc-1-0" xmlns:pnpx="http://schemas.microsoft.com/windows/pnpx/2005/11" xmlns:df="http://schemas.microsoft.com/windows/2008/09/devicefoundation" xmlns:yamaha="urn:schemas-yamaha-com:device-1-0">
<yamaha:X_device>
<yamaha:X_URLBase>http://192.168.8.110:80/</yamaha:X_URLBase>
<yamaha:X_serviceList>
<yamaha:X_service>
<yamaha:X_specType>urn:schemas-yamaha-com:service:X_YamahaRemoteControl:1</yamaha:X_specType>
<yamaha:X_controlURL>/YamahaRemoteControl/ctrl</yamaha:X_controlURL>
<yamaha:X_unitDescURL>/YamahaRemoteControl/desc.xml</yamaha:X_unitDescURL>
</yamaha:X_service>
</yamaha:X_serviceList>
</yamaha:X_device>
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device ms:X_MS_SupportsWMDRM="true">
<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>
<pnpx:X_compatibleId>MS_DigitalMediaDeviceClass_DMR_V001 </pnpx:X_compatibleId>
<pnpx:X_deviceCategory>MediaDevices Multimedia.DMR MediaDevice.DMC </pnpx:X_deviceCategory>
<pnpx:X_hardwareId>VEN_0033&DEV_0006&REV_01 </pnpx:X_hardwareId>
<df:X_deviceCategory>Multimedia.DMR </df:X_deviceCategory>
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
<friendlyName>RX-V475 A11J64</friendlyName>
<manufacturer>Yamaha Corporation</manufacturer>
<manufacturerURL>http://www.yamaha.com/</manufacturerURL>
<modelDescription>AV Receiver</modelDescription>
<modelName>RX-V475</modelName>
<modelNumber>V475</modelNumber>
<modelURL>http://www.yamaha.com/</modelURL>
<serialNumber>0C0C8164</serialNumber>
<UDN>uuid:6f9ac1b3-ef59-1900-3530-00c0de415a13</UDN>
<UPC>142810128508</UPC>
<iconList>
<icon>
<mimetype>image/jpeg</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/BCO_device_sm_icon.jpg</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/BCO_device_lrg_icon.jpg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/BCO_device_sm_icon.png</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/BCO_device_lrg_icon.png</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
<SCPDURL>/RenderingControl/desc.xml</SCPDURL>
<controlURL>/RenderingControl/ctrl</controlURL>
<eventSubURL>/RenderingControl/evt</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<SCPDURL>/ConnectionManager/desc.xml</SCPDURL>
<controlURL>/ConnectionManager/ctrl</controlURL>
<eventSubURL>/ConnectionManager/evt</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
<serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
<SCPDURL>/AVTransport/desc.xml</SCPDURL>
<controlURL>/AVTransport/ctrl</controlURL>
<eventSubURL>/AVTransport/evt</eventSubURL>
</service>
</serviceList>
<presentationURL>http://192.168.4.140/</presentationURL>
</device>
</root>

What could be the reason? Could it be solved?

Thanks!

Regards

Edited by dml33
Link to comment
Share on other sites

Thanks, Luke, but it does not work. 

I powered-off the Yamaha and turned it on after some minutes and it is the same: The Yahama AVR sees Emby, but Emby does not discover the Yamaha AVR to play on it.

Any more ideas?

Link to comment
Share on other sites

Hi.

Here is a log with DLAN logging enabled.

The Yamaha IP is 192.168.8.110 and the Emby server IP is 192.168.8.201.

https://pastebin.com/xF84BiZw

It seems it responds to the alive broadcast message, but I do not see any error like in other cases, where an user-agent header was missing...


 
2021-02-12 17:44:58.842 Debug Server: http/1.1 Response 200 to 192.168.8.110. Time: 2ms. http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/description.xml

Thanks!

Link to comment
Share on other sites

Hi, unfortunately this is hard to answer. It requests the description.xml, so that is good, but then it goes no further after that. That means there is something in our description.xml response that it doesn't like, the question is what.

Link to comment
Share on other sites

Thanks, Luke.

If you give me some directions or hints, I could try removing or adding things to that file until it works... I'm very interested in it to work 😉

Link to comment
Share on other sites

22 hours ago, dml33 said:

Thanks, Luke, but it does not work. 

I powered-off the Yamaha and turned it on after some minutes and it is the same: The Yahama AVR sees Emby, but Emby does not discover the Yamaha AVR to play on it.

Any more ideas?

I'm curious about this statement..."The Yahama AVR sees Emby, but Emby does not discover the Yamaha AVR to play on it"  So are you trying to push/play to from a device to the Yamaha receiver?  What happens if you simply use the Yamaha remote control and try to play Emby server files directly from the Yamaha?  If the Yamaha can detect the Emby server and see the files therein, it should be able to play them straight over DLNA using the Yamaha remote and the proper input setting on the receiver.  Example: I have Denon products and this is how it works (as described above).  Yes I can also "play to" the Denon receiver from my phone but that requires that I load the HEOS app, which to me is quite clumsy.  In fact using the Denon remote control to directly play Emby served music over DLNA is also clumsy so I don't even bother.  Since my Denon is the control center for my total AV center I use Roku and Android TV devices that are connected to the Denon to run an Emby client direct.  The other benefit of this is that both Roku and Android TV are also cast capable.  So using the same Emby client on my phone I can (if necessary) cast music to the Roku or Android TV device.  Again, still clumsy but likely much easier than what it sounds like you're trying to implement.

Do you not have any other devices connected to your Yamaha receiver?  Is the receiver not working in an AV switching capacity?

Link to comment
Share on other sites

1 hour ago, EZEd said:

I'm curious about this statement..."The Yahama AVR sees Emby, but Emby does not discover the Yamaha AVR to play on it"  So are you trying to push/play to from a device to the Yamaha receiver?  What happens if you simply use the Yamaha remote control and try to play Emby server files directly from the Yamaha?  If the Yamaha can detect the Emby server and see the files therein, it should be able to play them straight over DLNA using the Yamaha remote and the proper input setting on the receiver.  Example: I have Denon products and this is how it works (as described above).  Yes I can also "play to" the Denon receiver from my phone but that requires that I load the HEOS app, which to me is quite clumsy.  In fact using the Denon remote control to directly play Emby served music over DLNA is also clumsy so I don't even bother.  Since my Denon is the control center for my total AV center I use Roku and Android TV devices that are connected to the Denon to run an Emby client direct.  The other benefit of this is that both Roku and Android TV are also cast capable.  So using the same Emby client on my phone I can (if necessary) cast music to the Roku or Android TV device.  Again, still clumsy but likely much easier than what it sounds like you're trying to implement.

Do you not have any other devices connected to your Yamaha receiver?  Is the receiver not working in an AV switching capacity?

Hi.

Yes, there is an app, called AV Controller, to control a Yamaha AVR. There, I can access Emby in the "Server" Input type, much like through the remote control. The interface is quite poor, without any image of covers, incredibly slow, etc. That's why I would like something nice, easy and friendly to stream the music to it, such as Emby or BubbleUPnP. 

Similarly to your Roku and Android TV device, I can also cast it to the TV and, from there, to the AV, but I have to turn on also the TV, the image is quite static and children pay more attention to the image than dancing or listening to the music. 

I hope I can manage to make Emby play directly on the AV, instead of so many tricky ways. 

Thanks!

Link to comment
Share on other sites

Hi.

I cannot cast video to my Android TV Sony KD-49XF9005 (2017 Series) from Emby Web. It does not appear in the list of devices to play onto.

However, it appears in my mobile in the Android Emby app as "KD-49XF9005 - Chromecast".

Why is it detected only from my mobile?

Later on, I played a little, configuring a new DLNA custom profile from the "Sony Bravia (2014)" example, changing the Header Info section with the information of my TV (it may not be completely accurate, but at least it should work for most of my needs): 

Sony KD-49XF9005 custom Profile

It does not appear in Emby Web, either, but, in the log, the new profile is matched, but, nothing else happens...

2021-02-12 23:32:07.254 Debug Dlna: Found matching device profile: Sony KD-49XF9005
2021-02-12 23:32:07.255 Debug Server: http/1.1 Response 200 to 192.168.8.149. Time: 5ms. http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/description.xml
2021-02-12 23:32:07.261 Debug Server: http/1.1 GET http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/contentdirectory/contentdirectory.xml. UserAgent: UPnP/1.0
2021-02-12 23:32:07.263 Debug Server: http/1.1 Response 200 to 192.168.8.149. Time: 2ms. http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/contentdirectory/contentdirectory.xml
2021-02-12 23:32:07.270 Debug Server: http/1.1 GET http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/connectionmanager/connectionmanager.xml. UserAgent: UPnP/1.0
2021-02-12 23:32:07.271 Debug Server: http/1.1 Response 200 to 192.168.8.149. Time: 2ms. http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/connectionmanager/connectionmanager.xml
2021-02-12 23:32:07.358 Debug Server: http/1.1 GET http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/description.xml. UserAgent: UPnP/1.0
2021-02-12 23:32:07.361 Debug Dlna: Found matching device profile: Sony KD-49XF9005
2021-02-12 23:32:07.362 Debug Server: http/1.1 Response 200 to 192.168.8.149. Time: 5ms. http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/description.xml
2021-02-12 23:32:07.368 Debug Server: http/1.1 GET http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/contentdirectory/contentdirectory.xml. UserAgent: UPnP/1.0
2021-02-12 23:32:07.369 Debug Server: http/1.1 Response 200 to 192.168.8.149. Time: 2ms. http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/contentdirectory/contentdirectory.xml
2021-02-12 23:32:07.375 Debug Server: http/1.1 GET http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/connectionmanager/connectionmanager.xml. UserAgent: UPnP/1.0
2021-02-12 23:32:07.377 Debug Server: http/1.1 Response 200 to 192.168.8.149. Time: 2ms. http://192.168.8.201:8096/dlna/c3595acfe9034aeaa7ea04bf4ff665b6/connectionmanager/connectionmanager.xml

Complete log

Thanks!

Link to comment
Share on other sites

As a test, do you have another machine to try installing the server on and see if it is able to detect it, such as windows or linux (ubuntu/debian) ?

Link to comment
Share on other sites

Hi.

I have just installed a portable Emby on Windows 10, instead of in my main NAS XigmaNAS (FreeBSD jail), just to try, as Luke suggested.

Here, in Emby Web, the TV appears just as "Chromecast" and I can play on it. It is interesting that here it uses the default profile, while in NAS it was not. 

Emby Web log in Windows 10

Why it is different in FreeBSD (or any reason)?

Thanks!

Link to comment
Share on other sites

Hi, Luke.

I have just installed a portable Emby on Windows 10, instead of in my main NAS XigmaNAS (FreeBSD jail), just to try, as you suggested.

Here, in Emby Web, the Yamaha AVR appeared!!! After 3 minutes (shy? 🙄), but, there it is!

Emby Web log in Windows 10

What could be the problem in my NAS?

Thanks!

Link to comment
Share on other sites

6 hours ago, dml33 said:

Hi, Luke.

I have just installed a portable Emby on Windows 10, instead of in my main NAS XigmaNAS (FreeBSD jail), just to try, as you suggested.

Here, in Emby Web, the Yamaha AVR appeared!!! After 3 minutes (shy? 🙄), but, there it is!

Emby Web log in Windows 10

What could be the problem in my NAS?

Thanks!

Is this the IP of your Yamaha? 192.168.8.149? I can't tell you why it took 3 minutes because according to the server log, it started contacting Emby Server within one minute. Is it possible you're exaggerating?

Link to comment
Share on other sites

Regarding FreeBSD, unfortunately there's a good chance the problem is in the mono runtime. I wish I had a better answer for you then that. The .NET Core runtime does not support FreeBSD yet so we have to use the mono runtime, and the mono runtime available for FreeBSD is pretty old at this point.

I know some users have found tricks to update it. @MRobi have you done that?

Link to comment
Share on other sites

6 minutes ago, Luke said:

Is this the IP of your Yamaha? 192.168.8.149? I can't tell you why it took 3 minutes because according to the server log, it started contacting Emby Server within one minute. Is it possible you're exaggerating?

I counted roughly since the log starts until the Yamaha is detected. Sorry.

2021-02-13 11:43:36.427 Info Main: Application path: D:\Download\embyserver-win-x64-4.5.4.0\system\EmbyServer.dll
2021-02-13 11:43:37.127 Info Main: Emby
...
2021-02-13 11:46:14.760 Info Dlna: No matching device profile found. The default will need to be used.
	DeviceDescription:
	FriendlyName:RX-V475 A15A63

 

Link to comment
Share on other sites

@dml33 I setup for a friend a single regular Chromecast directly connected to an HDMI input on their AV receiver specifically for music playback only. Because the Chromecast is connected directly to the receiver, the TV was only required to be turned on once during the setup. After that the TV is no longer required for music only play. Just select the correct HDMI input on the receiver and cast from the phone or tablet. The UI then becomes the phone or tablet not the TV. It works the same as BubblePnP but you're using the native Emby app with it's connection back to the server for source. It's not very useful for me but was exactly what they wanted. And sounds exactly like what you're trying to do with BubblePnP. Just another suggestion and set of eyes on the same problem.

Good luck

Edited by EZEd
Added salutation
Link to comment
Share on other sites

I've merged your topics because I think we're having the same discussion in two different places.

Chromecast is not the same as Dlna. Chromecast does not use Dlna profiles. If the TV supports both Chromecast and Dlna, then you'll see two entries in the Emby remote control menu. They are completely independent of each other.

Link to comment
Share on other sites

22 hours ago, Luke said:

Regarding FreeBSD, unfortunately there's a good chance the problem is in the mono runtime. I wish I had a better answer for you then that. The .NET Core runtime does not support FreeBSD yet so we have to use the mono runtime, and the mono runtime available for FreeBSD is pretty old at this point.

I know some users have found tricks to update it. @MRobi have you done that?

I was running mono 6.8.0.105 for my Sonarr/Radarr/Lidarr jails. I didn't see the need back then to do it with Emby. But it's still simple to do.

Download mono-6.8.0.105 from this link (password is "Mono")

https://sansonehowell-my.sharepoint.com/:f:/p/jsansone/EpfQbi-zytpLhYraiy74XuUBzWXb6l_XwkzUVoc8BzOf1g?e=l702tr

Move it to the /tmp folder in your jail. I use winscp to do it

Run this command: pkg install /tmp/mono-6.8.0.105.txz 

Then simply restart your jail.

NOTE: This is a pre-compiled pkg made from an unknown source. While it's often recommended on the TrueNAS forums, there's always some sort of security risk involved. There are ways to manually compile your own but it's significantly more complicated.

Link to comment
Share on other sites

@Luke, yes I'm aware Chromecast is not DLNA, just trying to suggest to dml33 that DLNA direct to his Yamaha might not be the best method to achieve what he is trying to do and that for $35 or so it may more easily achieved with better results using a different architecture.

Link to comment
Share on other sites

Thanks everyone!

With the hints given by @MRobi, and some trials and errors, I succeeded in installing official mono 6.8.0.123 package in my Emby FreeBSD 12.2-p3 jail inside my XigmaNAS 12.2.0.4 NAS server.

Detailed instructions here.

The sad thing is that still I cannot play anything on my Yamaha AVR, since it does not appear in the list 😰

Here is my log. The IP of the Yamaha AVR is 192.168.8.110, while the server is 192.168.8.201.

I hope it gives some hints about what could be the problem and it could be solved in a near future.

Link to comment
Share on other sites

I was able to reproduce some of this under certain conditions on windows, and today's beta server has fixes for this. Now everything is detected perfectly and immediately for me.

I think there is a chance it may help you, although FreeBSD is going to be subject to both the quirks of the FreeBSD platform as well as defects and limitations in the mono runtime. But you could try it.

Link to comment
Share on other sites

@LukeYou're going on the right track!! It is almost, almost done.

I have just installed Version 4.6.0.26 beta.

The Yamaha AVR is detected at last!!

Firstly, it was in Spotify-Connect mode, so it seems it did not accept any requests from Emby (internal server errors in the log when I tried to play 3 or 4 times a song on it).

Here is the log. 

Later, I realized of it and I changed the AVR to Server mode. Then, I could play a song sucessfully :) :)

2021-02-19 17:00:59.378 Debug Dlna: RX-V475 A15A63 - Received PlayRequest: PlayNow
2021-02-19 17:00:59.379 Debug Dlna: Found matching device profile: Sony KD-49XF9005
2021-02-19 17:00:59.380 Debug SqliteItemRepository: Public GetItemLinks
2021-02-19 17:00:59.381 Debug Dlna: RX-V475 A15A63 - Playlist created
2021-02-19 17:00:59.381 Debug Dlna: RX-V475 A15A63 - Playing 1 items
2021-02-19 17:00:59.381 Debug Dlna: RX-V475 A15A63 - SetAvTransport Uri: http://192.168.8.201:8096/audio/58899/stream.mp3?DeviceProfileId=5203b19a4f53e50c5e7c76fae4016cea&amp;DeviceId=uuid:5f9ec1b3-ed59-1900-4530-00a0dea15a63&amp;MediaSourceId=04ec2ddec64cda2d0a7bbd8930128d37&amp;Static=true&amp;PlaySessionId=f2c9f20a793f4761984d1fbe89b304d1 DlnaHeaders: DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000
2021-02-19 17:00:59.383 Debug HttpClient: HttpClientManager POST: http://192.168.8.110:8080/AVTransport/ctrl
2021-02-19 17:00:59.958 Debug HttpClient: HttpClientManager POST: http://192.168.8.110:8080/AVTransport/ctrl
2021-02-19 17:01:00.003 Info Server: http/1.1 GET http://192.168.8.201:8096/audio/58899/stream.mp3?DeviceProfileId=5203b19a4f53e50c5e7c76fae4016cea&amp;amp;DeviceId=uuid:5f9ec1b3-ed59-1900-4530-00a0dea15a63&amp;amp;MediaSourceId=04ec2ddec64cda2d0a7bbd8930128d37&amp;amp;Static=true&amp;amp;PlaySessionId=f2c9f20a793f4761984d1fbe89b304d1. UserAgent: WinampMPEG/2.8

Maybe, catching the exception and showing an information popup/message in the server could help the user think that he should check the DLNA client.

Thanks a lot for solving the issue!

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...