INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: MC as DLNA controller  (Read 8277 times)

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
MC as DLNA controller
« on: February 19, 2011, 08:09:58 am »

A few releases ago MC didn't even show up my DLNA Renderers ... but now this seems to be stable ...
Anyhow one problem remains: When I drag-drop a file to my Renderer (which is a Sony TV) it always plays the same file - which is the one I played and selected last directly with the TV.

Anything I/you can do about?

thx
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: MC as DLNA controller
« Reply #1 on: February 19, 2011, 08:53:50 am »

A few releases ago MC didn't even show up my DLNA Renderers ... but now this seems to be stable ...
Anyhow one problem remains: When I drag-drop a file to my Renderer (which is a Sony TV) it always plays the same file - which is the one I played and selected last directly with the TV.

Anything I/you can do about?

thx

Please try the latest beta.  Some changes were made for video conversion.  It might help.
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #2 on: February 19, 2011, 09:07:50 am »

Tried now - no success - always plays the same file ...
By the way: forgot to say I'am trying with Audio.

Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #3 on: February 21, 2011, 01:25:45 pm »

What type of file are you drag/dropping? Is it stored locally or on a library server or NAS?
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #4 on: February 21, 2011, 01:29:13 pm »

Its an Audio file, mp3, stored on a samba network share.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #5 on: February 21, 2011, 01:48:00 pm »

Thanks for the info...
Now about the file that played when you accessed it from the Sony TV. Did you access that through MC or did you access the NAS directly (with SMB or DLNA)??
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #6 on: February 21, 2011, 01:51:52 pm »

MC runs as DLNA server - that's the way I access the file.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #7 on: February 21, 2011, 03:23:10 pm »

Very interesting...

I'd be nice if you could get a wireshark capture of this happening since we don't have a Sony TV here.
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #8 on: February 22, 2011, 01:02:15 pm »

you should have received e-mail from me ...

thx
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #9 on: February 22, 2011, 02:54:50 pm »

you should have received e-mail from me ...

thx

Got it, thanks!
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #10 on: February 28, 2011, 04:59:13 pm »

you should have received e-mail from me ...

thx

I see what is going on. The file is being presented to the TV but the TV is rejecting it.
From what I can dig out online the Sony is claiming it's a mimetype error (this may not actually be the problem but it's a good hint).
Now the content directory is showing the file as being L16 LPCM not mp3:
Vier Gewinnt
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_CI=0" duration="0:03:52" size="41052514">http://192.168.100.93:52101/Music/F137690.0.wav

If the original is mp3 then it's being transcoded by MC. You might want to try turning off conversion in the DLNA server audio conversion options.
I think the reason it plays the previous song is that was the last successful set transport uri command and the TV probably just does that after we set the uri (and assume it worked).
The thing is, while it should work with the mp3 without conversion (let me know if this works if you can test it), it really should have worked with the conversion as well. I might have something for you to test that way in a day or two.

Thanks,
Bob
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #11 on: February 28, 2011, 05:18:29 pm »

I've changed to "never convert" and played an mp3 file with the TV.
Then I draged-droped another file onto the TV - it still plays the old file ... but this time MC thinks it plays the new one.

thx
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #12 on: March 01, 2011, 08:48:25 am »

I've changed to "never convert" and played an mp3 file with the TV.
Then I draged-droped another file onto the TV - it still plays the old file ... but this time MC thinks it plays the new one.

thx

I hate to ask, but would you mind doing a capture of that scenario as well?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #13 on: March 01, 2011, 09:42:14 am »

The closest thing I have here for testing is a Sony BD-S570. It seems to REQUIRE the DLNAExtra setting in advanced. Can you make sure the first server (or only server, if you only have one) in your DLNA server list has that set in advanced options? Both the Sony and Samsung BD/TV templates for creating a DLNA server should set that flag. Thanks...
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #14 on: March 01, 2011, 01:48:05 pm »

Ok I'll check DLNAExtra (but I think it's already enabled) and provide another wireshark snapshot ... but might take a few days till I have time.

thx
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #15 on: March 03, 2011, 11:05:56 am »

I've checked - DLNA extra is always on.
Did send you the wireshark snapshot you requested by e-mail.

thx
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #16 on: March 03, 2011, 03:01:09 pm »

Got it, haven't checked it yet. Will asap...
Thanks...
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #17 on: March 08, 2011, 12:06:38 pm »

Thanks for that dump...

There might be a problem with that device accepting cover art as a resource. I'll make you a test build to check this hypothesis...

Bob
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #18 on: March 08, 2011, 01:10:51 pm »

... but ... cover art is working fine!
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #19 on: March 08, 2011, 04:14:25 pm »

... but ... cover art is working fine!
It's presented in a couple of different ways...
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #20 on: March 18, 2011, 04:33:48 pm »

any news? was the wireshark snapshot ok?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #21 on: March 22, 2011, 10:00:10 am »

Sorry, not yet. The queue is getting real deep. If you don't mind, bump this topic periodically.
Logged

pbair

  • Recent member
  • *
  • Posts: 33
Re: MC as DLNA controller
« Reply #22 on: March 25, 2011, 11:02:16 am »

I'm having the same issues controlling my Sony Bravia KDL-52EX700 from MC16 to play music files.  No matter what song I play in MC...the TV always plays the last song I played via the TV's direct access to my media server.

Any progress with a solution for this?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #23 on: March 28, 2011, 05:02:58 pm »


Hi tombert,
I got a change to check the last dump. The renderer is returning an obscure error saying the the resource we presented it with isn't available.
There are only 2 resources in the SetAvTransport didl. One is:
http://192.168.100.93:52100/Music/F765.0.mp3
and the other is:
http://192.168.100.93:52100/AArt/765.jpg
Can you make sure both of these open in a browser?

Thanks...
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #24 on: March 29, 2011, 01:40:53 pm »

Well I had to try with another file ... but yes - I can access both image and music. I tried with:
http://192.168.100.93:52100/AArt/714128.jpg
http://192.168.100.93:52100/Music/F714128.0.mp3

The image showed my thumb and the mp3 played nice.

tom
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #25 on: March 29, 2011, 04:31:51 pm »

Well I had to try with another file ... but yes - I can access both image and music. I tried with:
http://192.168.100.93:52100/AArt/714128.jpg
http://192.168.100.93:52100/Music/F714128.0.mp3

The image showed my thumb and the mp3 played nice.

tom

Ok, thanks for trying it.
Can you turn off DLNA (and DLNAExtra) in the advanced options so it's just using upnp commands and see if anything changes??

Thanks,
Bob
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #26 on: March 31, 2011, 12:02:37 pm »

I turned both options off independently but no change ...  :(
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #27 on: April 04, 2011, 11:34:14 am »

I turned both options off independently but no change ...  :(
Tom, what model is your TV? We are thinking of getting one to test with.

Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #28 on: April 04, 2011, 11:57:00 am »

KDL-40EX500
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #29 on: April 04, 2011, 12:52:23 pm »

KDL-40EX500

It's really hard to tell what they are up to. There seem to be some TV's that are marked as DMR (renderers) and others that aren't and according to what I can find online, the US versions of some models don't support DMR where the European ones do.

I'm looking at http://support.sony-europe.com/tutorials/tvhc/dlna/dlna.aspx?site=odw_en_GB&m=KDL-40EX500
which doesn't claim DMR functionality like this one does:
http://support.sony-europe.com/tutorials/tvhc/dlna/dlna.aspx?site=odw_en_GB&m=KDL-52W5800 (if you look under "enjoy photo/music files over the network").

However, punch the model number in here:
http://www.dlna.org/products

and you'll see it's DMR certified. Sigh.

Anyway, thanks for the model, we'll see if we can dig up a close relative.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #30 on: April 15, 2011, 03:39:52 pm »

So we picked up a KDL-40EX600 because DLNA.ORG says it's a DMR but there is no ethernet or wireless on it that I can find!
There seems to be some indication on the interwebs that it uses a usb network adapter but whatever I plug in comes up as an unsupported device.

Anyone have any tips on networking these or should we take it back??
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #31 on: April 16, 2011, 12:56:52 am »

 ? ... mine has a LAN plug ...
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #32 on: April 19, 2011, 01:47:11 pm »

? ... mine has a LAN plug ...
It's a bit weird, none of the KDL-40EX anythings have networking in the US. It looks like you can buy a Sony dongle to use with the usb port but it doesn't claim DLNA support anywhere.

Anyway we took it back and got a KDL-46NX810 that duplicates your problem so I've finally got something to test with...
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #33 on: April 19, 2011, 02:42:55 pm »

Interesting. It should work with at least mp3 and lpcm but it doesn't, it should also work with mpeg2 video but no luck. It does work with pictures though, hmmm.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #34 on: April 25, 2011, 05:28:38 pm »

Working in Build 16.0.75 and above.
The TV required extra info in the HEAD request.
Tested with mp3 and L16.
Also works with mpeg2/ac3 videos and ifos (unconverted) and all others converted to DVD/MPEG2 with the Video MimeType hack (in advanced, mimetype set to video/mpeg and DLNAType set to MPEG_PS_NTSC (the defaults))
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #35 on: April 26, 2011, 10:04:20 am »

Hi,

does it mean that I can safely buy MC16? The problem is fixed?

thx
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #36 on: April 26, 2011, 10:59:11 am »

Hi,

does it mean that I can safely buy MC16? The problem is fixed?

thx
It works perfectly for me with Music now (it has native support for MP3 and L16). The cover-art looks great on the TV :)
it worked fine before with Images and still does.
The TV is somewhat limited playing video. It appears to only support mpeg2 video (as required by the DLNA standard).
The DVD rips in MC work fine as well as mpeg2 with ac3 sound.
I think other video will need to be transcoded. The DVD mpeg2 preset in MC works well with the mpeg override settings I mentioned.
According to it's DLNA certificate, when pushing to the TV, you can't seek. You can pause/resume however and that is what I see here.

http://certification.dlna.org/certs/REG13086555.pdf

Thanks a lot for your help with this :)
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #37 on: May 04, 2011, 01:45:17 pm »

Unfort. MC16 fails in my .wine installation - simply hangs up ... currently I'am trying to re-install ... hope to get it running again ...
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #38 on: May 16, 2011, 03:30:39 pm »

Fine - works again! I can controll my TV now ... still doing some testing ... but so far so good ...
thx for your support!
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #39 on: May 17, 2011, 08:40:23 am »

Hi again, unfort. it stops playing after some time. When I click to play the whole album the first song plays through ... then the next file starts, plays about 10~20 seconds and then stops.
thx
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #40 on: May 17, 2011, 08:47:39 am »

I disabled audio conversion and played an mp3: it stopped after the first file finished. The TV simply went back to the analog input (Receiver), no error messages in MC.
thx
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #41 on: May 17, 2011, 12:12:57 pm »

I disabled audio conversion and played an mp3: it stopped after the first file finished. The TV simply went back to the analog input (Receiver), no error messages in MC.
thx

You don't have it set to "stop after each file" in the repeat settings for the zone do you?
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #42 on: May 17, 2011, 12:46:21 pm »

When I first click on the Bravia Zone I can see it's set to "Repeat playing now".
When I click the second time the zone immediately disappers, then after a few seconds it appears ... and so on ...
thx
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #43 on: May 17, 2011, 01:43:34 pm »

Another observation: I started playing on my Bravia via WebRemote, the playing stopped after the first file. Opened MC to see that it's caught in an infinite loop still playing the first file from 0 to 5 seconds.

thx
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #44 on: May 17, 2011, 02:30:30 pm »

Another observation: I started playing on my Bravia via WebRemote, the playing stopped after the first file. Opened MC to see that it's caught in an infinite loop still playing the first file from 0 to 5 seconds.

thx

The 0-5 seconds thing is essentially the timeout for MC waiting for commands to complete. It's likely doing GetPosition calls and not getting a response.
I assume you are using a current version?
Let me try it again with our Bravia to make sure something hasn't gotten messed up.
If the TV gets confused you may have to power cycle it for it to work properly again. This seems to be a common problem with DLNA devices.

Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #45 on: May 17, 2011, 02:39:49 pm »

Yes - power cycling the whole system helps ... but after each file  :) ...
thx for your help.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #46 on: May 17, 2011, 05:16:49 pm »

Yes - power cycling the whole system helps ... but after each file  :) ...
thx for your help.
I just tried duplicating your scenario with 10 short mp3 files. Tried it set to convert always and not convert. Worked fine both ways. Is your MC both the controller and server?
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #47 on: May 18, 2011, 12:29:23 am »

yes it is both server and controller.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870
Re: MC as DLNA controller
« Reply #48 on: May 19, 2011, 09:52:07 am »

yes it is both server and controller.
Did this happen recently (perhaps with a specific version)? Wasn't it working properly for you a week or so ago?
Logged

tombert

  • Galactic Citizen
  • ****
  • Posts: 449
Re: MC as DLNA controller
« Reply #49 on: May 19, 2011, 01:50:54 pm »

I only recently started testing, the thing that the TV disappears from MC I remember already happened in MC15 but I didn't bother since I wasn't using MC as a controller.
I'am going to try older version soon and let you know.
thx
Logged
Pages: [1] 2   Go Up