Author Topic: UPnP/ DLNA device support  (Read 304884 times)

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34346

hiccup

  • Sr. Member
  • ****
  • Posts: 7859
enable logging and then check the error log

I'll keep a rain check on that offer.
I think you and me both won't have enough fun going that road again at this moment.

DeMeul

  • Guest
Hi Steven,

The problems using my ACRyan (PlayinHD) as the output device still occur.
I have installed the every latest versions of MusicBee and mb_Upnp.dll over the last couple of month without any positive result.
The two computers that I use for testing are running Windows 10 Pro, 64 bit.
On these machines FooBar2000 is running okay, but MusicBee is giving an error ("Unable to start playback (error=BASS_OK)").
Yesterday I installed MB on an old Windows 10 Pro, 32 bit computer and to my astonishment I worked flawless!
But I prefer running MusicBee on my 64-bits machines so this is not a real solution for me.
Is this behaviour known by you?
The preferences on all machines are kept the same; should it be otherwise?
Please advise.

Ton
 
 

trombonedani

  • Newbie
  • *
  • Posts: 5
Hi,  I have a little problem. I get the plugin connected to my phone, but i cant see "Title", there are "Artist", "Composer"... but no Title???
What can I do?

Thanks :)

robertvan1

  • Newbie
  • *
  • Posts: 5
I copied mbupnp.dll to the plugins folder but then forgot to copy the patched files. I then noticed that MusicBee was showing up on my av receiver, so I streamed some music and everything worked perfectly. Why is it necessary to copy the patched files?

WPJoe

  • Jr. Member
  • **
  • Posts: 39
Sorry but I feel like I am missing something basic.

I have downloaded the files and plugins.

Now I am trying a way to play wirelessly FROM MusicBee to my Denon receiver.

Based on the instruction in the first post it sounds like I need to Add this as a device in Preferences?  I dont understand how to do that...when I try to add it is looking for me to select a folder...how do I select a device?

I tried to look in the Network and Internet section (which is where it is listed in my control panel) but nothing happens when I click on that label...

Thanks

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34346
if the device is detected it will be added to the list of selectable Output devices in Player preferences

vpsaxman

  • Full Member
  • ***
  • Posts: 197
I think you might be missing something.  I use BubbleUPnP and am able to browse my music folder.

I think he may have meant "searching" the library which seems to not work in BubbleUPnP.

It returns this message when searching:

Quote
NOT SUPPORTED

This library does not support UPnP Search. This prevents the whole library to be searched for tracks, albums or artists.

Only the current folder will be searched.

Being able to perform search queries would be very useful.


WPJoe

  • Jr. Member
  • **
  • Posts: 39
if the device is detected it will be added to the list of selectable Output devices in Player preferences

OK here is what is happening...Im hoping someone can help me because Im banging my head here!

1.  When I go into my Denon AVR and choose the Media Server option, I see Music Bee as an option.  But nothing happens when I click on it.
2.  When I go into MusicBee - Preferences - Player I see the Denon AVR as an option for Audio Player output.  But when I select it and try to play something I get "Device is Not Ready for Output".

Help please?

WPJoe

  • Jr. Member
  • **
  • Posts: 39
I uninstalled and reinstalled everything and now I am able to play.  However after it starts playing from MB to my receiver, about 30 seconds into the song it abruptly stops.

Any ideas why? 

WPJoe

  • Jr. Member
  • **
  • Posts: 39
By the way, it does work fine when I initiate playback from the Denon using MB as the server...the problem comes out when I initiate playback from MB (which Id like to be able to do because MB is a kick ass app: its easier, better control, uses crossfade, ReplayGain, etc)...

RBoug

  • Newbie
  • *
  • Posts: 1
Hi ,
I have downloaded MB 3 days ago and I discover the player . Congratulations ! beautiful design and options .
I have downloaded also the UPnP  Plugin . It works with an Advance Acoustics X-Uni media player with Flac albums mainly .
I play my playlists on the X-uni working as Digital Media Player (DMP). Metadata appears on X-Uni  screen (artist, album, tracks) except  the cover album .
Do you know, please, how I can allow cover album on the X-Uni media player ?
Previously , I used to play with Foobar and I didn't have the issue.

142921; 1 Profile - Generic Device, useragent=Unspecified, UPnP/1.0, SoftAtHome
143015; 2 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
4; 1 Initialise - 10/02/2016 21:06:26
40; 2 GetNetworkAddresses - 192.168.1.26,dns=True,name=Connexion au réseau local,speed=100000000
44; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
48; 4 GetNetworkAddresses - http://192.168.1.26:49382
81; 5 ProcessMessage 192.168.1.26 - device 'uuid:1915a1d8-02a0-1b3c-2c53-997d1c80ed26:foobar2000 Renderer (BOUGARAN) [BOUGARAN-PC]',valid=True
849; 6 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
1389; 7 Profile - Generic Device, useragent=Unspecified, UPnP/1.0, SoftAtHome
15579; 8 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
15597; 9 Browse - 0,BrowseDirectChildren,0,100,sort=
20077; 10 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
20088; 11 Browse - 13,BrowseDirectChildren,0,100,sort=
22330; 12 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
22336; 13 Browse - 13_3,BrowseDirectChildren,0,100,sort=
24841; 14 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
24854; 15 GetFile[1] 192.168.1.26 - HEAD D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\01 - Keep Your Lips Sealed.flac to 192.168.1.10
25558; 16 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
25569; 17 GetFile[2] 192.168.1.26 - GET D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\01 - Keep Your Lips Sealed.flac to 192.168.1.10
25585; 18 GetFile - range=bytes 0-21299159/21299160
159472; 19 Profile - Windows Media Player, useragent=Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50
218550; 20 GetFile[2] - exit=0, playtime=192949
220305; 21 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
220315; 22 GetFile[3] 192.168.1.26 - HEAD D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\02 - Trustful Hands.flac to 192.168.1.10
220940; 23 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
220951; 24 GetFile[4] 192.168.1.26 - GET D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\02 - Trustful Hands.flac to 192.168.1.10
220962; 25 GetFile - range=bytes 0-24260876/24260877
224087; 26 ProcessMessage 192.168.1.26 - device 'uuid:1915a1d8-02a0-1b3c-2c53-997d1c80ed26:foobar2000 Renderer (BOUGARAN) [BOUGARAN-PC]' disconnected
281117; 27 GetFile[4] - exit=10004, playtime=60146
283067; 28 Profile - Generic Device, useragent=Unspecified, UPnP/1.0, SoftAtHome
283169; 29 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
284567; 30 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
284600; 31 GetFile[5] 192.168.1.26 - HEAD D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\02 - Trustful Hands.flac to 192.168.1.10
285135; 32 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
285140; 33 GetFile[6] 192.168.1.26 - GET D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\02 - Trustful Hands.flac to 192.168.1.10
285144; 34 GetFile - range=bytes 5632000-24260876/24260877
4; 1 Initialise - 10/02/2016 21:11:16
40; 2 GetNetworkAddresses - 192.168.1.26,dns=True,name=Connexion au réseau local,speed=100000000
44; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
48; 4 GetNetworkAddresses - http://192.168.1.26:49382
431; 5 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
579; 6 GetFile[1] 192.168.1.26 - HEAD D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\02 - Trustful Hands.flac to 192.168.1.10
1097; 7 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
1108; 8 GetFile[2] 192.168.1.26 - GET D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\02 - Trustful Hands.flac to 192.168.1.10
1116; 9 GetFile - range=bytes 5960123-24260876/24260877
1392; 10 Profile - Generic Device, useragent=Unspecified, UPnP/1.0, SoftAtHome
1395; 11 GetFile[2] - exit=10054, playtime=275
1491; 12 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
1908; 13 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
1921; 14 GetFile[3] 192.168.1.26 - HEAD D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\03 - Miracles (Back in Time).flac to 192.168.1.10
2551; 15 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
2564; 16 GetFile[4] 192.168.1.26 - GET D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\03 - Miracles (Back in Time).flac to 192.168.1.10
2588; 17 GetFile - range=bytes 0-27344637/27344638
25582; 18 GetFile[4] - exit=10054, playtime=22983
25987; 19 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
25999; 20 GetFile[5] 192.168.1.26 - HEAD D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\02 - Trustful Hands.flac to 192.168.1.10
26536; 21 Profile - Generic Device, useragent=NSPlayer/4.1.0.3856
26550; 22 GetFile[6] 192.168.1.26 - GET D:\Musique\The Dø - Shake Shook Shaken - 2014 (WEB FLAC)\02 - Trustful Hands.flac to 192.168.1.10
26577; 23 GetFile - range=bytes 0-24260876/24260877


Thanks
BR
RBoug
Last Edit: February 10, 2016, 08:17:09 PM by RBoug

metaverse

  • Newbie
  • *
  • Posts: 1
Hi,
I've found a memory leak in the plugin.
1/28/2016 10:11:25 PM - 6.3.9600.0 - 2.5.5804.26036 - System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.String.InternalSubString(Int32 startIndex, Int32 length)
   at System.String.Substring(Int32 startIndex, Int32 length)
   at System.String.InternalSplitOmitEmptyEntries(Int32[] sepList, Int32[] lengthList, Int32 numReplaces, Int32 count)
   at System.String.Split(String[] separator, Int32 count, StringSplitOptions options)
   at MusicBeePlugin.Plugin.SsdpServer.ListenNotify(Object parameters)
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)

I've done some testing and it appears to only happen when my tv LG LN5700 is on and does not matter if streaming is occurring (to the tv or other device).
The plugin error log shows repeated Profile/Browse entries for the tv and it looks like they show up every few seconds.
14818; 122 Profile - Generic Device, useragent=Linux/3.0.13 UPnP/1.0 LGE_DLNA_SDK/1.6.0 [TV][LG]50LN5700-UH/05.09.06 DLNADOC/1.50
14820; 123 Browse - 1_100_22,BrowseDirectChildren,0,100,sort=
14933; 124 Profile - Generic Device, useragent=Linux/3.0.13 UPnP/1.0 LGE_DLNA_SDK/1.6.0 [TV][LG]50LN5700-UH/05.09.06 DLNADOC/1.50
14935; 125 Browse - 1_100_23,BrowseDirectChildren,0,100,sort=

Let me know if you need any more information.
MusicBee v 2.5.5804 and the current plugin from the first post

Hoofer

  • Jr. Member
  • **
  • Posts: 36
Hello Steven,  Thanks for a GREAT plugin.  My Samsung LED TV sees the library and I can select it from the TV but it says that there are no music files in the library when there clearly are and I can play them from my PC.  I tried "output to" Samsung TV and it tries to send the music file but the TV says that "the file you've selected is not currently supported.  Attached is the error log generated when I try to browse/play the library from the tv.  MANY THANKS for the help.  BTW I just installed MusicBee and love it.  I have been using MediaMonkey for a very long time and so far I prefer MusicBee but I have no problems searching/playing the MediaMonkey library on the TV. 

101071; 1 Profile - Generic Device, useragent=SEC_HHP_[TV]Samsung LED65/1.0 DLNADOC/1.50
148056; 2 Profile - Generic Device, useragent=SEC_HHP_[TV]Samsung LED65/1.0 DLNADOC/1.50
148077; 3 Browse - 1,BrowseDirectChildren,0,1,sort=
148376; 4 Proceed Control - Exception has been thrown by the target of an invocation.
"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>1</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>*</Filter><StartingIndex>0</StartingIndex><RequestedCount>1</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>
148381; 5 Proceed Control - Object reference not set to an instance of an object.
   at MusicBeePlugin.Plugin.ItemManager.LoadNode(TemplateNode template, FolderNode& folder, Boolean drillDown)
   at MusicBeePlugin.Plugin.ItemManager.TryLocateNode(String[] objectIds, TemplateNode& node, FolderNode& folder, Int32& lookupIdCount)
   at MusicBeePlugin.Plugin.ItemManager.Browse(Dictionary`2 headers, String objectId, BrowseFlag browseType, String filter, Int32 startingIndex, Int32 requestedCount, String sortCriteria, String& result, String& numberReturned, String& totalMatches)
   at MusicBeePlugin.Plugin.ContentDirectoryService.Browse(HttpRequest request, String ObjectID, String BrowseFlag, String Filter, String StartingIndex, String RequestedCount, String SortCriteria)
148384; 6 ProcessRequest:SoapException:501 - Action Failed
   at MusicBeePlugin.Plugin.UpnpService.ProceedControl(HttpRequest request)
   at MusicBeePlugin.Plugin.HttpServer.ProcessRequest(Object parameters)

Thanks.

Hoofer

  • Jr. Member
  • **
  • Posts: 36
Just a note on my last post.  I am using the portable version (2.5.5804) of MusicBee if that helps.