INTERACT FORUM
Networks and Remotes => Media Network => Topic started by: giamma on March 13, 2011, 06:02:20 pm
-
I have an Onkyo HT 180 receiver.
I have been using it since MC14, and definitely with MC15 to stream my MP3 collection.
But since I have switched to MC16, or at least with the latest build (16.0.49), I am not able to stream
anymore.
It does connect and it's listed in my zones.
I can browse all the music and also the Smartlists, but when I try to play a song it's not able.
Some generic error is reported on the TV screen (from Onkyo)
I noticed someone else also reported some issue with an Onkyo receiver:
- http://yabb.jriver.com/interact/index.php?topic=62828.msg420947#msg420947
Any idea how to resolve this ?
BTW I went back to MC15 and it's working fine.
So it's definitely related to MC16
I have not changed anything under "Media Network".
Same configuration and ports.
I am able to stream from other MC16 connected to the main media center library
And also Gizmo works just fine on my phone.
-
Do you have servers running in both versions of MC? If so, shut one down.
-
No I just keep one running at the time.
Since I have upgraded to MC16, I am not starting MC15 anymore.
I went back to MC15, just to see if it was still working.
To make sure it was not some other problem (may be network related)
What it's interesting is that my DIRECTV DVR, who also support DLNA
is able to play music just fine with MC16
-
Any suggestions on how to trouble shot this ?
-
I just upgraded to MC 16.0.54 Beta and I still have problems.
Any suggestions on how to trouble shoot this would be appreciate it.
It's just a little strange that it works fine with MC 15 but not MC 16
-
It's most likely to be settings somewhere. Advanced?
Firewall is also a possibility.
Double check that there aren't two servers running.
-
As I said earlier, if I just shut down MC16 and go back to MC15 everything works
So it's not an issue with the firewall.
Also I am able to connect to the library and browse the playlist
But only when I try to play a song, I get an error
So definitely not a firewall issue
Are you asking me to check my advanced settings ?
-
I am having the same problem as Giamma. My Onkyo receiver is the european version of the HT-RC180, an TX-NR807.
Streaming stopped working with version 16. And it is still working with version 15. The receiver just says 'unable to play'. If I try to control the TX-NR807 from version 16, it fails as well. This works fine in version 15.
Does the problems relate to DLNA versions ? Version 16 apparently have some DLNA version 2.0 code in it. ?
The Onkyo receiver is 'only' version 1.5 certified.
-
Does the problems relate to DLNA versions ? Version 16 apparently have some DLNA version 2.0 code in it. ?
The Onkyo receiver is 'only' version 1.5 certified.
That's an interesting theory.
-
I am glad I am not crazy :)
Any workaround or possible fix in the near future ?
-
I am glad I am not crazy :)
Any workaround or possible fix in the near future ?
Could you do a library backup and then test this version:
http://files.jriver.com/mediacenter/MediaCenter160019.exe
It's the last one before DLNA 2 support was added.
Thanks...
-
Went back to this version:
http://files.jriver.com/mediacenter/MediaCenter160019.exe
and things are working again
which confirms mbagge theory on DLNA 2
-
Went back to this version:
http://files.jriver.com/mediacenter/MediaCenter160019.exe
and things are working again
which confirms mbagge theory on DLNA 2
Not completely since there were other changes but it's a good probability. The DLNA 1 settings are tried before DLNA 2 so it really shouldn't be getting to the DLNA 2 code. Perhaps the device is claiming DLNA 2 compatibility even though it doesn't really support it? Anyway, thanks for testing it! I'll probably have a couple of other tests to try in the next couple of days...
-
sure let me know and I will be happy to test it
-
Any more tests that you want me to do ?
I am hoping that you guys can add some sort of fix in the next versions of MC 16
-
I had no luck with version 16.0.60. The receiver still 'Cannot play'.
What about an option to force DLNA 1 code only ?
-
Me too
I keep trying with the new versions of MC16 posted, but no luck
Would really appreciate if we can find a solution to this.
-
I had no luck with version 16.0.60. The receiver still 'Cannot play'.
What about an option to force DLNA 1 code only ?
Probably going to work up a test build first. It's still going to take a couple of days because of other stuff ahead in the queue...
-
let me know when you have the test build and I will be happy to test it
-
let me know when you have the test build and I will be happy to test it
I went over that code with a fine toothed comb and I just can't see it causing the problem. It won't even try DLNA 2 unless it can't find a DLNA 1.x service.
Can I verify your setup?
You are using MC as the server and controller with the library and files on the same PC acting as the controller.
You are controlling the Onkyo by using it as a zone in MC.
When you try to do this it fails and gives you an error message (what is the message??)
A wireshark trace of this would be nice. If you install it on your PC, get everything setup to test, turn on the trace right before trying to send a song to the Onkyo and stop the trace right after you get the error message, save the pcap and email it to bob (at) jriver (dot) com I'd appreciate it.
-
Wireshark will take a little time to download and setup
Here is the answer to your questions.
1) You are using MC as the server and controller with the library and files on the same PC acting as the controller.
YES
2) You are controlling the Onkyo by using it as a zone in MC.
YES, under playing now I see my Onkyo (name "Stereo").
I can add songs to its playlist but they will not play (see error message next)
3) When you try to do this it fails and gives you an error message (what is the message??)
Well I just get a generic message
"There was a problem controlling the selected DLNA device. Double check your devise, server, and network settings"
I am also trying to play songs directly from the Onkyo.
The Onkyo is able to connect to my server and is able to see all the playlist (static and smart), but when I select
a song to play, I get an error on the TV screen.
Unfortunately it's just a generic ! and nothing else.
Before with MC15, I was able to play both ways.
Using MC15 to control the Onkyo or from the Onkyo directly
And I was also able to use Gizmo from my phone to play on the Onkyo
Is there a way to get some log files on MC 16 ?
-
Thanks for the detailed report!
You can turn logging on under HELP.
If you haven't already, you might try deleting the DLNA server profile and re-adding it.
What format is your music in? The best test is with conversion off and playing a mp3.
Trying it from the receiver side first is good, that reduces the number of variables.
Have you tried power cycling the receiver??
-
I tried the re-adding of the profile and the power cycle as well with no luck.
Profile made on 'Generic DLNA' and settings for audio is 'Never convert' and 'Uncompressed stream - L16 - No header'
Music is stored in secure ripped flac files.
The main feature of the receiver in this context, is the native flac support. In my experience the sound quality by far exceeds any other audio input method to this receiver and hence the great interest in solving this issue.
I have an Iomega iConnect with a built in Twonky server and a copy of all the flac files on its own harddisk. It delivers the same files to the receiver without problems as well as the earlier media center versions does. (I have been using your software since version 8 to my great satisfaction.)
Will a Wireshark trace from a successfull Media Center 15 session be of any use ?
-
Same here no luck re adding the profile.
As far as the receiver, I turn it off all the time and turn is on before every tests.
I only play MP3 files.
I have enabled the logs and I can send you some logs at your previous email address
thanks
-
Hi Guys,
I got your log giamma. I don't see anything I can use in it.
Yes mbagge, a wireshark trace of it working with 15 would be useful. Along with one in 16 not working. Thanks...
Bob
-
I think I see one problem in the logs mbagge sent. The mimetype and dlna flags are different from version 15 for FLAC. The dlna flags are definitely wrong. That'll be fixed in the next build (>=75). The mimetype MAY need to be tweaked too.
I'm not seeing where the problem with MP3's is.
Giamma, can I verify with you that your files are all mp3 and you have "never convert" set for audio with a generic DLNA profile? If you get a chance to do a working and non-working wireshark trace that'd be great...
Bob
-
I did a debug with 'Device Spy' from opentools.homeip.net/dev-tools-for-upnp
and found the same pattern in the DLNA.ORG_FLAGS when playing mp3's as when playing flac's. Maybe the mp3 issue disappear along with the flac issue when the dlna flags are corrected ?
JRiver DLNA Server 1.0.50: (plays on receiver)
<;res protocolInfo=";http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01400000000000000000000000000000"; duration=";0:04:30"; size=";4324621"; nrAudioChannels=";2"; sampleFrequency=";44100"; bitsPerSample=";16";>;http://192.168.20.111:52100/Music/F505.0.mp3<;/res>;
JRiver DLNA Server 1.0.51: (cannot play on receiver)
<;res protocolInfo=";http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=21700000000000000000000000000000"; duration=";0:04:30.000"; size=";4324621"; nrAudioChannels=";2"; sampleFrequency=";44100"; bitsPerSample=";16"; bitrate=";176400";>;http://192.168.20.111:52100/Music/F505.0.mp3<;/res>;
mbagge
-
I did a debug with 'Device Spy' from opentools.homeip.net/dev-tools-for-upnp
and found the same pattern in the DLNA.ORG_FLAGS when playing mp3's as when playing flac's. Maybe the mp3 issue disappear along with the flac issue when the dlna flags are corrected ?
JRiver DLNA Server 1.0.50: (plays on receiver)
<;res protocolInfo=";http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01400000000000000000000000000000"; duration=";0:04:30"; size=";4324621"; nrAudioChannels=";2"; sampleFrequency=";44100"; bitsPerSample=";16";>;http://192.168.20.111:52100/Music/F505.0.mp3<;/res>;
JRiver DLNA Server 1.0.51: (cannot play on receiver)
<;res protocolInfo=";http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=21700000000000000000000000000000"; duration=";0:04:30.000"; size=";4324621"; nrAudioChannels=";2"; sampleFrequency=";44100"; bitsPerSample=";16"; bitrate=";176400";>;http://192.168.20.111:52100/Music/F505.0.mp3<;/res>;
mbagge
Perhaps. I was thinking it was more likely with FLAC that the DLNA.ORG_PN was the problem (it was clearly wrong). The FLAGS setting of 217xxx should be better than 014xxx. I'll probably make you a test build. I had one Friday but there were some unrelated problems with it so I didn't post it.
-
Check your PM for test build links.
-
Maybe this can lead to a solution - I hope - fingers crossed - :)
I have picked the important stuff from frames in Wireshark traces.
The conversation between MC and Onkyo is something like this (in DLNA language)
J River DLNA Server 1.0.50 in MC15
MC15 : <u:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
Onkyo: <u:GetTransportInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><CurrentTransportState>STOPPED<..........></u:GetTransportInfoResponse>
MC15 : <u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
- and then a lot of info about what to play
Onkyo: <u:SetAVTransportURIResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:SetAVTransportURIResponse>
MC15 : <u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
Onkyo: <u:PlayResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:PlayResponse>
MC15 : <u:GetVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
Onkyo: <u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>0</CurrentVolume></u:GetVolumeResponse>
MC15 : <u:GetPositionInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
Onkyo: <u:GetPositionInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><Track>1</Track><..........></u:GetPositionInfoResponse>
- the GetVolume and GetPositionInfo continues until song has finished or stopped otherwise.
J River DLNA Server 1.0.51 in MC16
MC16 : <u:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
Onkyo: <u:GetTransportInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><CurrentTransportState>STOPPED<..........></u:GetTransportInfoResponse>
MC16 : <u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
- and then a lot of info about what to play
Onkyo: <u:SetAVTransportURIResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:SetAVTransportURIResponse>
MC16 : <u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
Onkyo: Where things go wrong ! (The full frame:)
HTTP/1.1 500 Internal Server Error
Server: Linux/2.6.18_pro500 UPnP/1.0 MediabolicUPnP/1.8.225
Content-type: text/xml; charset="utf-8"
Content-length: 440
Connection: keep-alive
<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>716</errorCode><errorDescription>Resource not found</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
Then I compared the SetAVTransportURI frames from MC15 and MC16, there is several differences but I cannot tell which is bad or not.
mbagge
-
Ok, that was a nice report.
A couple of things to try.
First, a build >=75. That output looks suspiciously like something that changed in 75.
Second, turn off DLNAExtra in advanced options.
-
Sorry I have not been able to try what you suggested Bob
I am travelling, and I will not be able to try things for 2 weeks.
But thanks a lot for all the debugging effort, it's very much appreciated it
-
I am already on 16.0.75. The only Advanced option turned on is DLNA in a freshly created profile.
I realize that there are several dlna-conversations happening in between each other and when studying the Wireshark traces, I always ends up with the actual streaming crashes. (Maybe that is why the "Play" command fails.) I have tried this many times with all 16.0.x versions including 16.0.72, 74, 74b, 74c and 75.
The Onkyo claims on the tv monitor that it is receiving a 1411Kbps 16bit/44.1Khz flac file.
When I select the same song in 15.0.172 the Onkyo plays a 837Kbps 16bit/44.1Khz flac file.
I am wondering why the receiver rejects files from MC16. Do the protocolinfo give you any hint ? duration in thousands of a second ? what is bitrate doing here ? or the content-type x-flac ?
Protocolinfo from 16.0.75
<res protocolInfo="http-get:*:audio/x-flac:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=21700000000000000000000000000000" duration="0:03:47.000" size="24081527" nrAudioChannels="2" sampleFrequency="44100" bitsPerSample="16" bitrate="176400">http://192.168.20.114:52100/Music/F186592.0.flac</res>
Protocolinfo from 15.0.172
<res protocolInfo="http-get:*:audio/flac:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01400000000000000000000000000000" duration="0:03:47" size="24081527" nrAudioChannels="2" sampleFrequency="44100" bitsPerSample="16">http://192.168.20.114:52100/Music/F186592.0.flac</res>
-
I am already on 16.0.75. The only Advanced option turned on is DLNA in a freshly created profile.
I realize that there are several dlna-conversations happening in between each other and when studying the Wireshark traces, I always ends up with the actual streaming crashes. (Maybe that is why the "Play" command fails.) I have tried this many times with all 16.0.x versions including 16.0.72, 74, 74b, 74c and 75.
The Onkyo claims on the tv monitor that it is receiving a 1411Kbps 16bit/44.1Khz flac file.
When I select the same song in 15.0.172 the Onkyo plays a 837Kbps 16bit/44.1Khz flac file.
I am wondering why the receiver rejects files from MC16. Do the protocolinfo give you any hint ? duration in thousands of a second ? what is bitrate doing here ? or the content-type x-flac ?
Protocolinfo from 16.0.75
<res protocolInfo="http-get:*:audio/x-flac:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=21700000000000000000000000000000" duration="0:03:47.000" size="24081527" nrAudioChannels="2" sampleFrequency="44100" bitsPerSample="16" bitrate="176400">http://192.168.20.114:52100/Music/F186592.0.flac</res>
Protocolinfo from 15.0.172
<res protocolInfo="http-get:*:audio/flac:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01400000000000000000000000000000" duration="0:03:47" size="24081527" nrAudioChannels="2" sampleFrequency="44100" bitsPerSample="16">http://192.168.20.114:52100/Music/F186592.0.flac</res>
Thanks for the extra info.
I don't think it's the DLNA.ORG_FLAGS, one of the test versions I sent you changed that.
It seems unlikely to be the x-flac mimetype since giamma says it doesn't work for mp3's for him either (can you try a mp3?).
DLNA clients should accept the duration in thousands of a second. (older uPnP clients might not).
I'll probably do another test build for you with the duration changed and bitrate removed. Once it works we can work our way back forward.
-
Playing mp3 gives the same problem.
<res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=21700000000000000000000000000000" duration="0:04:30.000" size="4324621" nrAudioChannels="2" sampleFrequency="44100" bitsPerSample="16" bitrate="176400">http://192.168.20.114:52100/Music/F505.0.mp3</res>
-
Playing mp3 gives the same problem.
<res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=21700000000000000000000000000000" duration="0:04:30.000" size="4324621" nrAudioChannels="2" sampleFrequency="44100" bitsPerSample="16" bitrate="176400">http://192.168.20.114:52100/Music/F505.0.mp3</res>
Thanks,
New test build in PM.
-
No luck. :'(
My head has started melting and I am running out of suggestions. The only thing yet is content-type, but if you don't think it has anything to do with the problem.
I read in another blog that it was a fact that this receiver does not advertise any flac/x-flac capabilities, then MC16 must be better to find that out than MC15.
If I use Device Spy to ask Onkyo-ConnectionManager-GetProtocolInfo, I get this result:
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,
http-get:*:audio/wav:DLNA.ORG_PN=WAV,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMALSL,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,
This is from the manual:
■ FLAC is a file format for lossless audio data compression.
Sampling rates of 8 kHz, 11.025 kHz, 12 kHz, 16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz, 48 kHz, 64 kHz, 88.2 kHz, and 96 kHz are supported. Incompatible files cannot be played.
Quantization bit: 8 bit, 16 bit, 24 bit
Number of channels: 2
Variable bit-rates (VBR) are supported. (Playing times may display incorrectly with VBR.)
FLAC files must have a .flac or .FLAC filename extension.
Heeelp !
-
No luck. :'(
My head has started melting and I am running out of suggestions. The only thing yet is content-type, but if you don't think it has anything to do with the problem.
I read in another blog that it was a fact that this receiver does not advertise any flac/x-flac capabilities, then MC16 must be better to find that out than MC15.
If I use Device Spy to ask Onkyo-ConnectionManager-GetProtocolInfo, I get this result:
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,
http-get:*:audio/wav:DLNA.ORG_PN=WAV,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMALSL,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,
This is from the manual:
■ FLAC is a file format for lossless audio data compression.
Sampling rates of 8 kHz, 11.025 kHz, 12 kHz, 16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz, 48 kHz, 64 kHz, 88.2 kHz, and 96 kHz are supported. Incompatible files cannot be played.
Quantization bit: 8 bit, 16 bit, 24 bit
Number of channels: 2
Variable bit-rates (VBR) are supported. (Playing times may display incorrectly with VBR.)
FLAC files must have a .flac or .FLAC filename extension.
Heeelp !
Hmmm, it supports flac under the radar, eh?
Well, one more test. It'll be in your PM in a few minutes.
-
No - it will not play.
-
No - it will not play.
Brutal. I think the content directory is identical now with 15.
Can you check to see if the file request still shows partial content vs whole?
-
No, it says
HTTP/1.1 200 OK
transferMode.dlna.org: Streaming
Content-Type: audio/flac
Server: Microsoft-Windows-XP/2002, UPnP/1.0 DLNADOC/1.50, JRiver/2.0
Content-Length: 29426050
Accept-Ranges: bytes
Connection: close
Date: Thu, 28 Apr 2011 22:53:12 GMT
None of the modifications to DeviceDescription.xml can be blamed, can they ?
Does the"av:" stuff only belongs to X-JRiver-Library-Server ?
-
That's the resulting content feed from 16, right. How about 15, that was the partial content IIRC. Were there any other header lines? Do you have DLNAExtra turned on in 15?
-
No option other than DLNA is turned on in 15 and the response is this:
HTTP/1.1 206 Partial Content
Connection: close
Server: Microsoft-Windows-XP/2002, UPnP/1.0 DLNADOC/1.50, JRiver/2.0
Date: Mon, 18 Apr 2011 15:46:28 GMT
Content-Range: bytes 0-24081526/24081527
Content-Length: 24081527
Content-Type: audio/flac
Accept-Ranges: bytes
transferMode.dlna.org: Streaming
-
And the request from the Onkyo? Does it do a HEAD request first or just a GET?
I assume that 15 is actually returning content and 16 is not?
Would it be possible for you to setup a test library in 15 and 16 with exactly one flac file, exactly the same layout and do a capture like this:
(host 199.242.131.131 and host 199.242.131.79) or (host 199.242.131.131 and host 239.255.255.250) or (host 199.242.131.67 and host 239.255.255.250)
Replacing 199.242.131.131 and 199.242.131.79 with your PC and Onkyo IP addresses.
Then start the capture, power up the Onkyo (so we get the discovery dialog) and try to play the file? This will give us a start to end trace to look at...
Sorry to ask for so much stuff...
Bob
-
I almost did that last night, because I suspected the differences to occur before the the song was prepared for streaming. That lead me to a closer look at the NOTIFY and M-SEARCH frames.
Anyway it didn't bring me any hints so I went back to my situation with MC16.0.72. I have saved a Wireshark trace from before you helped me with all sorts of modifications to MC16. I then had some learning of how the Intel Developer Tool for UPnP - Device Spy was working.
I managed to copy the <CurrentURIMetaData> block from a MC15.0.172 trace into a SetAVTransportURI function in Device Spy and triggered a Play function and the Onkyo played the song.
Then I copied the <CurrentURIMetaData> from the MC16.0.72 trace and tried again - no luck.
To prove my point I used Device Spy to make MC15 play the song with both <CurrentURIMetaData> blocks.
All the '< >' in the MC16.0.72 <CurrentURIMetaData> block annoyed me, so I changed them to '< >' and tried with that as <CurrentURIMetaData> and it played ! On the TV monitor it displayed all attributes including a small folder.jpg image.
I am not clear of what I should do with this knowledge, "is the Onkyo run out of <CurrentURIMetaData> buffer space?", "is the Onkyo DLNA implementation full of limitations and errors?", "can I persuade you guys to make a special option in MC?".
Thankyou for your patience so far. Can you see a way out of this ? Are there similar problems in other DLNA renders ?
ps. the currentmetadata without < and > plays fine with the latest build you sent me.
-
Great details.
I wonder if breaking the escapement simply made it not parse the CurrentURIMetaData? Could you test changing:
<CurrentURIMetaData>
to
<CurrentURIMetaData1>
My guess is that will also work.
If so, the Onkyo doesn't like something in the meta data block.
Thanks for all your help.
-
No, no - the point is that the modified CurrentURIMetaData does what it is supposed to do, both in the Onkyo, the MC15 and MC16 !
The content of CurrentURIMetaData has been working in the Onkyo ever since MC14 and has been working even better when you made modifications in the MC15 period.
ex. I put my MC16 in theater mode in 'playing now' and sends the modified CurrentURIMetaData with Device Spy, then MC16 starts playing and showing me folder.jpg, artist, album and title of the song including pictures from the web in the background.
ex. I turn on my Onkyo in 'net' mode and ready the TV in monitor mode, it shows a very basic display of what is playing, send the modified CurrentURIMetaData and the song starts playing and info is showing on the TV as I was used to see.
I would like an 'Advanced Option' to modify CurrentURIMetaData for me, substituting "<" with "<" and ">" with ">"
Can we test ? Is it possible ? Do you want to do such things?
-
No, no - the point is that the modified CurrentURIMetaData does what it is supposed to do, both in the Onkyo, the MC15 and MC16 !
The content of CurrentURIMetaData has been working in the Onkyo ever since MC14 and has been working even better when you made modifications in the MC15 period.
ex. I put my MC16 in theater mode in 'playing now' and sends the modified CurrentURIMetaData with Device Spy, then MC16 starts playing and showing me folder.jpg, artist, album and title of the song including pictures from the web in the background.
ex. I turn on my Onkyo in 'net' mode and ready the TV in monitor mode, it shows a very basic display of what is playing, send the modified CurrentURIMetaData and the song starts playing and info is showing on the TV as I was used to see.
I would like an 'Advanced Option' to modify CurrentURIMetaData for me, substituting "<" with "<" and ">" with ">"
Can we test ? Is it possible ? Do you want to do such things?
I took a look at this today and the formatting of the xml (with <, >) looks the same in 15 and 16 in the wireshark dumps. There is somewhat more info in 16. I put another build up for you to test when you get a chance... Thanks...
-
Doesn't work. It gives the same errors in wireshark trace as before.
For the sport of it I tried the same procedure as described earlier and I couldn't get your CurrentURIMetadata to play with device spy. Nor would my modification of it.
MC doesn't show op in device spy anymore. If I lookup http://192.168.20.124:52100/DeviceDescription.xml in a browser, I get an xml error. (Got it in danish so I have translated)
XMLerror: prefix - no namespace
http://192.168.20.124:52100/DeviceDescription.xml
Line 20, col 1:
<av:StandardCDS>5.0</av:StandardCDS>
^
Then, I guess, the Onkyo doesn't know who it is talking with and that is the main reason for things not working this time ??
-
Doesn't work. It gives the same errors in wireshark trace as before.
For the sport of it I tried the same procedure as described earlier and I couldn't get your CurrentURIMetadata to play with device spy. Nor would my modification of it.
MC doesn't show op in device spy anymore. If I lookup http://192.168.20.124:52100/DeviceDescription.xml in a browser, I get an xml error. (Got it in danish so I have translated)
XMLerror: prefix - no namespace
http://192.168.20.124:52100/DeviceDescription.xml
Line 20, col 1:
<av:StandardCDS>5.0</av:StandardCDS>
^
Then, I guess, the Onkyo doesn't know who it is talking with and that is the main reason for things not working this time ??
I probably messed it up, the xml is normally fine. I'll get you another tomorrow...
Thanks,
Bob
-
No.
Did a fresh wireshark comparison. I am making a wild guess now - please have patience with me.
I compared tcp.stream by tcp.stream. The first question is when the Onkyo sends a #GetSearchCapabilities
MC15 returns <SearchCaps>upnp:class,upnp:artist,@refID</SearchCaps>
MC16 returns <SearchCaps>dc:title,dc:creator,upnp:artist,upnp:genre,upnp:album,dc:date,upnp:originalTrackNumber,upnp:class</SearchCaps>
The next question is when MC sends its first #GetVolume and get its answer from Onkyo then
MC15 asks GET /scpd/AVTransport_1 HTTP/1.1
and MC16 asks GET /scpd/RenderingControl_1 HTTP/1.1 and thereafter as MC15
Later on when MC says #Play, MC15 plays and MC16 fails with dlnaerrorcode 716 - resource not found as it have done so far every time.
Does that make sense ? Is SearchCaps invalid ? Is get /scpd/rendercontrol out of sequence ?
-
No.
Did a fresh wireshark comparison. I am making a wild guess now - please have patience with me.
I compared tcp.stream by tcp.stream. The first question is when the Onkyo sends a #GetSearchCapabilities
MC15 returns <SearchCaps>upnp:class,upnp:artist,@refID</SearchCaps>
MC16 returns <SearchCaps>dc:title,dc:creator,upnp:artist,upnp:genre,upnp:album,dc:date,upnp:originalTrackNumber,upnp:class</SearchCaps>
I see when the searchcaps changed (January). I don't think that should matter but I'm checking into it.
EDIT: the searchcaps changed on January 6th but the version of MC 16 from January 27th works, correct? (16.0.19). So it looks like that can't be it.
The next question is when MC sends its first #GetVolume and get its answer from Onkyo then
MC15 asks GET /scpd/AVTransport_1 HTTP/1.1
and MC16 asks GET /scpd/RenderingControl_1 HTTP/1.1 and thereafter as MC15
Later on when MC says #Play, MC15 plays and MC16 fails with dlnaerrorcode 716 - resource not found as it have done so far every time.
Does that make sense ? Is SearchCaps invalid ? Is get /scpd/rendercontrol out of sequence ?
Could you send me 2 traces, one with 15 and another with 16 starting from a cold powerup of the Onkyo with only the minimum necessary steps pushing a native mp3 (not flac or transcoded) file to the Onkyo? Perhaps I'll see something in there as well. Thanks!
-
The latest test build can play mp3's and flac's.
I hope what you did is a lasting solution and in compliance with what you want the dlna functionality to be in MC.
Do you have a short explanation to what made the difference ?
-
The latest test build can play mp3's and flac's.
I hope what you did is a lasting solution and in compliance with what you want the dlna functionality to be in MC.
Do you have a short explanation to what made the difference ?
Yeah, everything is back in place the way it was EXCEPT for the partial content. Your device seems to require it. I can't see why since it doesn't seem to be correct (apache for example with the same request returns 200). We had to make that change to fix webkit based stuff (chrome, safari). I tracked down the current owner of the Onkyo firmware, Macrovision bought it. It doesn't seem that they are doing much with it. Sigh.
-
Wow! I totally missed this thread. My 5007 ws the same. It used to play via DLNA when I first got it, but then mysteriously stopped working. I just figured I screwed something up, and since the 5007 is connected to an HTPC running MC anyway, it didn't seem important. The first I heard that others had this issue was from the latest beta build thread.
Well done, guys. I'll try it soon!
-
Separate problem I believe, but I also am not able to play music on my Onkyo receiver (at least not the way I want to):
I have the Onkyo HT-180.
Whenever I try to play a song to my Onkyo, it says for me to check my settings, make sure my DLNA device can be controlled, etc.
Can you give me a run down of all the settings which are relevant to making it work? Is there some specific menu I have to be on in the Onkyo for it to "listen" to MC16 commands?
Thanks,
Steve
PS -- I see "Onkyo Receiver" in my list of zones and I also see my library on my receiver if I navigate to that point in the receiver's menus. However, I have not been able to sit in front of Media Center and been able to play music to different zones.
(I did crosspost this)
-
Separate problem I believe, but I also am not able to play music on my Onkyo receiver (at least not the way I want to):
I have the Onkyo HT-180.
Whenever I try to play a song to my Onkyo, it says for me to check my settings, make sure my DLNA device can be controlled, etc.
Can you give me a run down of all the settings which are relevant to making it work? Is there some specific menu I have to be on in the Onkyo for it to "listen" to MC16 commands?
Thanks,
Steve
PS -- I see "Onkyo Receiver" in my list of zones and I also see my library on my receiver if I navigate to that point in the receiver's menus. However, I have not been able to sit in front of Media Center and been able to play music to different zones.
(I did crosspost this)
Build 16.0.86 or newer.
Generic DLNA profile. If you have upgraded from an older version you might want to delete and re-add it. (you could try turning DLNAExtra on, I'm not sure if the others were using it).
Make sure DLNA server and DLNA controller check-boxes are checked.
I don't know anything specific to the Onkyo that needs to be set, perhaps someone else with one will chime in if that's the case.
-
Bob thanks so much for all the hard work
I am now able to play, again, all my music collection using my Onkyo 180 receiver and MC 16
I also love the new look for Gizmo, it works great as usual
-
Bob thanks so much for all the hard work
I am now able to play, again, all my music collection using my Onkyo 180 receiver and MC 16
I also love the new look for Gizmo, it works great as usual
Thanks :)
Your message is also a nice verification for SteveKlein that it should work for him too since you have the same model...
-
And a lot of thanks from me too.
It has been very inspiring to work with Bob allthough most of my suggestions didn't have much sense in them ;). Bob had a lot of patience with me and luckily found what had changed a long time ago in MC16.
@Giamma: Would it be an idea to modify the title and have the word SOLVED in it ?
-
Is anyone getting flac files to play? My Onkyo sees them, but doesn't play them. :(
-
With MC16.0.86 and newer it plays flac like a dream.
Your dlna setting should just be 'Never convert' and 'uncompressed - L16 - No header' then you should start enjoying the best ever sound quality from your Onkyo.
(remember to Secure rip your music to avoid your cd/dvd drive to play tricks on you).
-
With MC16.0.86 and newer it plays flac like a dream.
Your dlna setting should just be 'Never convert' and 'uncompressed - L16 - No header' then you should start enjoying the best ever sound quality from your Onkyo.
(remember to Secure rip your music to avoid your cd/dvd drive to play tricks on you).
Thank you! I'll try all this soon.