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


OldChicagoPete

  • Newbie
  • *
  • Posts: 10
Thanks! Everything imported ok to VS 2015 except I can't find the interop.upnplib reference on my machine. What path/file do you have for that reference name? I did find a dll with the same name in a Silicon Dust/HDHomeRun directory which might be the same thing.

BassT

  • Jr. Member
  • **
  • Posts: 23
Hey guys,

I own a Silvercrest sird 14 c2 device, playback with this plugin works in general, but after few seconds, it goes into "Abspiel-Puffer" (buffering) and stops playback, it only works when i skip a song on the DLNA server or choose another song.
So in fact its not really useable :(

Is there a solution?

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34312
Thanks! Everything imported ok to VS 2015 except I can't find the interop.upnplib reference on my machine. What path/file do you have for that reference name? I did find a dll with the same name in a Silicon Dust/HDHomeRun directory which might be the same thing.
i somehow missed your post. I have uploaded it to:
http://www.mediafire.com/file/7aaspr3l2qcp686/Interop.UPNPLib.dll

johnnyboy

  • Jr. Member
  • **
  • Posts: 80
I don't have the skills to pursue this but Steven has invited people to look at it. Anybody interested or are they migrating to Jriver?

maartenl

  • Newbie
  • *
  • Posts: 13
Problem solved. I had Oracle virtual box installed a week ago, have uninstalled it and now MB upnp/dlna plugin functions again. Strange since I was not running any virtual machine, but somehow it had changed my network stack apparently in such a way that upnp plugin did not function any more.... arghh.

UPnP suddenly has stopped working: playing an audio file with output set to an upnp/dlna device results in MB 'playing' (in fact it remains silent) 9 seconds of selected track and then skipping to the next track in line, and so on...

0; 10 Initialise - 23-7-2017 17:32:58
34; 11 GetNetworkAddresses - 192.168.0.12,dns=True,name=VirtualBox Host-Only Network,speed=1000000000
37; 12 GetNetworkAddresses - 192.168.0.152,dns=True,name=Wi-Fi,speed=54000000
40; 13 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
43; 14 GetNetworkAddresses - http://192.168.0.12:49382
75; 15 ProcessMessage 192.168.0.4 - device 'uuid:60cb694f-552b-02a7-d1e2-6278845e08e6:Kodi (LibreELEC)',valid=True
83; 16 Profile - Generic Device, useragent=Kodi - Media Renderer|UPnP/1.0 DLNADOC/1.50 Platinum/1.0.5.13
93; 17 Profile - Generic Device, useragent=Kodi - Media Renderer|UPnP/1.0 DLNADOC/1.50 Platinum/1.0.5.13
149; 18 Activate - Kodi (LibreELEC):http-get:*:*:*,xbmc-get:*:*:*,http-get:*:audio/mkv:*,http-get:*:audio/mpegurl:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:audio/mp3:*,http-get:*:audio/mp4:*,http-get:*:audio/basic:*,http-get:*:audio/midi:*,http-get:*:audio/ulaw:*,http-get:*:audio/ogg:*,http-get:*:audio/DVI4:*,http-get:*:audio/G722:*,http-get:*:audio/G723:*,http-get:*:audio/G726-16:*,http-get:*:audio/G726-24:*,http-get:*:audio/G726-32:*,http-get:*:audio/G726-40:*,http-get:*:audio/G728:*,http-get:*:audio/G729:*,http-get:*:audio/G729D:*,http-get:*:audio/G729E:*,http-get:*:audio/GSM:*,http-get:*:audio/GSM-EFR:*,http-get:*:audio/L8:*,http-get:*:audio/L16:*,http-get:*:audio/LPC:*,http-get:*:audio/MPA:*,http-get:*:audio/PCMA:*,http-get:*:audio/PCMU:*,http-get:*:audio/QCELP:*,http-get:*:audio/RED:*,http-get:*:audio/VDVI:*,http-get:*:audio/ac3:*,http-get:*:audio/vorbis:*,http-get:*:audio/speex:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-pn-realaudio:*,http-get:*:audio/x-realaudio:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-matroska:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-mpegurl:*,http-get:*:application/x-shockwave-flash:*,http-get:*:application/ogg:*,http-get:*:application/sdp:*,http-get:*:image/gif:*,http-get:*:image/jpeg:*,http-get:*:image/ief:*,http-get:*:image/png:*,http-get:*:image/tiff:*,http-get:*:video/avi:*,http-get:*:video/divx:*,http-get:*:video/mpeg:*,http-get:*:video/fli:*,http-get:*:video/flv:*,http-get:*:video/quicktime:*,http-get:*:video/vnd.vivo:*,http-get:*:video/vc1:*,http-get:*:video/ogg:*,http-get:*:video/mp4:*,http-get:*:video/mkv:*,http-get:*:video/BT656:*,http-get:*:video/CelB:*,http-get:*:video/JPEG:*,http-get:*:video/H261:*,http-get:*:video/H263:*,http-get:*:video/H263-1998:*,http-get:*:video/H263-2000:*,http-get:*:video/MPV:*,http-get:*:video/MP2T:*,http-get:*:video/MP1S:*,http-get:*:video/MP2P:*,http-get:*:video/BMPEG:*,http-get:*:video/xvid:*,http-get:*:video/x-divx:*,http-get:*:video/x-matroska:*,http-get:*:video/x-mkv:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/x-ms-avi:*,http-get:*:video/x-flv:*,http-get:*:video/x-fli:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-ms-asx:*,http-get:*:video/x-ms-wmx:*,http-get:*:video/x-ms-wvx:*,http-get:*:video/x-msvideo:*,http-get:*:video/x-xvid:*
54951; 19 Play - \\NAS4FREE\main\audio\modern\De La Soul\3 Feet High and Rising\1-01 Intro.flac (http://192.168.0.12:49382/files/201021CB5F2BE090p.x-flac)
55109; 20 StateTimer - Playing,old=Stopped
64718; 21 StateTimer - Stopped,old=Playing
64879; 22 Play - \\NAS4FREE\main\audio\modern\De La Soul\3 Feet High and Rising\1-02 The Magic Number.flac (http://192.168.0.12:49382/files/686F1C9D2C9C65A6p.x-flac)
65031; 23 StateTimer - Playing,old=Stopped
74124; 24 StateTimer - Stopped,old=Playing
74228; 25 Play - \\NAS4FREE\main\audio\modern\De La Soul\3 Feet High and Rising\1-03 Change In Speak.flac (http://192.168.0.12:49382/files/14470CCAABEAB791p.x-flac)
74389; 26 StateTimer - Playing,old=Stopped
82969; 27 StateTimer - Stopped,old=Playing
83071; 28 Play - \\NAS4FREE\main\audio\modern\De La Soul\3 Feet High and Rising\1-04 Cool Breeze On The Rocks.flac (http://192.168.0.12:49382/files/0FD913DE69AD0625p.x-flac)
83218; 29 StateTimer - Playing,old=Stopped
92328; 30 StateTimer - Stopped,old=Playing
92442; 31 Play - \\NAS4FREE\main\audio\modern\De La Soul\3 Feet High and Rising\1-05 Can U Keep A Secret.flac (http://192.168.0.12:49382/files/B9E60DB432BAF16Fp.x-flac)
92593; 32 StateTimer - Playing,old=Stopped

What's wrong. I would love to have it working again. Without upnp/dlna MB is not of much value to me. Pity because MB is great piece of software!
Last Edit: July 23, 2017, 05:08:42 PM by maartenl

Afterburne

  • Newbie
  • *
  • Posts: 1
I must be an idiot.  :-\ I am trying to get this to work playing on one computer to stream to another (both running MusicBee). I cannot seem to figure it out though.

Is there a link that discusses how exactly one might go about setting one computer up so that multiple computers can all be playing the same thing from one stream on a local network?


TIA

johnnyboy

  • Jr. Member
  • **
  • Posts: 80
just to update my problem. the plugin works for mp3 files but not for flac. With my new hifi equipment i would like to rip to flac.
That's the only problem i have but it's significant now with my new gear.

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9301
This plugin is no longer being developed. If someone wants to take over, Steven will happily provide the source code. Without that there is no point in posting any further issues as they won't be addressed.
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

frankz

  • Sr. Member
  • ****
  • Posts: 3834
I understand the plugin is no longer being developed.  I'm having an issue which I don't think is related to the programming of the plugin - I think it's a setting in BubbleUPNP for Android or somewhere else that I messed up - and I'm hoping that someone with some experience using Bubble for Android with MusicBee UPNP will be able to point me in the right direction.

FWIW, I use MB over DLNA with Hi-Fi Cast on the same devices I'm trying to use Bubble on, and it works flawlessly.  But HiFi Cast only works over the LAN.  You can't put an internet address into it.

I have Bubble UPNP Server installed for the purpose of casting MB Desktop output to my various DLNA devices and Chromecasts.  That works - not flawlessly but at least passably.

My next goal was to access my MB library from outside the house.  I needed BubbleUPNP for Android for this.  I'm about 75% sure I had this working both on the LAN and outside the house at some point, but either I changed something or upgrading Bubble for Android to Premium changed something and now it's a big mess.

I figured I'd get Bubble for Android working on the LAN (accessing directly, not through Bubble Server) before trying to use it on 4G from outside (via Bubble Server), so it should be working exactly the same as Hi-Fi Cast.  But it isn't.

As soon as I connect Bubble for Android to my MB library and try to browse anything - from 25 song playlists to artists - anything - MB shoots up to using 100% CPU and increasing amounts of memory until it crashes and I've got to "End Task."

Has anyone ever heard of this before?  The only strange thing I see in the log (like I said, I've only entered the library and tried to browse something at this point, not even play anything, so there's not much in the log from these interactions) is this:
Code
5278960; 853 Browse - 13_25,BrowseDirectChildren,0,5000,sort=
To me, that means it's trying to get info / art from 5000 files at a time, which seems like a lot.  Plus, the playlist I tried to browse doesn't even have 5000 files.  For comparison, here's a browse request from HiFi Cast
Code
4776874; 817 Browse - 13_7,BrowseDirectChildren,545,25,sort=

So I'm thinking I told Bubble for Android to not cycle through lists but to get everything at once, but I don't see a setting like this anywhere in the app.

Strangely, Bubble for Android doesn't do this to other server programs.  I have foobar2000 installed and still have MediaMonkey around and Bubble behaves very respectfully with those two as servers.  

So does anyone who has experience with either Bubble or with DLNA/UPNP in general have any advice? Like I said, I'm pretty sure I had this working with the trial version of Bubble but I don't know if the upgrade changed something or I changed something to make it stop working.

Thanks in advance.
Last Edit: September 16, 2017, 08:01:15 PM by frankz

johnnyboy

  • Jr. Member
  • **
  • Posts: 80
I don't think this is directly to do with "issues". There is the latest version of  MB which talks about new features for sorting, grouping etc. All very good but what's happening now is a whole new world of streamers offering top class sound like Cambridge, Naim, Marantz, etc that need a top notch piece of software to work effectively. If MB cant get on board with this then I fear its days are numbered. Shame as it was MB that got me persuaded to put my music on my PC.

frankz

  • Sr. Member
  • ****
  • Posts: 3834
I agree with you, johnnyboy. DLNA and Casting is where digital music is headed. So many top of the line receivers have it now and even middle of the line ones.

I wish I had the temerity to learn the programming languages required to get this back on track. I honestly don't understand why no one from the community who does have the expertise required hasn't picked up the ball on this.  It already 90% works.

Jkesnk

  • Jr. Member
  • **
  • Posts: 40
I agree 110% with you gentlemen... streaming using MB is the name of the game.. DLNA etc... If MB doesn't develop DLNA, UPnP, and 4G it will fall by the wayside.... I've been using MB for about 7 years now and there is nothing close to what it can do... But you can only play it at home... it needs to be mobile... I use Plex in my truck.. I stream it to my phone ( 4G ) then blue tooth to my receiver... I works perfect... I want to use my MB library and playlist that I have been working on for the last 7 years... I've been using DLNA to stream to my home receiver so I can hear it thru the big speakers... but it keeps dropping out... Plex, Sonos and countless others are changing the game... MB jumped ahead of WinAmp and all the others... Plex,Sonos and the others are passing MB as we speak... MB can be THE PROGRAM TO HAVE...  now and in the future... If Steven isn't able to develop this plugin... maybe someone out there who love's MB like we do... and would be able to help Steven out... all of us in the MB family would be forever great full... maybe even give you a title... lol ... I think this message and thread is very important for this MB community... If you agree with me... lets keep this message going and see if we can make this happen... It's for us...

NathanielPillar

  • Newbie
  • *
  • Posts: 3
How can I use this to stream music from one PC to another over the internet? I installed this plugin on both installations of music bee. Now what?
Thanks

Ralf

  • Newbie
  • *
  • Posts: 19
@jkesnk: I absolutely agree. MB is one of the greatest music cataloging, ripping and player software out there, but without proper DLNA and UPnP it'll go down the drain and be superseded by others.

@Steven: Wouldn't it eventually be a good idea to go open-source? Sorry, if this was asked before....