DLNA Experience

Beta Testing for Windows Products and plugins

Moderator: Gurus

Ludek
Posts: 5101
Joined: Fri Mar 09, 2007 9:00 am

Re: DLNA Experience

Post by Ludek »

A User wrote:Hello guys,

I tried to access MediaMonkey's DLNA server with my Sony Ericson Hazel today - no luck. After a long time searching it finally finds MediaMonkey Server but when trying to connect a "Unknown error" message appears. Don't know how to debug this stuff. The phone does not appear in MM4s connection history (Settings->media sharing->MediaMonkey Server->UPnP/DLNA server). So I guess there is something basically wrong. I use MM4 with default DLNA settings on a Windows 7 x64. No changes made.

Windows MediaPlayer's DLNA-Server can be accessed by the Sony Ericson Hazel without any problem.
Please try with this UPnP.dll: http://happymonkeying.com/beta/Sony/UPnP.dll
(just replace current UPnP.dll in your install folder by the new one)
debar
Posts: 12
Joined: Mon Jan 31, 2011 4:34 pm

Sort Order

Post by debar »

Is there a way to specify in which order tracks appear on the client? When browsing on my PS3, my albums do not appear in order by track number nor filename. They seem to be in some random order (although it is a consistent order, as another player, my Synology Audio Station, lists them in the same order as the PS3). Is this something I have to set in my collection? Or something in the UPNP Server Options page that I missed?
BassetBoy

DLNA failure with large library

Post by BassetBoy »

I'm having real problems in 1345 with DLNA communication to my Samsung UN55C8000 TV. I think I have it narrowed down. There are 101,863 tracks in my library. I have asked from the TV to display the available tracks playlist. Time passes and the TV says there was an error. Not too helpful. A wireshark log of the Ethernet packets shows the server was unhappy and closed the connection.

In packet 52353 the TV requests of the server
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList"\r\n
in packet 52356 MM responds with
HTTP/1.0 500 Internal Server Error\r\n
Server: Windows NT/5.0 UPnP/1.0, DLNADOC/1.50 Platinum/0.6.4.0\r\n
Ext: \r\n
Connection: close\r\n

A debug log shows that the UPnP thread was also unhappy

Code: Select all

00000643	173.10262510	[30944] UPnP Server: Directory to browse: \PLS\Accessible Tracks, Start: 0, Count: 1 	
00000644	173.10576857	[30944] 32244 DB exec SQL: INSERT INTO MediaConnections ( IDServer, IP, MAC, UserAgent, MediaFile, Date, Denied) VALUES ( 1, '192.168.2.209', 'E4-7C-F9-A3-88-E9', 'DLNADOC/1.50', '\PLS\Accessible Tracks', 40574.729756030, 0) 	
00000645	173.10580652	[30944] 32244 DB lock successful.	
00000646	173.13967720	[30944] 32244 DB lock finished, took 114614060.	
00000647	173.13977238	[30944] 32244 DB open SQL: SELECT Playlists.*, (SELECT Count(*) FROM Playlists as Plst2 WHERE Plst2.ParentPlaylist=Playlists.IDPlaylist) AS cnt FROM Playlists WHERE Playlists.ParentPlaylist=0 ORDER BY Playlists.PlaylistName 	
00000648	173.14078197	[30944] 32244 DB lock finished, took 3266584.	
00000649	173.14130684	[30944] 32244 DB open SQL: SELECT Playlists.*, (SELECT Count(*) FROM Playlists as Plst2 WHERE Plst2.ParentPlaylist=Playlists.IDPlaylist) AS cnt FROM Playlists WHERE Playlists.ParentPlaylist=3 ORDER BY Playlists.PlaylistName 	
00000650	173.14166337	[30944] 32244 DB lock finished, took 1063529.	
00000651	173.14173267	[30944] 32244 DB open SQL:  Select Playlists.* from Playlists WHERE IDPlaylist=3  	
00000652	173.14197013	[30944] 32244 DB lock finished, took 671033.	
00000653	173.14215149	[30944] 32244 DB open SQL: SELECT Songs.* 	
00000654	173.14215149	[30944]  FROM Songs  	
00000655	173.18094306	[30944] 32244 DB lock finished, took 131307244.	
00000656	188.82674751	[30944] Thread has started 27728	
00000657	188.82679713	[30944] Thread registered, going to initialize 27728	
00000658	188.82683594	[30944] Thread initialized 27728	
00000659	189.05103673	[30944] CDPlayer.ini location: C:\WINDOWS\CDPlayer.ini	
00000660	189.05301165	[30944] Going to make final callback 27728	
00000661	189.05309519	[30944] Thread has finished 27728	
00000662	218.82514057	[30944] Thread has started 29516	
00000663	218.82519006	[30944] Thread registered, going to initialize 29516	
00000664	218.82522793	[30944] Thread initialized 29516	
00000665	219.06932886	[30944] CDPlayer.ini location: C:\WINDOWS\CDPlayer.ini	
00000666	219.07064503	[30944] Going to make final callback 29516	
00000667	219.07070051	[30944] Thread has finished 29516	
00000668	248.82746169	[30944] Thread has started 31588	
00000669	248.82751063	[30944] Thread registered, going to initialize 31588	
00000670	248.82754860	[30944] Thread initialized 31588	
00000671	249.05570020	[30944] CDPlayer.ini location: C:\WINDOWS\CDPlayer.ini	
00000672	249.05701902	[30944] Going to make final callback 31588	
00000673	249.05707667	[30944] Thread has finished 31588	
00000674	270.93688796	[30944] 32244 DB prepare SQL: SELECT NULL FROM Covers WHERE Covers.IDSong = ?	
00000675	270.93703179	[30944] 32244 DB query prepare finished, took 339856.	
00000676	270.93707268	[30944] 32244 DB open SQL: SELECT NULL FROM Covers WHERE Covers.IDSong = ? 	
00000677	270.97884110	[30944] 32244 DB lock finished, took 141421649.	
00000678	271.03231023	[30944] UPnP: !!! EXCEPTION WHILE BROWSING MEDIA SERVER: Out of memory	
I'm kinda new here. How do I get this issue looked into?

thanks
Lowlander
Posts: 58741
Joined: Sat Sep 06, 2003 5:53 pm

Re: DLNA Experience

Post by Lowlander »

1346 is working with Sony KDL-xxEX700. Thank you so much. Now on the fly conversion from MP4 to MPEG-II and I'll be very happy.
A User

Re: DLNA Experience

Post by A User »

Ludek wrote:Please try with this UPnP.dll: http://happymonkeying.com/beta/Sony/UPnP.dll
(just replace current UPnP.dll in your install folder by the new one)
Installed 1346 and your UPnP.dll some minutes ago. Now the Sony Ericson Hazel finds MM4 in less than a second and browsing and playing music works like a charm. Video-Streaming I didn't test, right now.

Thanks a lot.
Ludek
Posts: 5101
Joined: Fri Mar 09, 2007 9:00 am

Re: DLNA failure with large library

Post by Ludek »

BassetBoy wrote:I'm having real problems in 1345 with DLNA communication to my Samsung UN55C8000 TV. I think I have it narrowed down.
I'm kinda new here. How do I get this issue looked into?
thanks
Thank you for the info, it was very helpful, the Samsung issue is tracked here: http://www.ventismedia.com/mantis/view.php?id=7261

Please replace your current UPnP.dll (located in MM install folder) by this one http://happymonkeying.com/beta/UPnP.dll and give a try.
If it still doesn't work then generate debug log, please.
BassetBoy-

Re: DLNA failure with large library

Post by BassetBoy- »

Ludek wrote:
BassetBoy wrote:I'm having real problems in 1345 with DLNA communication to my Samsung UN55C8000 TV. I think I have it narrowed down.
I'm kinda new here. How do I get this issue looked into?
thanks
Thank you for the info, it was very helpful, the Samsung issue is tracked here: http://www.ventismedia.com/mantis/view.php?id=7261

Please replace your current UPnP.dll (located in MM install folder) by this one http://happymonkeying.com/beta/UPnP.dll and give a try.
If it still doesn't work then generate debug log, please.
Switched to version 1346. New WireShark log and debug log attached to ticket QFT-216047
Ludek
Posts: 5101
Joined: Fri Mar 09, 2007 9:00 am

Re: DLNA failure with large library

Post by Ludek »

BassetBoy- wrote:
Ludek wrote:
BassetBoy wrote:I'm having real problems in 1345 with DLNA communication to my Samsung UN55C8000 TV. I think I have it narrowed down.
I'm kinda new here. How do I get this issue looked into?
thanks
Thank you for the info, it was very helpful, the Samsung issue is tracked here: http://www.ventismedia.com/mantis/view.php?id=7261

Please replace your current UPnP.dll (located in MM install folder) by this one http://happymonkeying.com/beta/UPnP.dll and give a try.
If it still doesn't work then generate debug log, please.
Switched to version 1346. New WireShark log and debug log attached to ticket QFT-216047
Thanks! I re-compiled the DLL, it should work with this: http://happymonkeying.com/beta/UPnP.dll
Lowlander
Posts: 58741
Joined: Sat Sep 06, 2003 5:53 pm

Re: DLNA Experience

Post by Lowlander »

Ludek wrote:I re-compiled the DLL, it should work with this
For me it didn't work with the Samsung UN-**c5000.
Ludek
Posts: 5101
Joined: Fri Mar 09, 2007 9:00 am

Re: DLNA Experience

Post by Ludek »

Lowlander wrote:
Ludek wrote:I re-compiled the DLL, it should work with this
For me it didn't work with the Samsung UN-**c5000.
Martin, from the log you emailed me I see you haven't use the re-compiled DLL, but the one from 1346?
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: DLNA Experience

Post by Teknojnky »

can anyone recommend a good, free, non-crippled ANDROID client that works with MM UPNP ? even better if it works over 3g/4g
phosphor
Posts: 25
Joined: Mon Jan 14, 2008 1:05 pm

Re: DLNA failure with large library

Post by phosphor »

Ludek wrote: Thanks! I re-compiled the DLL, it should work with this: http://happymonkeying.com/beta/UPnP.dll
New dll works for me on my Samsung LCD TV - LN46C650 and my Samsung Blu Ray - BD-C5500

Question, no more lifetime licenses I guess ?

If I'm running the beta in addition to my licensed copy ( different computers ), do I need a second license?

Is it possible to buy a license for 4 yet then?
scott967
Posts: 72
Joined: Fri Feb 18, 2011 12:01 am

Re: DLNA Experience

Post by scott967 »

Checking out DLNA in MM4. I have MM4 1349 installed alongside MM3 on Win7 x64. My media library is on local HD. Network environment is Win 7 x64 running WMP12 / 7MC and Denon 3311ci AVR.

I installed MM4/1349 and set up the DLNA server. I can see the WMP12 server on the other PC and can search library there and play media. However, the MM4 server is a problem. I can see the MM4 server on both the other PC WMP12 and the Denon 3311ci. WMP12 on the PC shows the MM4 server but when I try to access the library I get "no files found". On the Denon 3311ci it just says "not authorized". Looking at the options window for the MM4 server I have access control "share automatically" checked, there is a listing for the Win 7 /WMP12 machine but nothing for the Denon. On the Upnp/DLNA server tab the Win 7 PC is also there and requested file is "root directory".

Unfortunately I'm a noob on DLNA so not sure how to t/s this issue.

scott s.
.
rodie83

Re: DLNA Experience

Post by rodie83 »

The newest last.fm plugin should work with tracks played trough the UPNP/DLNA server. While playing works fine, the tracks are anot scrobbled to last.fm. I tried two tracks, both way longer than 30 seconds, but both are not scrobbled. This is the log:

Code: Select all

4-3-2011 19:01:58.239: MediaMonkey v4.0.0
4-3-2011 19:01:58.241: Loading Last.fm Scrobbler
4-3-2011 19:01:58.243: ----------------------------------------
4-3-2011 19:01:58.245: Last.fm Scrobbler v1.0.2.24
4-3-2011 19:01:58.246: ----------------------------------------
4-3-2011 19:01:58.249: Last.FM: Player got Command wParam (1)
4-3-2011 19:01:58.251: Last.FM: Player got Command wParam (1)
4-3-2011 19:06:52.972: Last.FM: Player got Command wParam (1001)
4-3-2011 19:06:52.986: Last.FM: Submit Started at 0
4-3-2011 19:06:52.997: Last.FM: Handshake Session Started
4-3-2011 19:06:53.085: Last.FM: Handshake OK
4-3-2011 19:06:53.101: Last.FM: Handshake Session ID is 0bd71d1c46004b1faa89b632458fa682
4-3-2011 19:06:53.115: Last.FM: Handshake NowPlaying URL is http://post.audioscrobbler.com:80/np_1.2
4-3-2011 19:06:53.129: Last.FM: Handshake Submission URL is http://post2.audioscrobbler.com:80/protocol_1.2
4-3-2011 19:06:53.153: Last.FM: Submit Skipping Track Track length under 30
4-3-2011 19:11:17.438: Last.FM: Player got Command wParam (1001)
4-3-2011 19:11:17.452: Last.FM: Submit Started at 0
4-3-2011 19:11:17.462: Last.FM: Session ID 0bd71d1c46004b1faa89b632458fa682
4-3-2011 19:11:17.476: Last.FM: Submit Skipping Track Track length under 30
Media Monkey 1351 / Last.fm 1.0.2.24. Playing the tracks from the server with a PS3.
scott967
Posts: 72
Joined: Fri Feb 18, 2011 12:01 am

Re: DLNA Experience

Post by scott967 »

scott967 wrote:Checking out DLNA in MM4. I have MM4 1349 installed alongside MM3 on Win7 x64. My media library is on local HD. Network environment is Win 7 x64 running WMP12 / 7MC and Denon 3311ci AVR.

I installed MM4/1349 and set up the DLNA server. I can see the WMP12 server on the other PC and can search library there and play media. However, the MM4 server is a problem. I can see the MM4 server on both the other PC WMP12 and the Denon 3311ci. WMP12 on the PC shows the MM4 server but when I try to access the library I get "no files found". On the Denon 3311ci it just says "not authorized". Looking at the options window for the MM4 server I have access control "share automatically" checked, there is a listing for the Win 7 /WMP12 machine but nothing for the Denon. On the Upnp/DLNA server tab the Win 7 PC is also there and requested file is "root directory".
Update: i installed 1351 and had same results (Denon showed MM4 server as "not authorized"). I was trying different things, and finally on the UPnP Servers node right clicked and saw options in the popup context menu so selected that and went to "Manage collections & Nodes" which opened up the options window with Library -> Media Tree selected. So I checked the "Entire Library" checkbox which was unchecked (not sure, but I think when I first installed 1349 I had unchecked some things as the DENON only handles audio and pictures not video so I thought it made sense to limit it?). Anyway, once I checked that entire library box the Denon was able to connect and show my MM4 library so it's working. FWIW in the "access control" window it is showing the DENON as "KnOS/3.2bridgeCo-DMP/3.0 DLNADOC/1.50 INTEL_NMPR/2.0".

scott s.
.
Post Reply