getmusicbee.com

MusicBee & Add-Ons => Customizations => Plugins => Topic started by: Steven on November 20, 2014, 08:26:32 PM

Title: UPnP/ DLNA device support
Post by: Steven on November 20, 2014, 08:26:32 PM
This plugin supports server mode (enables UPnP devices to browse and play from the MusicBee library) and controller mode (playing from MusicBee to UPnP devices)

Unzip and place in the Plugins sub-folder
https://getmusicbee.com/download/plugins/mb_Upnp.zip

http://www.mediafire.com/file/ds056r7h15ds5xb/mb_Upnp.zip

There are quite a few configuration options that can be set via the Configure button in the plugins panel which should be straight-forward - ask if you are not sure of something.

I have been warned that there are a lot of buggy UPnP devices which will require work-arounds. If your device is not being detected then first check with some other software which you know works with your device. If you cannot get the plugin to work or are getting odd behavior, then enable the debug log which is an option in the configuration screen and after restarting MusicBee send me the log file that is generated when playing a track. Keep in mind I have only implemented access from within your home network for now, so if you are trying to communicate outside the network it wont work.

I have made an attempt at supporting access from X-Box devices, so if anyone has one i would be grateful if you try it out and confirm if it does work. PS3 have been confirmed as working, as have various UPnP output devices

PLEASE NOTE: Steven, the developer of this plugin (and of MB) no longer has the time to spend on further development OR SUPPORT of the plugin.
He has made the source code available for anyone who wants to continue development. It is available here. (http://www.mediafire.com/file/ckb34sy5etwzkri/MusicBeeUpnpSource.7z/file)
Title: Re: UPnP/ DLNA device support
Post by: phred on November 20, 2014, 11:34:33 PM
For anyone who has a Samsung BluRay/DVD Player, I can confirm that this plugin works.  Specially model BD-HM57C, but probably others.  Playlists, radio stations, etc.  Thanks to a little extra work from Steven for making it happen.
Title: Re: UPnP/ DLNA device support
Post by: avianmanor on December 01, 2014, 03:43:19 AM
This plugin works perfectly on my Pioneer Elite Pro Plasma Television -awesome!
Title: Re: UPnP/ DLNA device support
Post by: dual-o on December 01, 2014, 09:42:51 PM
works great on my Marantz SR7008 AVR.
But I don't now the best Settings for the plugin.

Can you help me to find the best settings for AVRs?
Title: Re: UPnP/ DLNA device support
Post by: dual-o on December 03, 2014, 06:20:51 PM
Hello,

is it possible to add one more feature?
It would be really nice to stream to more than one DLNA device.

greets
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 03, 2014, 06:45:27 PM
you can already change the output device to one of the other UPnP devices but i guess you mean output the same sound data to multiple devices at the same time in which case the answer is no, i am not willing to do that
Title: Re: UPnP/ DLNA device support
Post by: weejake on December 05, 2014, 06:53:50 PM
my onkyo TX-NR636 dosnt see it.

Title: Re: UPnP/ DLNA device support
Post by: Steven on December 05, 2014, 07:07:01 PM
my onkyo TX-NR636 dosnt see it.
please re-read the instructions in the first post
Title: Re: UPnP/ DLNA device support
Post by: peggysparkles on December 05, 2014, 09:19:20 PM
First, this is AMAZING, thanks! I gave it a shot with a RaspberryPi using Volumio and everything works really well except that MusicBee seems to want to down sample my HD flac files even if I setup the profile in the plugin configuration with maximum rendering capabilities.

I think this is the relevant portion of the log file:

4; 1 Initialise - 05/12/2014 4:16:09 PM
150; 2 GetNetworkAddresses - 192.168.1.118,dns=True,name=Wireless Network Connection,speed=130000000
150; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
154; 4 GetNetworkAddresses - http://192.168.1.118:49382
381; 5 ProcessMessage 192.168.1.100 - device 'uuid:33fa00a6-6f2e-df0d-1c56-801f02f66b45:Kitchen',valid=True
505; 6 Activate - Kitchen:http-get:*:audio/dsd:*,http-get:*:audio/wav:*,http-get:*:audio/wave:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-aiff:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-mpeg:*,http-get:*:audio/mp1:*,http-get:*:audio/aac:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/m4a:*,http-get:*:audio/mp4:*,http-get:*:audio/x-m4a:*,http-get:*:audio/vorbis:*,http-get:*:audio/ogg:*,http-get:*:audio/x-ogg:*,http-get:*:audio/x-scpls:*
22325; 7 Play - \\LUCY\Muisc\Organized Music\Igor Stravinsky\1980 - The Rite of Spring   Symphony No. 4\05 Part I  Adoration of the Earth - Introduction.flac (http://192.168.1.118:49382/encode/1834D41FC1B53F4A-1342177279.wav)
22695; 8 StateTimer - Playing,old=Stopped
23885; 9 GetEncodedFile[1] 192.168.1.118 - GET \\LUCY\Muisc\Organized Music\Igor Stravinsky\1980 - The Rite of Spring   Symphony No. 4\05 Part I  Adoration of the Earth - Introduction.flac to 192.168.1.100; mime=audio/wav,rate=48000,channels=2
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 05, 2014, 09:46:33 PM
can you post a link to a screenshot of the plugin configuration settings
Title: Re: UPnP/ DLNA device support
Post by: peggysparkles on December 06, 2014, 12:59:55 PM
Absolutely, thanks Steven:

https://www.dropbox.com/s/ajqx8bvi7ooglye/screen-temp.png?dl=0
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 06, 2014, 01:25:22 PM
i am going to enhance the debug info so it includes the user-agent and profile selected.
In your case i would say the plugin would not be selecting the Kitchen profile and is using the Generic profile instead. So just update the generic profile and it should work
Title: Re: UPnP/ DLNA device support
Post by: peggysparkles on December 06, 2014, 02:09:30 PM
That did the trick, thanks! Really appreciate your help on this and in general!:)

(I tried to test whether it was using this profile this by forcing transcoding to see if it would affect anything and my computer started heaving so I thought it was working, but I guess that was unrelated.)
Title: Re: UPnP/ DLNA device support
Post by: slyr114 on December 06, 2014, 03:09:17 PM
Would this work to stream over the internet too so long as my port was forwarded correctly? Currently have an ftp server and rdp setup but would love a simple way to stream music too. Dang nvm forgot about dlna and its requirements. Anyway plugins that would turn musicbee into a music server over the internet? I know there are other programs that do this but would love not having to run more than i already am.
Title: Re: UPnP/ DLNA device support
Post by: phred on December 06, 2014, 03:57:01 PM
Would this work to stream over the internet too so long as my port was forwarded correctly?
From Steven's first post in this topic:  Keep in mind I have only implemented access from within your home network for now, so if you are trying to communicate outside the network it wont work.
Title: Re: UPnP/ DLNA device support
Post by: Gendji on December 08, 2014, 01:16:27 PM
Is there a way to send files to an UpPnP device without any form of transcoding?

Trying to get this to work on a Samsung TV, which is unable to read x-flac, x-wav or mpeg.
Sending the file works, TV starts reading, but stops not being able tot play the files.

It can handle normal Flac and MP3.
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 08, 2014, 01:40:07 PM
can you enable the debug mode in the plugin prefs, restart MB and then play a transcoded file. Then send me the log so i can see what is going on.
Also a link to a screenshot of the plugin settings will be needed
Title: Re: UPnP/ DLNA device support
Post by: Gendji on December 08, 2014, 03:17:00 PM
Yes i can.

Error log: http://wizzard.home.xs4all.nl/graph/banner/UpnpErrorLog.dat

Screenshot: http://wizzard.home.xs4all.nl/graph/banner/Musicbee%20UNPnP%20settings.jpg

Thank you.
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 08, 2014, 04:35:41 PM
in both cases the flac file is not being transcoded ie. just sent as a flac file. "X-FLAC" is the mime type for flac which the device says it supports.
I assume the playback of the first file stopped by itself after 2 seconds. Perhaps there is something about that file that causes issues for the player. You might have more luck if you force transcoding to PCM eg. tick Continous output or "level the playback volume..." if you have replay gain active in MB and the files have replay gain tags
Title: Re: UPnP/ DLNA device support
Post by: Gendji on December 08, 2014, 07:44:53 PM
Ah right, i thought that the http://ip:port/files/*.mpeg or .x-flac etc., where send to the TV directly with that extension.

You are right, they just stop after 2 seconds. Not only that file but everything in my playlist.

I will test Continuous output with different settings.

Samsung Smart TV's aren't that smart at all, as it turns out :)

Title: Re: UPnP/ DLNA device support
Post by: gpzbc on December 09, 2014, 05:25:38 AM
Thank you for this feature!  It is a game changer for me.
Title: Re: UPnP/ DLNA device support
Post by: Gendji on December 09, 2014, 01:48:16 PM
Got the "sending files to" part working on the TV. Turned out that adding MB to the firewall wasn't enough, i also had to add the port it uses. But it works now :)

The only thing not working (yet) is the TV reading from MB. I can see MB Library as a source. It starts up but stops stating that there is no media found.

Btw i read in this topic http://getmusicbee.com/forum/index.php?topic=800.195 , about MB not working on a WDTV. I have a WD TV Live and it works. Playlists, Radio etc. including covers.

I also have "Root element is missing" message in the log but if you go to audio, you can choose Media Library (which is MB) as the source nevertheless, and use MB with the WD TV Live.

Title: Re: UPnP/ DLNA device support
Post by: slyr114 on December 09, 2014, 01:54:32 PM
Ha, im a dummy, he even bolded that and I missed it. But after reading up isnt upnp and dlna ONLY for home access?
Title: Re: UPnP/ DLNA device support
Post by: phred on December 09, 2014, 03:50:41 PM
Not necessarily "home" but only within the network where MB lives.  It could be the home, or it could be work.  As long as MB and the device are on the same network, it should work.
Title: Re: UPnP/ DLNA device support
Post by: gpzbc on December 09, 2014, 06:59:33 PM
I realize that this is still an early iteration and it is still a work in progress, but are there any plans for increasing the resolution of the album artwork available over UPnP/DLNA?

Thanks again for this!!!
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 09, 2014, 07:30:11 PM
the artwork is resized to 160x160 as per the DLNA standard for thumbnail images. What MB does is provide a 2nd larger image as an alternative but i guess your device doesnt read that.
I know some devices can support thumbnails larger than 160x160 but i know there are others that dont so if i did do anything it would be as an option but are you sure your device can actually show the artwork if it is sized larger?
Title: Re: UPnP/ DLNA device support
Post by: gpzbc on December 09, 2014, 08:06:16 PM
the artwork is resized to 160x160 as per the DLNA standard for thumbnail images. What MB does is provide a 2nd larger image as an alternative but i guess your device doesnt read that.
I know some devices can support thumbnails larger than 160x160 but i know there are others that dont so if i did do anything it would be as an option but are you sure your device can actually show the artwork if it is sized larger?

Yes. I think so. I use BubbleUPnP to play my MB library on my home theater via a Chromecast. With Mediamonkey, the artwork that shows up on my tv screen is high enough resolution to look like original artwork. With MB, the artwork is much lower resolution.

I think an option for higher resolution is a fine idea. By the way, all of my artwork is 800x800 and is embedded in the tags.
Title: Re: UPnP/ DLNA device support
Post by: sebog on December 09, 2014, 09:05:08 PM
Thanks so much!!! That plugin is awesome. It works great also with the ICYBOX DLNA renderer (hardware) and also with BubbleUPnP :) in both directions.

 Will that new 2.5.5 version be an official new version of musicbee without the need to manuelly install another version in the future? Hope so! :)

In case you are in contact with the developers of musicbee - it would be really great to implement some easy change/switch of the "Output" (between DirectSound and UPNP Renderer): For example a. hotkey b. rightclick c. another optional icon in the play panel.

Another small thing i realized: "Bucket tree nodes by the first letter when more than XXXX items are displayed" doesn't work with BubbleUPnP in my case. The tree nodes are displayed all the time.

Thank's again! :)
Title: Re: UPnP/ DLNA device support
Post by: sebog on December 10, 2014, 11:02:08 AM
*Update to the text above

I've got to apologize, Steven: Didn't realize that YOU are teh developer of MusicBee! :)
Node Tree display works fine: It probably needed a restart of some kind. Still album art is not displayed in BubbleUPNP yet

Thanks again
Title: Re: UPnP/ DLNA device support
Post by: gpzbc on December 10, 2014, 04:49:20 PM
 :-\  hmmm.   Album art shows up fine in BubbleUPnP for me, albeit lower resolution (see previous post).
Title: Re: UPnP/ DLNA device support
Post by: haydns on December 12, 2014, 02:50:44 AM
can this be used with chromecast ?
not getting it to see chrome cast device. ???
Title: Re: UPnP/ DLNA device support
Post by: gpzbc on December 12, 2014, 12:39:38 PM
No. This is not Chromecast support (but that would be super cool!). But you can use an app called BubbleUPnP that allows your phone/tablet to play your MB library over your Chromecast.
Title: Re: UPnP/ DLNA device support
Post by: weejake on December 13, 2014, 03:43:26 PM
steven so i got all working with my onkyo..... but now i have came across a problem which i dont know how the hell it could be related to the plugin but it seems to be..

i have a radio playlist with 8 radio stations on it.
when playing through the normal mode of pc speakers i can play these stations one at a time without any problems
when i use the plugin to stream to the onkyo ....and when i play any station to begin with , after a few seconds the station changes..and after a few more seconds it changes again.....its as if its on shuffle , which it isnt....
when i go back to the normal pc speakers mode...all is good again....

any ideas?
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 13, 2014, 04:14:29 PM
i have an idea but not sure when i can look at this - it might be a few days or a week or so
Title: Re: UPnP/ DLNA device support
Post by: weejake on December 13, 2014, 04:17:26 PM
not a problem . steven
if you think you know what the problem is , thats fine
i thought my configurations were messed up but the more i looked the more i was certain they weren't any different
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 14, 2014, 09:44:47 PM
i cant reproduce the same issues with playing a station from a playlist to a device. I can see a bug where its unnecessarily forcing transcoding to PCM when a station is played so i will look to fix that.
Does it work if you add the station to the Radio section of MB and play it from there?
Title: Re: UPnP/ DLNA device support
Post by: holuschi on December 15, 2014, 09:24:22 AM
It can handle normal Flac and MP3.

Hello Gendji, what did you do to play flac and mp3 on your Samsung TV?  I can see the Musicbee Library in the Samsung Link but Samsung Media Play does not play them.
Title: Re: UPnP/ DLNA device support
Post by: Gendji on December 15, 2014, 10:40:32 AM
It can handle normal Flac and MP3.

Hello Gendji, what did you do to play flac and mp3 on your Samsung TV?  I can see the Musicbee Library in the Samsung Link but Samsung Media Play does not play them.

Hi, MB can send files to the Samsung TV (using TV as player in MB) for which i had to make changes in my firewall, but i still haven't figured out how to let the TV use MB. It sees the music, playlists etc. but nothing happens when i try to use them.

The changes in the firewall where making an exception for MB, but also for the port used by the plugin.




Title: Re: UPnP/ DLNA device support
Post by: holuschi on December 15, 2014, 12:06:48 PM
I can play my Music Bee Library on my Samsung TV with the Samsunng Link now and can see tags and album cover. I do not know what really was the point, this is what I did: I installed AllShare software for my specific Samsung model from the Samsung internet site on my PC (I think for newer Samsung models the software is PC-Share Manager). On the left side of the Allshare software I can see my shared devices: it is MusicBee Media Library with all the subfolders and my NAS where I have stord my music files. I took some time until I could see all the subfolders.
Some problems occur, if I restart MusicBee on my PC althouth the connection is established according to Allshare, my Samsung TV cannot play Music Bee library as long as I restart the TV. It works!
Title: Re: UPnP/ DLNA device support
Post by: weejake on December 15, 2014, 06:40:39 PM
i cant reproduce the same issues with playing a station from a playlist to a device. I can see a bug where its unnecessarily forcing transcoding to PCM when a station is played so i will look to fix that.
Does it work if you add the station to the Radio section of MB and play it from there?

hi, steven. as i said i had created a playlist called "myradio" with 8 radio stations within it.
this is where my trouble lies............
So i have done what you suggested and created a new radio station list and added the 8 stations within the radio section of MB.
and started streaming to the onkyo....

the problem is now that they all stop playing after 5 secs
also any station in the wma format wont play at all




many thanks
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 21, 2014, 03:32:19 PM
unzip and place in the Plugins folder:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip

just a small update with a new option to override the artwork size. Default value is 160px which is the UPnP standard for thumbnails. If you make it bigger then some devices might not support that size.
Title: Re: UPnP/ DLNA device support
Post by: gpzbc on December 21, 2014, 10:55:45 PM
Thank you for the artwork size option!
Title: Re: UPnP/ DLNA device support
Post by: hiccup on December 27, 2014, 11:14:48 AM
I tried the latest plugin version with my Squeezebox.
There is no improvement from the previous versions.

MP3 plays fine, FLAC still gives the silence/noise-bursts problem.
EQ off, RG off, Fade in/out off.

Error log pm'ed
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 27, 2014, 11:29:08 AM
the log doesnt indicate anything around what i thought the issue could be so the mystery remains. If anyone reading this also has a squeezebox device, it will be helpful to know how well the plugin works
Title: Re: UPnP/ DLNA device support
Post by: phred on December 27, 2014, 02:13:01 PM
@hiccup - I understand you're using SB Classic.  I'm using a Touch and a Radio, but more importantly, I'm using Logitech Media Server Version: 7.8.1 - 1418369688.  When I turn on my Samsung DVD player, both MusicBee and Squeezebox appear as server choices.  And both are working well.  FWIW, I'm only using MP3 tracks, no FLAC. 

Have you poked around the Sqeezebox Forums?  http://forums.slimdevices.com/index.php
I entered 'dlna' as a search term and got eight pages of hits.  Of course most are dealing with using LMS as the server.  But there might be something in there that's the key to the issue.

If I were to disable the LMS DLNA server, how do I set up one of my devices to use MB?  Then I could report back on whether or not it's working here.
Title: Re: UPnP/ DLNA device support
Post by: hiccup on December 27, 2014, 03:00:21 PM
Thnx for the feedback phred,

LMS is indeed probably a complicating factor here. It has to be running in the background, otherwise the SB's will not be recognized at all.
I know those fora, and a while back already tried to get Squeezebox users enthusiastic about this, and also try MusicBee, but to no avail until now.

Please don't bother experimenting with your working setup, I would hate if you 'broke' something for my sake.
There is one thing I would like you to try if possible; could you just try to play a flac file to your SB?
(Turn the volume down if you do, you might get some noise-bursts like me...)

Tia!
Title: Re: UPnP/ DLNA device support
Post by: peggysparkles on December 27, 2014, 04:13:57 PM
I'm having some issues getting MB to reliably detect my RPi/Volumio client. I'm going to try working this out on my own, but there was one thing I was hoping you could answer.

At what point does MB "look" for DNLA clients? Just on startup? Or does it check at some regular interval?

I'm just wondering if I need to keep restarting MB while I test.

Thanks!!!:)
Title: Re: UPnP/ DLNA device support
Post by: phred on December 27, 2014, 05:04:22 PM
Thnx for the feedback phred,

LMS is indeed probably a complicating factor here. It has to be running in the background, otherwise the SB's will not be recognized at all.
Yep, I discovered that.  Disabling LMS resulted in the SB devices not being seen in MB.

Quote
Please don't bother experimenting with your working setup, I would hate if you 'broke' something for my sake.
I appreciate that.  LMS tends to be finicky sometimes and making one small change has often resulted in hours of time to get it back to where it was previously.

Quote
There is one thing I would like you to try if possible; could you just try to play a flac file to your SB?
(Turn the volume down if you do, you might get some noise-bursts like me...)
I tried, but not with good results.  I created a flac file and it plays just fine on MB.  But when I change the player to one of the SB devices and hit play in MB, I get "Unable to start playback (error=BASS_OK)"  And I can't figure out how to try to play that track directly from the SB device.  I have the debug log from my one attempt, so let me know if that might be helpful and I'll PM it to  you and Steven. 

For the time being, I'm back to my previous set up and both MB and SB are working as expected.
Title: Re: UPnP/ DLNA device support
Post by: hiccup on December 27, 2014, 05:14:47 PM
Thnx for doing this phred.
I am now a little bit more assured these problems are probably not due to my specific settings/system/network.

Btw, the error output you describe was the same as mine before I used the latest MB and plugin version.
I now (usually) don't get the bass-error anymore.

Did you use the latest versions of both?
(and also turned off eq., RG, fading etc.?)
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 27, 2014, 05:43:45 PM
I'm having some issues getting MB to reliably detect my RPi/Volumio client. I'm going to try working this out on my own, but there was one thing I was hoping you could answer.
The plugin looks for devices on startup and listens for newly connected devices. If you enable the debug log in the plugin preferences and PM me a link to the log then that might save a lot of time
Title: Re: UPnP/ DLNA device support
Post by: phred on December 27, 2014, 06:27:33 PM
Thnx for doing this phred.
I am now a little bit more assured these problems are probably not due to my specific settings/system/network.
You're quite welcome.  Here's a little more info.

Quote
Btw, the error output you describe was the same as mine before I used the latest MB and plugin version.
I now (usually) don't get the bass-error anymore.

Did you use the latest versions of both?
(and also turned off eq., RG, fading etc.?)
MB v2.5.5470 and the plugin from reply #40 in this thread.  All 'sound effects' options were unchecked.  And it still shows the same error as before.  
However, the log is a lot different.  This most recent attempt actually shows the LMS DLNA Plugin as the useragent.  The first attempt today didn't show any reference to LMS.  

Again, if the logs will help Steven troubleshoot this, let me know and I'll PM them.
Title: Re: UPnP/ DLNA device support
Post by: hiccup on December 27, 2014, 06:36:49 PM
Thnx again.

I'll leave it as it is for now. there are worse things in life than flac not playing to a Squeezebox.
If Steven gets some new ideas or input and is then willing to invest even more time and effort in this, I'll be here as a guinea pig.
Title: Re: UPnP/ DLNA device support
Post by: danprice85 on December 29, 2014, 06:42:51 AM
Hi all,

So - question - does this plugin now allow me to access music via the Sonos Controller as a upnp device, or do I still need an additional 'middle man'?

Essentially, I want to either a) use MB to play via Sonos, or b) play via Sonos but through the MB library (for play count etc) rather than via imported library.

Sonos' documentation is scandalously threadbare, so if anyone has managed to make this happen please let me know.

Thanks,

Dan
Title: Re: UPnP/ DLNA device support
Post by: mattbaker88 on January 09, 2015, 09:09:25 PM
Great work!!
Thanks for adding this feature. It's really useful.

Works exactly as expected when rendering to Naim SuperUniti.

Minor suggestions:
Could you add a vertical scroll bar to the UPnP plugin configuration window for devices with lower resolutions (cant see/select the save buttons with the mouse on one of my laptops)?

Would it be possible to add the available UPnP rendering devices to the 'Output To' menu, for a quick way to switch between local and UPnP playback?
Title: Re: UPnP/ DLNA device support
Post by: vzell on January 10, 2015, 10:54:07 AM
Would it be possible to add the available UPnP rendering devices to the 'Output To' menu, for a quick way to switch between local and UPnP playback?

+1
Title: Re: UPnP/ DLNA device support
Post by: Steven on January 10, 2015, 06:19:41 PM
this version of MusicBee allows switching between devices via right click/ Output To/ ... in the main panel
The menu wont display if there is only one output device and no UPnP devices active

unzip and replace the existing MusicBee files:
http://musicbee.niblseed.com/V2_5/MusicBee_Exe_Patched.zip
Title: Re: UPnP/ DLNA device support
Post by: MrLocoLuciano on January 10, 2015, 10:13:43 PM
Hi all !

Just bought an SOtM sMS-100 and trying to get it working with MusicBee and the UPnP/DLNA plugin.
I choose the SOtM sMS-100 in the outpout and configurate the plugin Generic Device -> http://img15.hostingpics.net/pics/887136MusicBee.jpg
I also tried the outpout as continuous stream.
But in both cases, MP3 is working but Flac isn't playing properly, like only 1 second over 2 is playing and mettalic sound. It even sounds better in HD flac but still got some crackles and light metallic sound.

Here is a the debug log file :
5; 1 Initialise - 10/01/2015 23:20:39
88; 2 GetNetworkAddresses - 192.168.0.50,dns=True,name=Wireless Network Connection,speed=144000000
89; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
89; 4 GetNetworkAddresses - http://192.168.0.50:49382
180; 5 ProcessMessage 192.168.0.14 - device 'uuid:e44863c2-c80f-93e1-ecde-002531021bb2:SOtM sMS 100',valid=True
190; 6 Profile - Generic Device, useragent=UPnP front-end to MPD|Linux/3.12.5-100.tld3.fc18.armv5tel.kirkwood, UPnP/1.0, Portable SDK for UPnP devices/1.6.18
192; 7 Profile - Generic Device, useragent=UPnP front-end to MPD|Linux/3.12.5-100.tld3.fc18.armv5tel.kirkwood, UPnP/1.0, Portable SDK for UPnP devices/1.6.18
324; 8 Activate - SOtM sMS 100:http-get:*:audio/dsd:*,http-get:*:audio/wav:*,http-get:*:audio/wave:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-aiff:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-mpeg:*,http-get:*:audio/mp1:*,http-get:*:audio/aac:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/m4a:*,http-get:*:audio/mp4:*,http-get:*:audio/x-m4a:*,http-get:*:audio/vorbis:*,http-get:*:audio/ogg:*,http-get:*:audio/x-ogg:*,http-get:*:audio/x-scpls:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=44100;channels=1:*,http-get:*:audio/L16;rate=48000;channels=1:*,http-get:*:audio/L16;rate=88200;channels=1:*,http-get:*:audio/L16;rate=96000;channels=1:*,http-get:*:audio/L16;rate=176400;channels=1:*,http-get:*:audio/L16;rate=192000;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=44100;channels=2:*,http-get:*:audio/L16;rate=48000;channels=2:*,http-get:*:audio/L16;rate=88200;channels=2:*,http-get:*:audio/L16;rate=96000;channels=2:*,http-get:*:audio/L16;rate=176400;channels=2:*,http-get:*:audio/L16;rate=192000;channels=2:*
686; 9 ProcessMessage 192.168.0.22 - device 'uuid:uuid:0501c0a8-c29d-c092-32b9-14:0c:76:44:5f:0d:Freebox Player',valid=True
1472; 10 Profile - Generic Device, useragent=Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0
1519; 11 Profile - Generic Device, useragent=Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0
1567; 12 Profile - Generic Device, useragent=Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0
1617; 13 Profile - Generic Device, useragent=Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0
1667; 14 Profile - Generic Device, useragent=Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0
1699; 15 Profile - Generic Device, useragent=Linux/2.6 UPnP/1.0 fbxupnpav/6.0
1716; 16 Profile - Generic Device, useragent=DLNADOC/1.50 SEC_HHP_[Tablet]Angel & Paul (Galaxy Tab S)/1.0
1722; 17 Profile - Generic Device, useragent=Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0
3711; 18 Play - F:\Download\Rock\TOOL Lateralus (LINN LP12 vinyl) FLAC\01 The Grudge.flac (http://192.168.0.50:49382/files/A0833A0A4ACDC3FDp.x-flac)
3783; 19 Profile - Generic Device, useragent=Music Player Daemon 0.18.11
3814; 20 GetFile[1] 192.168.0.50 - GET F:\Download\Rock\TOOL Lateralus (LINN LP12 vinyl) FLAC\01 The Grudge.flac to 192.168.0.14
4015; 21 StateTimer - Playing,old=Stopped


I tried JRiver trial, everything is working without any tuning.
I tried Foobar, got almost the same problems.

Just need your help on that...
Thanks

Loco
Title: Re: UPnP/ DLNA device support
Post by: Barbie-qu on January 11, 2015, 07:17:27 PM
Hi Steven,
I'm getting some strange behaviour trying to use this with a Naim mu-so.

Steps I followed are as follows:
I set up a new profile and tried playing to my Naim mu-so which is recognised as a device in the Player output

Here's my plugin configuration: http://imgur.com/CeQu50F

The track loads into the Now Playing panel, but will not play. The play symbol shows it is playing.

I changed the settings to play a continuous stream, thus forcing transcoding, and as I saved the settings the mu-so started playing a different track. It had triggered BubbleUPnP to open on my phone and was playing the last loaded playlist.
It would still not play the track I requested, with same behaviour as above.

Here's the log: https://dl.dropboxusercontent.com/u/16129398/UpnpErrorLog_20150111.dat

Incidentally, the server component looks to be working, as I can see and play my Musicbee library from the Naim.
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on January 13, 2015, 09:39:54 PM
Hello Steven
Thanks for the DLNA plugin It has made MB pretty much the perfect program. However the DLNA device I want to send to is a Roberts radio 83i.
I can see MB music server on the Roberts and can access my music onto the radio and play it using the MB server. But I cant see the device in MB. I have pasted  the error log for you to look at.
Thanks

2; 1 Initialise - 13/01/2015 21:27:40
15; 2 GetNetworkAddresses - 192.168.1.8,dns=True,name=Local Area Connection,speed=100000000
15; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
15; 4 GetNetworkAddresses - http://192.168.1.8:49382
130; 5 ProcessMessage 192.168.1.2 - device 'uuid:0a21fe81-00aa-1000-8bb9-c4576e80c860:[BD]H6500',valid=True
174; 6 NewMediaRendererDevice:http://192.168.1.14/dd.xml - Root element is missing.
174; 7 ControlListen - Root element is missing.
523271; 8 NewMediaRendererDevice:http://192.168.1.14/dd.xml - Root element is missing.
523272; 9 ListenNotify - Root element is missing.
529780; 10 NewMediaRendererDevice:http://192.168.1.14/dd.xml - Root element is missing.
529781; 11 ListenNotify - Root element is missing.
713746; 12 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
Title: Re: UPnP/ DLNA device support
Post by: Steven on January 14, 2015, 10:21:31 AM
i will spend some time looking at these issues in the next week or so.

@johnnyboy, if you enter http://192.168.1.14/dd.xml in your browser do you get any output and if so, can you send it to me
Title: Re: UPnP/ DLNA device support
Post by: MrLocoLuciano on January 15, 2015, 07:42:10 AM
Thank you Steven  ;)
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on January 15, 2015, 11:36:29 PM
Hope this is what you need Steven.

This XML file does not appear to have any style information associated with it. The document tree is shown below.
     




<root><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-

org:device:MediaRenderer:1</deviceType><presentationURL>/web</presentationURL><pnpx:X_hardwareId>VEN_2A2D&DEV_0003

&SUBSYS_0004&REV_01

VEN_0033&DEV_0005&REV_01</pnpx:X_hardwareId><pnpx:X_compatibleId>MS_DigitalMediaDeviceClass_DMR_V001</pnpx:X_compa

tibleId><pnpx:X_deviceCategory>MediaDevices</pnpx:X_deviceCategory><df:X_deviceCategory>Multimedia.DMR</df:X_devic

eCategory><microsoft:magicPacketWakeSupported>0</microsoft:magicPacketWakeSupported><microsoft:magicPacketSendSupp

orted>1</microsoft:magicPacketSendSupported><dlna:X_DLNADOC>DMR-1.50</dlna:X_DLNADOC><friendlyName>Stream 83i

002261012978</friendlyName><manufacturer>Roberts Radio

Limited</manufacturer><manufacturerURL>http://www.robertsradio.co.uk</manufacturerURL><modelDescription>ir-mmi-

FS2026-0200-0048_STR83iau_V2.2.15.EX21499-v1.18</modelDescription><modelName>Stream

83i</modelName><modelNumber>Stream

83i</modelNumber><modelURL>http://www.robertsradio.co.uk/</modelURL><serialNumber>080412071c011f270100190bffffafff

</serialNumber><UDN>uuid:3dcc7100-f76c-11dd-87af-

002261012978</UDN><iconList><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>32</dep

th><url>/icon.png</url></icon><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>32</

depth><url>/icon.jpg</url></icon><icon><mimetype>image/png</mimetype><width>120</width><height>120</height><depth>

32</depth><url>/icon2.png</url></icon><icon><mimetype>image/jpeg</mimetype><width>120</width><height>120</height><

depth>32</depth><url>/icon2.jpg</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-

org:service:AVTransport:1</serviceType><serviceId>urn:upnp-

org:serviceId:AVTransport</serviceId><SCPDURL>AVTransport/scpd.xml</SCPDURL><controlURL>AVTransport/control</contr

olURL><eventSubURL>AVTransport/event</eventSubURL></service><service><serviceType>urn:schemas-upnp-

org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-

org:serviceId:ConnectionManager</serviceId><SCPDURL>ConnectionManager/scpd.xml</SCPDURL><controlURL>ConnectionMana

ger/control</controlURL><eventSubURL>ConnectionManager/event</eventSubURL></service><service><serviceType>urn:sche

mas-upnp-org:service:RenderingControl:1</serviceType><serviceId>urn:upnp-

org:serviceId:RenderingControl</serviceId><SCPDURL>RenderingControl/scpd.xml</SCPDURL><controlURL>RenderingControl

/control</controlURL><eventSubURL>RenderingControl/event</eventSubURL></service></serviceList></device></root>
Title: Re: UPnP/ DLNA device support
Post by: Steven on January 16, 2015, 06:11:31 PM
yes it appears the XML is not well formed and i would need to do some hacking with the data. I will try and look at it in a week or so
Title: Re: UPnP/ DLNA device support
Post by: mattbaker88 on January 17, 2015, 05:20:44 PM
Perfect. Thanks for adding it to the output menu.
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on January 17, 2015, 10:41:51 PM
thanks look forward to your post. I'm sure you will come up with the answer
Title: Re: UPnP/ DLNA device support
Post by: sssweat on January 18, 2015, 08:15:40 PM
Hi Steven,

I have a Sonos Play 5 and I think I have a similar problem to the one of Johnnyboy. My Sonos is well recognized by Windows Media Player so this bug may come from MB unfortunately ;)
I tested on my Philips TV and my xbox360, everything's fine.

So I have a "Root Element is missing" error in the log, here are the log and the xml from my Sonos:
https://dl.dropboxusercontent.com/u/6747852/UpnpErrorLog.dat
https://dl.dropboxusercontent.com/u/6747852/192.168.1.31_1400_xml_device_description.xml.txt

Hope you can something with it ! :)

Tested on MB v2.5.5491 with plugin from the first post
Title: Re: UPnP/ DLNA device support
Post by: BeeBeeKing on January 19, 2015, 04:58:46 AM
This is cool! Just discovered this feature.
I am playing one lot of music from the musicbee library on my bedside (Kogan) digital internet/UPnP/radio while I am playing another album to our Pioneer X-SMC3/4 in the living area. Thank you Steven.
Title: Re: UPnP/ DLNA device support
Post by: MrLocoLuciano on January 21, 2015, 11:10:56 PM
Problem of the night !

MusicBee v2.5.5478.29491 (Win6.1), 22 janv. 2015 0:05:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Threading.ThreadPoolWorkQueue.EnsureCurrentThreadHasQueue()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Title: Re: UPnP/ DLNA device support
Post by: MrLocoLuciano on January 24, 2015, 12:09:16 AM
Hi Steven

Got a question about the transcoding and the DLNA sent format.
I want everything to be in maximum quality.
So I configured that way.
http://zupimages.net/viewer.php?id=15/04/xdmb.jpg
Am I right ? Is it the correct way to do ?
We can read at the bottom right side "when transcoding the source file data" and I choosed PCM 24bits.
When does it transcode ?

Thanks.  ;)
Title: Re: UPnP/ DLNA device support
Post by: Curt on January 24, 2015, 11:53:49 PM
Hi Steven,

for this feature I have wait over three years. It works fine with my T+A Music Player MK I

Thank you very very very much  :)

Curt
Title: Re: UPnP/ DLNA device support
Post by: dkfree1 on January 28, 2015, 03:21:57 PM
Hi-
Regarding the problem streaming to a Logitech Squeezebox, I am having the same problem with WMA that was described earlier for FLAC. That is, MP3 files stream fine, but WMA files result in silence and "noise bursts".
Title: Re: UPnP/ DLNA device support
Post by: MrLocoLuciano on January 28, 2015, 05:40:10 PM
hi dk

for what I know it's network problem. Not good enough !
Title: Re: UPnP/ DLNA device support
Post by: hiccup on January 28, 2015, 06:12:29 PM
for what I know it's network problem. Not good enough !

No it isn't. I have the same problem on a well functioning wired gigabit network.

Do you have a Squeezebox yourself?
Title: Re: UPnP/ DLNA device support
Post by: MrLocoLuciano on January 28, 2015, 07:07:56 PM
SOtM sMS-100... the same  ;)
Title: Re: UPnP/ DLNA device support
Post by: hiccup on January 28, 2015, 07:11:06 PM
SOtM sMS-100... the same  ;)

And with 'the same', you mean you also have a Logitech Squeezebox?
Title: Re: UPnP/ DLNA device support
Post by: MrLocoLuciano on January 28, 2015, 07:27:49 PM
I got a SOtM sMS-100 seems to me clear enough that i got a SOtM sMS-100...
Working with LMS and squeezlite as a Squeezebox and having the same problems than you !
If it's not the network, well let's hope Steven will find something  :D
Title: Re: UPnP/ DLNA device support
Post by: hiccup on January 28, 2015, 07:49:13 PM
I got a SOtM sMS-100 seems to me clear enough that i got a SOtM sMS-100...
Working with LMS and squeezlite as a Squeezebox and having the same problems than you !

You started by stating that it was probably a network problem.
Then you only said your sotm...  was working fine.
At least now we know that your sotm... is working fine, and your Squeezebox is not. (which dkfree1 and I also already established)

Anyway, I would fully understand if Steven doesn't spend any more time and effort on this, since it seems to be a problem with the LMS software which is required to be running, and probably complicates things a lot. Trying to solve that is no advantage for, or any interest to the majority of MB users.
Title: Re: UPnP/ DLNA device support
Post by: Steven on February 01, 2015, 08:05:19 PM
i am ready to look at the issues now (not the squeezebox one though) - i will probably need people reporting an issue to run a debug version so let me know you are still around
Title: Re: UPnP/ DLNA device support
Post by: sssweat on February 01, 2015, 08:57:09 PM
I'm here if you need a beta tester ;)
Title: Re: UPnP/ DLNA device support
Post by: Steven on February 01, 2015, 09:51:19 PM
this is a debug version:
unzip and replace mb_upnp.dll in the plugins folder
then send me the text at the end where it says "getxmldocument"
http://www.mediafire.com/download/dx4v75w92h954mz/mb_UpnpDebug.zip
Title: Re: UPnP/ DLNA device support
Post by: sssweat on February 02, 2015, 08:20:01 PM
Steven here is the full log file, my Sonos is at the address http://192.168.1.31:1400.
https://dl.dropboxusercontent.com/u/6747852/UpnpErrorLog.dat

And the part you asked for :
97604; 23 getxmldocument - 72,84,84,80,47,49,46,49,32,50,48,48,32,79,75,13,10,67,111,110,116,101,110,116,45,84,121,112,101,58,32,116,101,120,116,47,120,109,108,13,10,84,114,97,110,115,102,101,114,45,69,110,99,111,100,105,110,103,58,32,99,104,117,110,107,101,100,13,10,83,101,114,118,101,114,58,32,76,105,110,117,120,32,85,80,110,80,47,49,46,48,32,83,111,110,111,115,47,50,56,46,49,45,56,51,48,52,48,32,40,90,80,83,53,41,13,10,67,111,110,110,101,99,116,105,111,110,58,32,99,108,111,115,101,13,10,13,10,,len=0,text=HTTP/1.1 200 OK
Content-Type: text/xml
Transfer-Encoding: chunked
Server: Linux UPnP/1.0 Sonos/28.1-83040 (ZPS5)
Connection: close
Title: Re: UPnP/ DLNA device support
Post by: Steven on February 02, 2015, 09:12:34 PM
ok thanks - i know what the issue is. I will make a change but will need you to test it
Title: Re: UPnP/ DLNA device support
Post by: Steven on February 03, 2015, 07:51:24 PM
@johnnyboy and @sssweat
i have made an attempt to address your isssues with the plugin - they are 2 completely different issues and i would appreciate confirmation either way whether its working or not from both of you.
@johnnyboy,  given the slopiness that the developers of you device software i wont be surprised if you encounter a new xml issue further on but just send me the debug log if thats the case

unzip and replace the existing mb_upnp.dll file
http://www.mediafire.com/download/jcv3h98ankqlsfs/mb_Upnp.zip
Title: Re: UPnP/ DLNA device support
Post by: sssweat on February 04, 2015, 05:51:17 PM
That's better :)
I can connect to the Sonos, but no sound and songs stop at about 20 seconds. On my Sonos I have a message saying I can't connect to http://25.1.189.146:49382/  ...

And the log :
https://dl.dropboxusercontent.com/u/6747852/UpnpErrorLog%20%282%29.dat
Title: Re: UPnP/ DLNA device support
Post by: Steven on February 04, 2015, 06:37:04 PM
there are a few quite confusing things. The first is why the plugin Initialise function is being called twice at the same time. Do you have 2 instances of the plugin in the Plugins folder with different names (you need to delete the old one)
The http server is failing to start so i guess thats why your device cant connect but the first thing to solve is the 2 initialisations
Title: Re: UPnP/ DLNA device support
Post by: Exiled on February 06, 2015, 12:01:27 AM
Confirmed to work with the Sony SRS-X7. All default settings.
Title: Re: UPnP/ DLNA device support
Post by: Barbie-qu on February 10, 2015, 10:49:56 PM
Hi Steven,
Here is my  log from the debug version:

https://dl.dropboxusercontent.com/u/16129398/upnp%20debug%20getxmldocument_20150210.txt

I used the same settings and player as I described in post 57.
Best regards
Title: Re: UPnP/ DLNA device support
Post by: Steven on February 11, 2015, 06:56:40 AM
Here is my  log from the debug version:
i dont see anything wrong - what issue are you having?
Title: Re: UPnP/ DLNA device support
Post by: Steven on February 11, 2015, 09:34:17 PM
first post updated with a few bug fixes - its only needed by people having problems. There is no new functionality
Title: Re: UPnP/ DLNA device support
Post by: Barbie-qu on February 11, 2015, 10:11:14 PM
Hi Steven
This is the steps I followed tonight together with my debug log

1) Naim mu-so is switched on, but not on upnp input
2) I select a track and choose 'Output to: Naim mu-so' from right click menu
3) press play and i get an error:  Unable to start playback (error=BASS_OK)
4) I change to upnp using rubbish naim app. I can see the musicbee upnp library, but i still get the same error when i press play in musicbee
5) restart musicbee and try again - same error
https://dl.dropboxusercontent.com/u/16129398/upnp%20debug%20getxmldocument_20150211.txt
Title: Re: UPnP/ DLNA device support
Post by: Steven on February 12, 2015, 05:49:08 PM
This is the steps I followed tonight together with my debug log
I did a google of your device and the error. It seems other applications have the same "501 Action failed" problem with Naim devices and didnt see any resolution.
So as it stands i cant help.
Does it work with WMP using the "Play To" command? and which application have you been using that works?
Title: Re: UPnP/ DLNA device support
Post by: Barbie-qu on February 12, 2015, 08:06:00 PM
Just tried it with wmp and it doesn't work either. I get partial success with Bubbleupnp, but only after i've connected to the bubbleupnp server and played a track using the naim control point first.
Do you have any pointers I could ask Naim about to improve their compatibility?
Thanks for looking into this.

Edit: just googled some 2010 threads on  501 Action failed error with Naim, and realised i wrote them! Not a good sign seeing as my mu-so is a new generation product. Having said that, Bubbleupnp  now works fine with my old Naim Uniti.
Title: Re: UPnP/ DLNA device support
Post by: Steven on February 12, 2015, 08:45:21 PM
Edit: just googled some 2010 threads on  501 Action failed error with Naim, and realised i wrote them! Not a good sign seeing as my mu-so is a new generation product. Having said that, Bubbleupnp  now works fine with my old Naim Uniti.
its probably the sqme posts i saw but i couldnt see how it was resolved
Title: Re: UPnP/ DLNA device support
Post by: Barbie-qu on February 12, 2015, 10:43:42 PM
No, the solution wasn't  posted. Best I can do is point Naim back in the direction of those posts and see if they are aware.
Title: Re: UPnP/ DLNA device support
Post by: Jkesnk on February 18, 2015, 06:52:49 AM
UPnP/DLNA is a great plugin...puts MB on a new level... My output to Sonos gives me the error....  "unable to start playback (error=BASS_OK) " .... I read the earlier posts (sssweat)...and I have all the new add-ons installed and latest MB......It would be so Coool to use Sonos thru MB.... ... Also I have a Pioneer Elite SC 05 receiver and it's playing good thru MB.... but the volume control on MB does not control any volume..... only the receiver controls volume...  Is this normal for out puts to DLNA components ? ....  UPnP/DLNA gives more  " Power To The BEE " ........ 
Title: Re: UPnP/ DLNA device support
Post by: ruslakall on March 13, 2015, 09:37:26 PM
I use the "Play To" option to choose my Samsung TV.
and then the default player pops up on my tv screen.
But no matter how much I change the artwork option it doesn't change what appears on my tv, still 160px.

The samsung player supports higher resolutions from USB. Haven't tried any other DLNA / UPnP source.

If the player didn't support higher resolutions via UPnP/DLNA wouldn't it be blank then?
Does the custom artwork size only apply when browsing MusicBee as a DLNA server?
Title: Re: UPnP/ DLNA device support
Post by: mackanz on April 02, 2015, 05:36:41 PM
Thought i'd share an issue. As soon as i put the plugin in the plugin folder. i Get the Musicbee has stopped working with the following error.

Problem Event Name:   APPCRASH
  Application Name:   MusicBee.exe
  Application Version:   2.4.5404.16303
  Application Timestamp:   54422d60
  Fault Module Name:   clr.dll
  Fault Module Version:   4.0.30319.34014
  Fault Module Timestamp:   52e0b784
  Exception Code:   c0000005
  Exception Offset:   0019e4e2
  OS Version:   6.3.9600.2.0.0.256.4
  Locale ID:   1044
  Additional Information 1:   45cc
  Additional Information 2:   45cc8a2b34f6c149f455a3b63a0dd169
  Additional Information 3:   2965
  Additional Information 4:   296592ad4f40693a037c0e37d4b311b7


Win 8.1 64 bit

As soon as i remove the plugin, Musicbee works.
Title: Re: UPnP/ DLNA device support
Post by: Steven on April 02, 2015, 06:26:17 PM
Thought i'd share an issue. As soon as i put the plugin in the plugin folder. i Get the Musicbee has stopped working with the following error.
please re-read and follow the instructions in the first post
Title: Re: UPnP/ DLNA device support
Post by: Pingaware on April 02, 2015, 06:48:45 PM
Thought i'd share an issue. As soon as i put the plugin in the plugin folder. i Get the Musicbee has stopped working with the following error.
please re-read and follow the instructions in the first post

Specifically the bit about using the latest version.
Title: Re: UPnP/ DLNA device support
Post by: catweazle9 on April 04, 2015, 01:34:13 PM
I have the plugin working and can play from MusicBee to my Marantz MCR510 music streamer.

However, when music is playing I can no longer skip forward or backward in a track. If I click in the MusicBee wave bar, the 'current position' line doesn't update. If I use the keyboard shortcut to skip forward 5 second, the current position line in the wave bar briefly jumps forward but immediately jumps back again.

Is this a known limitation of the UPnP support?

If I reverse things have the Marantz device browse and play from the MusicBee library, this also plays OK but unfortunately the Marantz doesn't allow me to skip forward in the track. However, if I instead use AirPlay to connect the Marantz to my iTunes library, I can then skip forwards and backwards within a track, but I'm then stuck using iTunes!

Thanks,

    --- John.
Title: Re: UPnP/ DLNA device support
Post by: Boile on April 04, 2015, 07:33:10 PM
Hi!
The same with Onkyo TX-8050 !
With MediaMonkey and WMP is skipping  forward or backward Ok

regards
Title: Re: UPnP/ DLNA device support
Post by: ncs on April 26, 2015, 06:09:44 PM
Hi Steven, Hi all!
I still can't get the plugin working together with a Peaq Munet PMN400-B. With WMP all works perfect! The debug report shows the following:
3; 1 Initialise - 26.4.15 19:05:00
31; 2 GetNetworkAddresses - 192.168.178.24,dns=True,name=LAN-Verbindung 2,speed=1000000000
31; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
31; 4 GetNetworkAddresses - http://192.168.178.24:49382
169; 5 ProcessMessage 192.168.178.34 - device 'uuid:93b2abac-cb6a-4857-b891-002261911f62:My MUNET 911F62',valid=False
4521; 6 ProcessMessage 192.168.178.34 - device 'uuid:93b2abac-cb6a-4857-b891-002261911f62:My MUNET 911F62',valid=False
6950; 7 ProcessMessage 192.168.178.34 - device 'uuid:93b2abac-cb6a-4857-b891-002261911f62:My MUNET 911F62',valid=False
9363; 8 ProcessMessage 192.168.178.34 - device 'uuid:93b2abac-cb6a-4857-b891-002261911f62:My MUNET 911F62',valid=False

Can someone help, please?
Norbert
Title: Re: UPnP/ DLNA device support
Post by: feaRless on May 07, 2015, 07:22:01 PM
Hi Steven, Hi all!

I just recently discovered MusicBee and love this software from the start.
I now wanted to use the dlna functionality for my Yamaha RX-V477, but my receiver does not recognise MusicBee,
the "server" selection is empty.

This is what my UpnpErrorLog.dat shows:
2; 1 Initialise - 07.05.2015 20:09:06
16; 2 GetNetworkAddresses - 192.168.2.5,dns=True,name=LAN-Verbindung 4,speed=1000000000
16; 3 GetNetworkAddresses - http://192.168.2.5:49382
153; 4 ProcessMessage 192.168.2.58 - device 'uuid:5f9ec1b3-ed59-1900-4530-00a0deb738f0:Yamaha RX-V477',valid=True
1440; 5 Profile - Generic Device, useragent=Linux/2.6.35 UPnP/1.0 NDS_MHF DLNADOC/1.50
1475; 6 Profile - Generic Device, useragent=Linux/2.6.35 UPnP/1.0 NDS_MHF DLNADOC/1.50

I can however choose the Yamaha as my output device in the MB setting, so MB sees the receiver, but the receiver does not see MB.
Sadly, this approach does not output audio on the receiver.

With this approach the log looks like this:
3; 1 Initialise - 07.05.2015 20:51:49
16; 2 GetNetworkAddresses - 192.168.2.5,dns=True,name=LAN-Verbindung 4,speed=1000000000
16; 3 GetNetworkAddresses - http://192.168.2.5:49382
293; 4 ProcessMessage 192.168.2.58 - device 'uuid:5f9ec1b3-ed59-1900-4530-00a0deb738f0:Yamaha RX-V477',valid=True
1446; 5 Profile - Generic Device, useragent=Linux/2.6.35 UPnP/1.0 NDS_MHF DLNADOC/1.50
1480; 6 Profile - Generic Device, useragent=Linux/2.6.35 UPnP/1.0 NDS_MHF DLNADOC/1.50
17173; 7 Profile - Generic Device, useragent=AV Receiver|
17175; 8 Profile - Generic Device, useragent=AV Receiver|
17204; 9 Activate - Yamaha RX-V477:http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,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-wavetunes:*:audio/x-ms-wma:*,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320

However i am able to use WMP to play files from the MB server. I can even play files from MB over WMP and output to my RX-V477, but i cannot
get my RX-V477 do directly recognise the MB server (it sees the wmp-server however when activated).

Any suggestions?
Thanks,
Tobias
Title: Re: UPnP/ DLNA device support
Post by: jmccabe on May 09, 2015, 11:45:54 PM
I guess I'm being dim, but I thought that I might be able to use MusicBee to access my Twonky server on my NAS, and this plugin might be what I'm looking for. Am I just plain wrong?
Title: UPnP/ DLNA library browsing
Post by: dr0ne on May 29, 2015, 07:33:43 PM
hello steven,

succesfully using the plugin with my yamaha cd-n500, which is a great player btw ;-)

IMHO there is just one feature missing, browsing the file/folder location via my device or an app like bubbleupnp
if an update is going to happen I would be more than happy if you could make this possible...

or can I already do this by editing a config file?


Title: Re: UPnP/ DLNA device support
Post by: gpzbc on May 29, 2015, 07:43:39 PM
I think you might be missing something.  I use BubbleUPnP and am able to browse my music folder.
Title: Re: UPnP/ DLNA device support
Post by: ganymede2314 on June 17, 2015, 02:13:39 AM
Will playback of music over DLNA be reflected in the playback statistics such as Play Count and Last Played?  With the Playstation 4 getting DLNA support i'd love to have it pull from my MusicBee library for background music while gaming. 
Title: Re: UPnP/ DLNA device support
Post by: Steven on June 17, 2015, 07:10:48 AM
if playing to the device from MB then yes.
If playing from the device using MB as a server then no
Title: Re: UPnP/ DLNA device support
Post by: deroby on June 23, 2015, 11:11:47 AM
FYI: works nicely with my Yamaha HTR-4065 using default plugin settings (GenericDevice)

*1* Trying to play from MB GUI to the Yamaha:
* Player output recognized Yamaha device (although it seems I needed to restart MB after I started up the Yamaha; maybe I was impatient?)
* Yamaha needs to be set to NET/SERVER first otherwise pressing Play in MB will result in error
* Yamaha front shows what's playing
* I can do Previous/Pause/Play/Next from the remote control on the Yamaha
* I can do Previous/Pause/Play/Next as well as change the current postition in the track from the MB GUI

*2* The other way around
* The Yamaha shows MusicBeel Media in the list of DLNA servers
* I can browse around my music library
* Yamaha front shows what's playing
* I can do Previous/Pause/Play/Next from the remote control on the Yamaha
* The MB GUI does not show me what's being played, but in a way that's normal I think

The only thing that was kind of strange was that to go from test 1 to test 2 I needed to tell the MB GUI to STOP playing. Otherwise it would overrule the song I chose in test 2 with the one that was playing in test 1. It would then start playing "song 2" and after 2 seconds jump back to "song 1" that was being played by the MB GUI.

Thank you so much for adding this!
Title: Re: UPnP/ DLNA device support
Post by: deroby on June 23, 2015, 12:12:37 PM
One small hiccup: it seems that when playing radio streams the music stops after a short time. I'm not sure if this an issue with MB or my AVR; it's known for being picky =)

e.g.: when I add http://bbcwssc.ic.llnwd.net/stream/bbcwssc_mp1_ws-eieuk to the radio stations it plays for about 20-30 seconds and then simply stops.

Weird. Does MB 'read' the stream, optionally transcodes it and then sends a 'new' stream to the renderer device? Or does it simply pass the original URL and let the AVR figure it out?

Title: Re: UPnP/ DLNA device support
Post by: fkm on June 24, 2015, 02:41:55 PM
Has anyone been able to get this working with Sonos players? eg output to Sonos player?

Have set the player output to my Sonos but files not playing...
Title: Re: UPnP/ DLNA device support
Post by: Ronin47 on July 11, 2015, 06:56:43 PM
This plugin makes an already amazing music player unbeatable  ;D

One quick question i am using it to stream to android devices i can see and access the music easy enough, can browse by artist, album etc.

Is it possible to have a browse by folder option ? , its just i store new stuff in a folder and find browsing by folder easier.


Cheers Again
Title: Re: UPnP/ DLNA device support
Post by: SporkMaster on July 22, 2015, 08:48:50 AM
Apologies if this has been solved but I read most of the thread and didn't see anything. I'm trying to get playback to work on my Xbox 360, and the 360 can see my MB server just fine and fetches all the tags and displays all my artists and songs, but playback won't work and the Xbox reports that "the format is unsupported" for any song I try to play. Any guesses to point me in the right direction?

(I can use BubbleUPnP and force playback, but it's a bit slow and kind of a roundabout way of doing it so I'd prefer not to if possible.)
Title: Re: UPnP/ DLNA device support
Post by: Steven on July 22, 2015, 06:58:18 PM
i dont think anyone ever confirmed xbox worked ok - it requires special treatment. Unfortunately i dont have any time for the next few months. If you are still interested, check back around November and i can create a debug version to figure out whats going on
Title: Re: UPnP/ DLNA device support
Post by: DeMeul on August 04, 2015, 11:17:52 AM
Hi Steven,

I am using MB for playing music locally on laptop and PC's.
Having an audio set connected to a RaspBerry Pi with RASPBMC installed, I use FB as the DLNA controller.
An other audio set is connected to an ACRyan set (PlayOn HD) which has an embedded renderer that is working okay with FB.
I would like to use MB for that purpose because I prefer MB over FB, but when trying I get the message "unable to start playback (error=BASS_OK)".
I have the latest version of MB and the UPnP plugin installed and read all the posts about it.
Please advice.

You may find the log and settings in:

https://www.dropbox.com/sh/msbmy5d9xg33dis/AABpjz8aW3kRDqE23Sbl81Nia?dl=0

The log will show the succesful connection to the Pi and a couple of attempts to use the ACRyan (RealtekVOD renderer).
Last.fm is not being used.

Thanks in advance,

Ton
Title: Re: UPnP/ DLNA device support
Post by: RealPetChicken on August 12, 2015, 11:48:03 PM
Hi Steven,

I am using MB for playing music locally on laptop and PC's.
Having an audio set connected to a RaspBerry Pi with RASPBMC installed, I use FB as the DLNA controller.
An other audio set is connected to an ACRyan set (PlayOn HD) which has an embedded renderer that is working okay with FB.
I would like to use MB for that purpose because I prefer MB over FB, but when trying I get the message "unable to start playback (error=BASS_OK)".
I have the latest version of MB and the UPnP plugin installed and read all the posts about it.
Please advice.

You may find the log and settings in:

https://www.dropbox.com/sh/msbmy5d9xg33dis/AABpjz8aW3kRDqE23Sbl81Nia?dl=0

The log will show the succesful connection to the Pi and a couple of attempts to use the ACRyan (RealtekVOD renderer).
Last.fm is not being used.

Thanks in advance,

Ton

I have used it on my Xbox one and let me tell you it is better than windows media player dlna. Musicbee dlna is faster, and actually has genres in folders for different albums.
Title: Re: UPnP/ DLNA device support
Post by: DeMeul on August 14, 2015, 01:35:23 PM
Hi RealPetChicken,

No doubt: MB (and FB) are much better than Windows Media Player.
But having my music collection stored on a NAS, WMP can not be used since it only accepts its library locally.
WMP is supporting DLNA only partionally.

Ton
Title: Re: UPnP/ DLNA device support
Post by: Kazatan on August 19, 2015, 09:25:44 AM
The second link (mediafire plugin link) seems to be broken for me. Just a blank page. It could just be me I guess - can anyone confirm it's still working for them? Thanks
Title: Re: UPnP/ DLNA device support
Post by: Steven on August 19, 2015, 05:49:12 PM
working fine for me - probably a temporary glitch
Title: Re: UPnP/ DLNA device support
Post by: Kazatan on August 19, 2015, 06:06:00 PM
I've just tried it out at home and it's giving me a 401 - Unauthorized response. I don't know how mediafire works with it's sharing urls.
Title: Re: UPnP/ DLNA device support
Post by: francisw19 on September 03, 2015, 02:42:45 AM
Firstly, this is a great plug-in.  I'm really happy to see this!

But, I'm feeling like a bit of a noob at the moment.  I've installed MusicBee on both my desktop PC and my Home Theater PC with the uPnP plug-in.  I got the Windows firewall prompt (which I allowed) the next time I started MB so it would seem the plug-in is trying to communicate over the network.  But, I cannot see anything in the MusicBee GUI to browse DLNA devices.  I know this is kind of a dumb question, but can anyone point me in the right direction?

Thanks in advance! :)
Title: Re: UPnP/ DLNA device support
Post by: hiccup on September 03, 2015, 07:27:41 AM
But, I cannot see anything in the MusicBee GUI to browse DLNA devices.  I know this is kind of a dumb question, but can anyone point me in the right direction?
Welcome to the forum francisw19.

Depending on what you mean by browsing:

If you mean browsing for the devices themselves, you should find them under Preferences > Player > sound device
(or in the context menu > 'output to')

If you mean browsing for music content present on those other devices, that is not possible at this moment.
This plugin makes MusicBee a UPnP server. Not a UPnP client.
Title: Re: UPnP/ DLNA device support
Post by: francisw19 on September 03, 2015, 03:17:27 PM
But, I cannot see anything in the MusicBee GUI to browse DLNA devices.  I know this is kind of a dumb question, but can anyone point me in the right direction?
Welcome to the forum francisw19.

Depending on what you mean by browsing:

If you mean browsing for the devices themselves, you should find them under Preferences > Player > sound device
(or in the context menu > 'output to')

If you mean browsing for music content present on those other devices, that is not possible at this moment.
This plugin makes MusicBee a UPnP server. Not a UPnP client.

Ah, I see...I was indeed looking for something to browse music content on the other devices.

No problem, though.  I really just want to play my music collection from my main desktop to my HTPC and this plug-in will help me do that still.

Thanks for the reply, hiccup.  Much appreciated! :)
Title: Re: UPnP/ DLNA device support
Post by: TeutonJon78 on September 06, 2015, 07:07:50 AM
I'm seeing some new behavior with this plugin today (or I'm just hitting it for the first time).

I'm running 2.5.5721 and 1.0.0.0 of the uPNP plugin. If my TV is off, it seems to work fine and i can send music to receiver just fine. However, if the TV is on, CPU usage climbs to max and memory just keeps getting slowly eaten up, even if not playing anything. I attached procmon to MusicBee and it seems that it's sending out/receiving a constant stream of data with the TV (LG UB8500). If I disable the plugin, usage returns back to normal.

Anyone else seeing that with traffic from a smart TV?

Edit: debugging step 1 -- with TV off and plugin enabled, no CPU rise
Title: Re: UPnP/ DLNA device support
Post by: CloudHead on September 14, 2015, 05:01:02 PM

I'm running 2.5.5721 and 1.0.0.0 of the uPNP plugin. If my TV is off, it seems to work fine and i can send music to receiver just fine. However, if the TV is on, CPU usage climbs to max and memory just keeps getting slowly eaten up, even if not playing anything. I attached procmon to MusicBee and it seems that it's sending out/receiving a constant stream of data with the TV (LG UB8500). If I disable the plugin, usage returns back to normal.

Anyone else seeing that with traffic from a smart TV?

Edit: debugging step 1 -- with TV off and plugin enabled, no CPU rise

Hi.

I've run into the same type of behavior with the UPNP plugin.
It's playing great but after a while (seem random) MusicBee starts eating the CPU and RAM.
I'm streaming to a Freebox (french ISP TV box), but it seem to behave the same on other stream target as well.

How can I help debuging this ? I'd be delighted to help providing whatever is needed.

Anyway, thanks for this great software that I've been happilly using for years.

Edit:
MusicBee v2.5.5728.33586 (Win6.1), 14 Sep 2015 21:06:

System.OutOfMemoryException: Une exception de type 'System.OutOfMemoryException' a été levée.
   à System.Threading.ThreadPoolWorkQueue.EnsureCurrentThreadHasQueue()
   à System.Threading.ThreadPoolWorkQueue.Dispatch()
Title: Re: UPnP/ DLNA device support
Post by: psychoadept on October 10, 2015, 05:47:10 PM
Am I overlooking the wiki page for this plugin?  Just want to check before I make one...
Title: Re: UPnP/ DLNA device support
Post by: phred on October 10, 2015, 06:01:03 PM
Am I overlooking the wiki page for this plugin?  Just want to check before I make one...
A search on the Wiki for "dlna" brings up nothing.  So it would appear you have some work in front of you.   ;)
Title: Re: UPnP/ DLNA device support
Post by: psychoadept on October 10, 2015, 06:40:46 PM
A search on the Wiki for "dlna" brings up nothing.  So it would appear you have some work in front of you.   ;)

Just a little work: http://musicbee.wikia.com/wiki/UPnP-DLNA_Plugin
Title: Re: UPnP/ DLNA device support
Post by: phred on October 10, 2015, 06:44:40 PM
A search on the Wiki for "dlna" brings up nothing.  So it would appear you have some work in front of you.   ;)

Just a little work: http://musicbee.wikia.com/wiki/UPnP-DLNA_Plugin
Nicely done.  And quickly, too.
Title: Re: UPnP/ DLNA device support
Post by: gyary on October 13, 2015, 05:29:15 AM

There are quite a few configuration options that can be set via the Configure button in the plugins panel which should be straight-forward - ask if you are not sure of something.


Hi Steve,

I had the UPnP running till yesterday and suddenly I lost the connection to my device. I have updated the latest files to MusicBee folder, however I do not see my device on the list. Also I have lost the configurations in the plugins panel. Can you please help me with the configuration numbers/parameters?

My UPnP device is Pioneer VSX-823-K

Regards,
Title: Re: UPnP/ DLNA device support
Post by: 3lbriga on October 23, 2015, 12:22:17 AM
Hi Steve,

I've installed your plugin on latest MB 2.5 and for some reason when trying to stream MB to my Denon amp, the amp displays "Server error".
With WMP "play to" works perfect on the same computer. I've tried various options combination in the plugin config menu, no luck (restart MB also / reboot computer also).

Thanks anyone for helping :-)

Here is the log when playing to amp:

8; 1 Initialise - 23/10/2015 01:10:15
156; 2 GetNetworkAddresses - 192.168.1.30,dns=True,name=Wi-Fi,speed=78000000
157; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
158; 4 GetNetworkAddresses - http://192.168.1.30:49382
616; 5 ProcessMessage 192.168.1.45 - device 'uuid:5f9ec1b3-ff59-19bb-8530-0005cd3af0a0:Denon AVR-X2000',valid=True
10415; 6 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
10417; 7 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
10629; 8 Activate - Denon AVR-X2000:http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,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/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,http-wavetunes:*:audio/x-ms-wma:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-mp4:*,http-get:*:image/jpeg:*
24374; 9 Play - D:\_Music\SouNdtracKs-\Casino\Casino - Soundtrack CD1\01 - Georges Delerue - Contempt - Theme de Camille.mp3 (http://192.168.1.30:49382/files/638B145D945B9D44p.mpeg)
26227; 10 StateTimer - Loading,old=Stopped
31618; 11 Play - D:\_Music\SouNdtracKs-\Casino\Casino - Soundtrack CD1\01 - Georges Delerue - Contempt - Theme de Camille.mp3 (http://192.168.1.30:49382/files/638B145D945B9D44p.mpeg)
132158; 12 StateTimer - Stopped,old=Loading
132562; 13 Play - D:\_Music\JaZz-\Paco de Lucia\1972 - El duende flamenco de Paco de Lucía\04-Farruca De Lucia.mp3 (http://192.168.1.30:49382/files/EB6A5DE334F69B8Fp.mpeg)
133504; 14 StateTimer - Loading,old=Stopped
Title: Re: UPnP/ DLNA device support
Post by: Ralf on November 09, 2015, 01:42:43 PM
Hi Steven,
thx also from me for this great peace of code :-)

I tried to use the UPnP-plugin with my Freecom Musicpal but after playin' for around a minute or so it just stops playin'. I looked into the log myself but it didn't tell me anything, so maybe you'll have a look?
Code
2; 1 Initialise - 09.11.2015 14:22:50
22; 2 GetNetworkAddresses - 192.168.251.30,dns=True,name=Ethernet,speed=1000000000
23; 3 GetNetworkAddresses - 192.168.56.1,dns=True,name=VirtualBox Host-Only Network,speed=1000000000
23; 4 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
24; 5 GetNetworkAddresses - http://192.168.251.30:49382
15699; 6 Profile - Generic Device, useragent=pvConnect DLNADOC/1.50
16282; 7 ProcessMessage 192.168.251.23 - device 'uuid:56076f6e-6b79-4d65-641e-0001db096372:MusicPal',valid=True
16287; 8 Profile - Generic Device, useragent=Freecom MusicPal|Linux/2.x.x, UPnP/1.0, pvConnect UPnP SDK/1.0, TwonkyMedia UPnP SDK/1.1
16289; 9 Profile - Generic Device, useragent=Freecom MusicPal|Linux/2.x.x, UPnP/1.0, pvConnect UPnP SDK/1.0, TwonkyMedia UPnP SDK/1.1
16349; 10 Activate - MusicPal:http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=11DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp3:DLNA.ORG_PN=MP3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-wav:DLNA.ORG_OP=11;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/wave:DLNA.ORG_OP=11;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/wav:DLNA.ORG_OP=11;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-m4a:DLNA.ORG_OP=11;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ADTS;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-aac:DLNA.ORG_OP=11;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=8D100000000000000000000000000000
19845; 11 Play - stream (http://192.168.251.30:49382/encode/continuousstream-2147483644.L16)
19954; 12 Profile - Generic Device, useragent=pvConnect DLNADOC/1.50
19955; 13 Profile - Generic Device, useragent=pvConnect DLNADOC/1.50
19956; 14 GetEncodedFile[1] 192.168.251.30 - HEAD  to 192.168.251.23; mime=audio/L16;rate=44100;channels=2,rate=44100,channels=2
19971; 15 Profile - Generic Device, useragent=pvConnect DLNADOC/1.50
19972; 16 Profile - Generic Device, useragent=pvConnect DLNADOC/1.50
19973; 17 GetEncodedFile[2] 192.168.251.30 - GET  to 192.168.251.23; mime=audio/L16;rate=44100;channels=2,rate=44100,channels=2
20164; 18 StateTimer - Loading,old=Stopped
21168; 19 StateTimer - Playing,old=Loading
80713; 20 NetworkChange_NetworkAddressChanged -
80742; 21 GetNetworkAddresses - 192.168.251.30,dns=True,name=Ethernet,speed=1000000000
80743; 22 GetNetworkAddresses - 192.168.56.1,dns=True,name=VirtualBox Host-Only Network,speed=1000000000
80744; 23 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
80745; 24 GetNetworkAddresses - http://192.168.251.30:49382
81691; 25 GetEncodedFile[2] - exit=10054, playtime=61715
81743; 26 SyncNewPlayState - Stopped,mb=Playing
81774; 27 NetworkChange_NetworkAddressChanged -
81790; 28 GetNetworkAddresses - 192.168.251.30,dns=True,name=Ethernet,speed=1000000000
81791; 29 GetNetworkAddresses - 192.168.56.1,dns=True,name=VirtualBox Host-Only Network,speed=1000000000
81792; 30 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
81793; 31 GetNetworkAddresses - http://192.168.251.30:49382
82964; 32 SsdpServer:SendNotifyMessage - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
host=192.168.251.30,nt=upnp:rootdevice,usn=11687931-39e7-47fc-b72b-10cbc9921d12,isalive=True
83016; 33 SsdpServer:SendNotifyMessage - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
host=192.168.251.30,nt=11687931-39e7-47fc-b72b-10cbc9921d12,usn=11687931-39e7-47fc-b72b-10cbc9921d12,isalive=True
83068; 34 SsdpServer:SendNotifyMessage - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
host=192.168.251.30,nt=urn:schemas-upnp-org:device:MediaServer:1,usn=11687931-39e7-47fc-b72b-10cbc9921d12,isalive=True

Update 17.11.2015
Don't know what changed, but it's working now after removing the Musicpal temporarily due to renovation. In case anybody else is having these symptoms please be sure to pull the plug of your receiver and wait 5 minutes :-)
Title: Re: UPnP/ DLNA device support
Post by: hiccup on November 21, 2015, 01:07:05 PM
Is there anybody here, who succeeded in using this plugin to play to a foobar2000 installation on another Windows PC in the network?

I haven't. When using foobar2000 as the player (as upnp server) on my main PC it plays nicely to the other PC running foobar2000 (as upnp client).
But with MusicBee as the player/server I can't get it to play to the other PC running the same foobar2000 as upnp client.

MusicBee's upnp plugin has a foobar2000 preset, so I assume it should be possible, but I would like to know if somebody actually succeeded, so I can try to prevent wasting to much time on this.
Title: Re: UPnP/ DLNA device support
Post by: Steven on November 21, 2015, 01:51:13 PM
it should definitely work with foobar as i tested that arrangement a lot when building the plugin.
Does it work if both are on the same machine?
I wont have time to be able to help further though
Title: Re: UPnP/ DLNA device support
Post by: hiccup on November 21, 2015, 02:18:10 PM
Does it work if both are on the same machine?
I wont have time to be able to help further though

I am not clear how you mean that.
Do you mean by 'if' and 'both' that I should try running both MusicBee (server) and foobar (client) on one and the same machine first? (thus not over a network?)

I completely understand that you are currently not available for (much) help on this, also considering how much time and effort I know this plugin already cost you. (and me too, trying and failing to get my Squeezeboxes working :-(

I just wanted some confirmation that somebody got this working with foobar indeed.
If so, I know it might be worthwhile for me to put in more effort.
For example, I noticed there are several foobar upnp plugins. I might currently be using a different one than one that somebody who might have succeeded in this is using.

If you yourself had this working well over your network, that gives me some courage and assurance to invest more effort in it.
Title: Re: UPnP/ DLNA device support
Post by: Steven on November 21, 2015, 05:08:30 PM
enable logging and then check the error log
Title: Re: UPnP/ DLNA device support
Post by: hiccup on November 21, 2015, 05:24:48 PM
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.
Title: Re: UPnP/ DLNA device support
Post by: DeMeul on December 02, 2015, 04:07:23 PM
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
 
 
Title: Re: UPnP/ DLNA device support
Post by: trombonedani on December 23, 2015, 12:21:50 PM
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 :)
Title: Re: UPnP/ DLNA device support
Post by: robertvan1 on December 23, 2015, 07:50:50 PM
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?
Title: Re: UPnP/ DLNA device support
Post by: WPJoe on January 01, 2016, 01:36:50 AM
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
Title: Re: UPnP/ DLNA device support
Post by: Steven on January 01, 2016, 07:30:28 AM
if the device is detected it will be added to the list of selectable Output devices in Player preferences
Title: Re: UPnP/ DLNA device support
Post by: vpsaxman on January 01, 2016, 05:12:43 PM
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.

Title: Re: UPnP/ DLNA device support
Post by: WPJoe on January 01, 2016, 06:26:07 PM
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?
Title: Re: UPnP/ DLNA device support
Post by: WPJoe on January 03, 2016, 09:10:37 PM
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? 
Title: Re: UPnP/ DLNA device support
Post by: WPJoe on January 03, 2016, 09:22:58 PM
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)...
Title: Re: UPnP/ DLNA device support
Post by: RBoug on January 22, 2016, 09:47:49 AM
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
Title: Re: UPnP/ DLNA device support
Post by: metaverse on January 31, 2016, 05:38:22 PM
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
Title: Re: UPnP/ DLNA device support
Post by: Hoofer on February 16, 2016, 04:02:04 PM
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.
Title: Re: UPnP/ DLNA device support
Post by: Hoofer on February 17, 2016, 03:03:31 PM
Just a note on my last post.  I am using the portable version (2.5.5804) of MusicBee if that helps.
Title: Re: UPnP/ DLNA device support
Post by: Hoofer on February 19, 2016, 11:10:18 PM
Anyone have any ideas as to why MusicBee cannot see any music files yet the TV sees the library just fine?  Please help.  Thanks.
Title: Re: UPnP/ DLNA device support
Post by: hiccup on February 20, 2016, 08:38:40 AM
Anyone have any ideas as to why MusicBee cannot see any music files yet the TV sees the library just fine?  Please help.  Thanks.

Are you aware that the plugin adds server functionality, but it doesn't provide for client functionality?
Title: Re: UPnP/ DLNA device support
Post by: Hoofer on February 20, 2016, 12:45:39 PM
Thanks for the reply.  The client side is in the smart TV and works fine with mediamonkey upnp but not MusicBee.  I can browse the library and play all of the music files, playlists, etc. with MM but when I run MusicBee it shows up on the TV just fine then when I select select Music it says that there are no music files found.  MM shows up the same way on the TV but when I select Music, all of my music files folders, playlist folders, etc, are on the screen and accessible?
Title: Re: UPnP/ DLNA device support
Post by: Hoofer on February 23, 2016, 09:18:08 PM
Can anyone give me a steer on how to solve this?  The Samsung Smart TV client sees the MusicBee Library just like it sees the MediaMonkey Library but when I select the MusicBee Library from the TV remote it says that there are no music files in the library.  When I run MM and select the library from the TV remote everything work fine and I can browse, play, etc. from the MM library just fine.  I'd really like to move to MusicBee but I have to solve this first as it is my primary method of delivering music to my home theater audio system.  Many thanks in advance for any help.  I posted the log 2 or 3 posts back.
Title: Re: UPnP/ DLNA device support
Post by: thomas2b on April 02, 2016, 11:01:54 PM
Hi from France !

Unfortunately, I face the same problem as #124.
I'm using the UPnP plugin to stream music to a Freebox (https://en.wikipedia.org/wiki/Freebox) connected to a basic Samsung TV.
Just as #124 described it, everything's fine until for no particular reason MusicBee starts eating up the CPU and RAM.
It eventually crashes with the following message :
" MusicBee v2.5.5804.26036 (Win6.1), 2 avr. 2016 15:22:
System.OutOfMemoryException: Une exception de type 'System.OutOfMemoryException' a été levée. "

I'm not sure what information I can provide, but I gladly will.

And now for something completely different, a little bit of personal history : I used Winamp (because it was Winamp) from time immemorial until it died, then used AIMP (because it looked like Winamp), then used MediaMonkey (because I was looking for a true music manager), then discovered and switched to MusicBee (because it's simply the best) :)
Title: Re: UPnP/ DLNA device support
Post by: Orion on April 04, 2016, 05:04:35 PM
Hi from France !

Unfortunately, I face the same problem as #124.
I'm using the UPnP plugin to stream music to a Freebox (https://en.wikipedia.org/wiki/Freebox) connected to a basic Samsung TV.
Just as #124 described it, everything's fine until for no particular reason MusicBee starts eating up the CPU and RAM.
It eventually crashes with the following message :
" MusicBee v2.5.5804.26036 (Win6.1), 2 avr. 2016 15:22:
System.OutOfMemoryException: Une exception de type 'System.OutOfMemoryException' a été levée. "

I'm not sure what information I can provide, but I gladly will.

And now for something completely different, a little bit of personal history : I used Winamp (because it was Winamp) from time immemorial until it died, then used AIMP (because it looked like Winamp), then used MediaMonkey (because I was looking for a true music manager), then discovered and switched to MusicBee (because it's simply the best) :)

Hi (from France too, but I feel obliged to write in English as long as we speak in "public").

I also reported a similar problem. Until Steven finds the time to fix the bug, I had to buy the Airplay plugin (10 €) to stream music to my audio amplifier. There is, unfortunately, a few second gap between the moment you click on the Play button on your computer and the moment the music actualy starts playing on the amplifier, particularly when for the first track, when your computer needs to connect to the amplifier. I just play a few seconds of a silent track and then my album. I didn't find any other solution.
You can try the plugin for 30 days : http://emilles.dyndns.org/software/out_apx.html
Title: Re: UPnP/ DLNA device support
Post by: amper on April 25, 2016, 01:50:17 PM
Same here. Plugin was working like a charm with my Yamaha receiver, but after updating to latest version of MusicBee (2.5 branch) it simply consumes CPU and memory and dies with Out Of Memory exception few minutes later. I guess exe needs to be patched like the one in the first post.
Please Steve, make a new build for latest MusicBee 2.5/3.0 branches.
Title: Re: UPnP/ DLNA device support
Post by: Steven on May 01, 2016, 03:17:13 PM
i dont think i have the bandwidth to maintain this plugin so if there are any developers interested in enhancing it please send me a PM
Title: Re: UPnP/ DLNA device support
Post by: DRC3891 on May 02, 2016, 07:49:24 PM
Hello, so I´ve used the plugin for about 4 months now and it had worked perfectly (even with Hi Resolution audio) but today it´s simply not working. The plugin appears in preferences but the DNLA server does not appear on my network (an any device) and the output options that the plugin enabled are now gone. I already tried to restart musicbee, reconnect to the network, reinstal thee plugin and even restart the computer but with no effect. Please Help.
Title: Re: UPnP/ DLNA device support
Post by: amper on May 29, 2016, 04:16:17 PM
i dont think i have the bandwidth to maintain this plugin so if there are any developers interested in enhancing it please send me a PM
Is there any sources we can look into?
Title: Re: UPnP/ DLNA device support
Post by: ruslakall on June 02, 2016, 01:25:40 AM
Hello, so I´ve used the plugin for about 4 months now and it had worked perfectly (even with Hi Resolution audio) but today it´s simply not working. The plugin appears in preferences but the DNLA server does not appear on my network (an any device) and the output options that the plugin enabled are now gone. I already tried to restart musicbee, reconnect to the network, reinstal thee plugin and even restart the computer but with no effect. Please Help.

Ok this is probably not what you were referring to but I noticed after updating to MusicBee 3 that the output contextual menu shortcut I used to switch to a DLNA audio receiver moved from "Output To" to go under the "Play More" menu. So it became: "Play More>Output to"

Funny thing is now it's back to the "Output To"
Title: Re: UPnP/ DLNA device support
Post by: Ralf on June 11, 2016, 08:07:57 PM
Hi Steven,
I just upgraded to a new internetradio Hama IR110 and have the same probs as before with the Freecom Musicpal: MB is startiing playback but after a short while it simply stops. I noticed that the Windows "Play to"-Feature is working nonetheless. Please find the last log below, perhaps it'll be of some use.

My config is Win10x64.1511 / MB 3.0.5595 / UPnP is 1.0.0.0 from 11.2.2015

Code
1153272; 364 Profile - Generic Device, useragent=FDSSDP
1173444; 365 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
1173925; 366 Play - E:\Ralfs Musix\Simple Minds\1987 - Simple Minds - Live in the City of Light Disc 1\02 Big Sleep.mp3 (http://192.168.251.30:49382/files/80962078E08AE684p.mpeg)
1173965; 367 Profile - Generic Device, useragent=NSPlayer/8.0.0.3801
1173967; 368 GetFile[12] 192.168.251.30 - HEAD E:\Ralfs Musix\Simple Minds\1987 - Simple Minds - Live in the City of Light Disc 1\02 Big Sleep.mp3 to 192.168.251.28
1174054; 369 Profile - Generic Device, useragent=NSPlayer/8.0.0.3801
1174056; 370 Profile - Generic Device, useragent=NSPlayer/8.0.0.3801
1174057; 371 GetEncodedFile[13] 192.168.251.30 - HEAD E:\Ralfs Musix\Simple Minds\1987 - Simple Minds - Live in the City of Light Disc 1\02 Big Sleep.mp3 to 192.168.251.28; mime=audio/L16;rate=44100;channels=2,rate=44100,channels=2
1174084; 372 Profile - Generic Device, useragent=NSPlayer/8.0.0.3801
1174086; 373 Profile - Generic Device, useragent=NSPlayer/8.0.0.3801
1174088; 374 GetEncodedFile[14] - range=bytes 0-47131959/47131960
1174089; 375 GetEncodedFile[14] 192.168.251.30 - GET E:\Ralfs Musix\Simple Minds\1987 - Simple Minds - Live in the City of Light Disc 1\02 Big Sleep.mp3 to 192.168.251.28; mime=audio/L16;rate=44100;channels=2,rate=44100,channels=2
1174243; 376 StateTimer - Loading,old=Stopped
1174739; 377 StateTimer - Playing,old=Loading
1190391; 378 Profile - Generic Device, useragent=FDSSDP
1278823; 379 NetworkChange_NetworkAddressChanged -
1278862; 380 GetNetworkAddresses - 192.168.251.30,dns=True,name=Ethernet,speed=1000000000
1278863; 381 GetNetworkAddresses - 192.168.56.1,dns=True,name=VirtualBox Host-Only Network,speed=1000000000
1278864; 382 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
1278865; 383 GetNetworkAddresses - http://192.168.251.30:49382
1279806; 384 SyncNewPlayState - Stopped,mb=Playing
1279809; 385 NetworkChange_NetworkAddressChanged -
1279825; 386 GetEncodedFile[14] - exit=10054, playtime=105735
1279846; 387 GetNetworkAddresses - 192.168.251.30,dns=True,name=Ethernet,speed=1000000000
1279848; 388 GetNetworkAddresses - 192.168.56.1,dns=True,name=VirtualBox Host-Only Network,speed=1000000000
1279849; 389 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
1279850; 390 GetNetworkAddresses - http://192.168.251.30:49382
1282300; 409 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
1341891; 410 NetworkChange_NetworkAddressChanged -
1341981; 411 GetNetworkAddresses - 192.168.251.30,dns=True,name=Ethernet,speed=1000000000
1341982; 412 GetNetworkAddresses - 192.168.56.1,dns=True,name=VirtualBox Host-Only Network,speed=1000000000
1341982; 413 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
1341983; 414 GetNetworkAddresses - http://192.168.251.30:49382
1342899; 415 NetworkChange_NetworkAddressChanged -
1342932; 416 GetNetworkAddresses - 192.168.251.30,dns=True,name=Ethernet,speed=1000000000
1342934; 417 GetNetworkAddresses - 192.168.56.1,dns=True,name=VirtualBox Host-Only Network,speed=1000000000
1342935; 418 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
1342936; 419 GetNetworkAddresses - http://192.168.251.30:49382
1345294; 438 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
Title: Re: UPnP/ DLNA device support
Post by: montharon on June 12, 2016, 03:55:14 PM
Hi Steven and all of you,

I know that there was already an inquiry about if it is possible to stream music to more than one device at the sime time and your answer was clearly no,
but I'm trying to stream my music to a pair of Sonos Play1 speakers that are combined as stereo.
When I first open MusicBee (latest version for the main application as well as your plugin) I can hear music from both speakers!
But when I close MucicBee and reopen it I get an error when I start the playback. "Unable to start playback (error=BASS_OK).
I also turned on the logging already

Code
<?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:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><CurrentURI>http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483647.mpeg</CurrentURI><CurrentURIMetaData>&lt;DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:pv="http://www.pv.com/pvns/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"&gt;&lt;item id="0F59FEFCE2542E3C" restricted="true" parentID="0"&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;dc:title&gt;Rabbits On The Roof&lt;/dc:title&gt;&lt;dc:date&gt;2014-01-01&lt;/dc:date&gt;&lt;dc:creator&gt;Hundreds&lt;/dc:creator&gt;&lt;upnp:artist&gt;Hundreds&lt;/upnp:artist&gt;&lt;upnp:artist role="AlbumArtist"&gt;Hundreds&lt;/upnp:artist&gt;&lt;upnp:albumArtist&gt;Hundreds&lt;/upnp:albumArtist&gt;&lt;upnp:album&gt;Aftermath&lt;/upnp:album&gt;&lt;upnp:originalTrackNumber&gt;08&lt;/upnp:originalTrackNumber&gt;&lt;upnp:genre&gt;Pop, Rock &amp;amp; Alternative&lt;/upnp:genre&gt;&lt;pv:addedTime&gt;2016-05-07T04:56:50&lt;/pv:addedTime&gt;&lt;pv:lastPlayedTime&gt;2016-06-03T02:19:28&lt;/pv:lastPlayedTime&gt;&lt;pv:playcount&gt;1&lt;/pv:playcount&gt;&lt;upnp:playbackCount&gt;1&lt;/upnp:playbackCount&gt;&lt;upnp:albumArtURI dlna:profileID="JPEG_TN" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;http://192.168.0.53:49382/thumbnail/0F59FEFCE2542E3C.JPEG_TN&lt;/upnp:albumArtURI&gt;&lt;upnp:albumArtURI dlna:profileID="JPEG_SM" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;http://192.168.0.53:49382/thumbnail/0F59FEFCE2542E3C.JPEG_SM&lt;/upnp:albumArtURI&gt;&lt;res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000" duration="0:04:53" sampleFrequency="48000" bitsPerSample="16" nrAudioChannels="2"&gt;http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483647.mpeg&lt;/res&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;</CurrentURIMetaData></u:SetAVTransportURI></s:Body></s:Envelope>
4115; 13 SoapRequest:SetAVTransportURI:urn:schemas-upnp-org:service:AVTransport:1:InstanceID=0,CurrentURI=http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483647.mpeg,CurrentURIMetaData=<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:pv="http://www.pv.com/pvns/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="0F59FEFCE2542E3C" restricted="true" parentID="0"><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:title>Rabbits On The Roof</dc:title><dc:date>2014-01-01</dc:date><dc:creator>Hundreds</dc:creator><upnp:artist>Hundreds</upnp:artist><upnp:artist role="AlbumArtist">Hundreds</upnp:artist><upnp:albumArtist>Hundreds</upnp:albumArtist><upnp:album>Aftermath</upnp:album><upnp:originalTrackNumber>08</upnp:originalTrackNumber><upnp:genre>Pop, Rock &amp; Alternative</upnp:genre><pv:addedTime>2016-05-07T04:56:50</pv:addedTime><pv:lastPlayedTime>2016-06-03T02:19:28</pv:lastPlayedTime><pv:playcount>1</pv:playcount><upnp:playbackCount>1</upnp:playbackCount><upnp:albumArtURI dlna:profileID="JPEG_TN" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">http://192.168.0.53:49382/thumbnail/0F59FEFCE2542E3C.JPEG_TN</upnp:albumArtURI><upnp:albumArtURI dlna:profileID="JPEG_SM" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">http://192.168.0.53:49382/thumbnail/0F59FEFCE2542E3C.JPEG_SM</upnp:albumArtURI><res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000" duration="0:04:53" sampleFrequency="48000" bitsPerSample="16" nrAudioChannels="2">http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483647.mpeg</res></item></DIDL-Lite> - <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>1023</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>
4120; 14 Play:SetAVTransportURI - status=500,url=http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483647.mpeg
491981; 15 Play - N:\Musik\Alben\Pop, Rock & Alternative\Hundreds - Aftermath (2014)\08 Rabbits On The Roof.mp3 (http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483644.mpeg)
492006; 16 PostSoapRequest - 500,send=POST /MediaRenderer/AVTransport/Control HTTP/1.1
Host: 192.168.0.22:1400
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
Content-Length: 2191

<?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:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><CurrentURI>http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483644.mpeg</CurrentURI><CurrentURIMetaData>&lt;DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:pv="http://www.pv.com/pvns/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"&gt;&lt;item id="0F59FEFCE2542E3C" restricted="true" parentID="0"&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;dc:title&gt;Rabbits On The Roof&lt;/dc:title&gt;&lt;dc:date&gt;2014-01-01&lt;/dc:date&gt;&lt;dc:creator&gt;Hundreds&lt;/dc:creator&gt;&lt;upnp:artist&gt;Hundreds&lt;/upnp:artist&gt;&lt;upnp:artist role="AlbumArtist"&gt;Hundreds&lt;/upnp:artist&gt;&lt;upnp:albumArtist&gt;Hundreds&lt;/upnp:albumArtist&gt;&lt;upnp:album&gt;Aftermath&lt;/upnp:album&gt;&lt;upnp:originalTrackNumber&gt;08&lt;/upnp:originalTrackNumber&gt;&lt;upnp:genre&gt;Pop, Rock &amp;amp; Alternative&lt;/upnp:genre&gt;&lt;pv:addedTime&gt;2016-05-07T04:56:50&lt;/pv:addedTime&gt;&lt;pv:lastPlayedTime&gt;2016-06-03T02:19:28&lt;/pv:lastPlayedTime&gt;&lt;pv:playcount&gt;1&lt;/pv:playcount&gt;&lt;upnp:playbackCount&gt;1&lt;/upnp:playbackCount&gt;&lt;upnp:albumArtURI dlna:profileID="JPEG_TN" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;http://192.168.0.53:49382/thumbnail/0F59FEFCE2542E3C.JPEG_TN&lt;/upnp:albumArtURI&gt;&lt;upnp:albumArtURI dlna:profileID="JPEG_SM" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;http://192.168.0.53:49382/thumbnail/0F59FEFCE2542E3C.JPEG_SM&lt;/upnp:albumArtURI&gt;&lt;res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000" duration="0:04:53" sampleFrequency="48000" bitsPerSample="16" nrAudioChannels="2"&gt;http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483644.mpeg&lt;/res&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;</CurrentURIMetaData></u:SetAVTransportURI></s:Body></s:Envelope>
492012; 17 SoapRequest:SetAVTransportURI:urn:schemas-upnp-org:service:AVTransport:1:InstanceID=0,CurrentURI=http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483644.mpeg,CurrentURIMetaData=<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:pv="http://www.pv.com/pvns/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="0F59FEFCE2542E3C" restricted="true" parentID="0"><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:title>Rabbits On The Roof</dc:title><dc:date>2014-01-01</dc:date><dc:creator>Hundreds</dc:creator><upnp:artist>Hundreds</upnp:artist><upnp:artist role="AlbumArtist">Hundreds</upnp:artist><upnp:albumArtist>Hundreds</upnp:albumArtist><upnp:album>Aftermath</upnp:album><upnp:originalTrackNumber>08</upnp:originalTrackNumber><upnp:genre>Pop, Rock &amp; Alternative</upnp:genre><pv:addedTime>2016-05-07T04:56:50</pv:addedTime><pv:lastPlayedTime>2016-06-03T02:19:28</pv:lastPlayedTime><pv:playcount>1</pv:playcount><upnp:playbackCount>1</upnp:playbackCount><upnp:albumArtURI dlna:profileID="JPEG_TN" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">http://192.168.0.53:49382/thumbnail/0F59FEFCE2542E3C.JPEG_TN</upnp:albumArtURI><upnp:albumArtURI dlna:profileID="JPEG_SM" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">http://192.168.0.53:49382/thumbnail/0F59FEFCE2542E3C.JPEG_SM</upnp:albumArtURI><res protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000" duration="0:04:53" sampleFrequency="48000" bitsPerSample="16" nrAudioChannels="2">http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483644.mpeg</res></item></DIDL-Lite> - <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>1023</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>
492020; 18 Play:SetAVTransportURI - status=500,url=http://192.168.0.53:49382/encode/0F59FEFCE2542E3C-2147483644.mpeg

After the error occured I must pair my speakers in the official Sonos controller again otherwise they act as mono speakers for their own ;)

Any suggestions?

Thanks in advance!
Mike
Title: Re: UPnP/ DLNA device support
Post by: kairosmatt on August 15, 2016, 02:32:21 AM
Hi Steven and everyone,
   I have been using MB for about a year and love it-thank you for your efforts!

I have spent the day trying to figure out the music streaming thing, specifically to a PS3. I am brand new to it and there was, and still is, a lot to figure out so I'm sorry if these are obvious issue but I can't figure them out myself.

Main hurdle was I am using ATT U-verse, so I don't have UPnP and have had to set all the ports and static IP addresses. I got through that and MB shows up on the PS3. I'm not sure if that set up lead to my two issues:


1) Browsing for files is very slow on PS3. it takes a long time to load each folder's contents. Also there is significant lag between songs and between pressing a button (next, pause etc) and the result happening. It seems to be in the 10-15 second lag range.

2) I cannot figure out how to get MB to stream to the PS3. It does not show up in the player output device or any contextual menus. Can I manually help MB find the PS3?

Are these two issues related, and if so is there anything I can change or set up to streamline the experience?

Thank you so much!
kairosmatt
Title: Re: UPnP/ DLNA device support
Post by: doane on September 10, 2016, 10:37:10 PM
This plugin supports server mode (enables UPnP devices to browse and play from the MusicBee library) and controller mode (playing from MusicBee to UPnP devices)

Unzip and place in the Plugins sub-folder
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip

There are quite a few configuration options that can be set via the Configure button in the plugins panel which should be straight-forward - ask if you are not sure of something.

I have been warned that there are a lot of buggy UPnP devices which will require work-arounds. If your device is not being detected then first check with some other software which you know works with your device. If you cannot get the plugin to work or are getting odd behavior, then enable the debug log which is an option in the configuration screen and after restarting MusicBee send me the log file that is generated when playing a track. Keep in mind I have only implemented access from within your home network for now, so if you are trying to communicate outside the network it wont work.

I have made an attempt at supporting access from X-Box devices, so if anyone has one i would be grateful if you try it out and confirm if it does work. PS3 have been confirmed as working, as have various UPnP output devices

I found the plugins window under the preferences window in MB, but I don't see the "configure button" for this plugin?? I unzipped the folder mb_Upnp that has the dll file in it and put it in the plugins folder under the program. I have MediaMonkey and it works as a server with my Samsung TV and I can see and play all files from it along with playlists, but I would rather switch over to MB if I can get this to work.  Thanks,

Never mind, I got it to work, I had to extract the zip directly to the plugins folder and it just put the dll there, not the folder with the dll in it. Now I have the configure button in MB, will see if I can get this to work

MB shows up in the TV, but when I open it and choose the Music, I get an error that there is no music available on the MB server. I tried several different versions including Generic and Windows and the Upnp, but none work

I tried Upnplay selection with the logging. Restarted MB and tried to connect and got the same error of no music files available. Here is the logg:

838318; 1 Profile - Generic Device, useragent=SEC_HHP_[TV]Samsung LED65/1.0 DLNADOC/1.50
3; 1 Initialise - 9/10/2016 2:53:57 PM
16; 2 GetNetworkAddresses - 192.168.0.21,dns=True,name=Local Area Connection,speed=1000000000
18; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
19; 4 GetNetworkAddresses - http://192.168.0.21:49382
143; 5 ProcessMessage 192.168.0.23 - device 'uuid:08583b02-008c-1000-8d84-84a466b311c3:[TV]Samsung LED65',valid=True
612; 6 ProcessMessage 127.0.0.1 - device 'uuid:0b6e3f16-e440-49b9-ae0b-acd3a7c45552:Doane (DOANE-PC : Windows Media Player)',valid=True
1500; 7 Profile - Generic Device, useragent=SEC_HHP_[TV]Samsung LED65/1.0 DLNADOC/1.50
21598; 8 Profile - Generic Device, useragent=SEC_HHP_[TV]Samsung LED65/1.0 DLNADOC/1.50
21615; 9 Browse - 1,BrowseDirectChildren,0,1,sort=
21700; 10 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>
21703; 11 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)
21704; 12 ProcessRequest:SoapException:501 - Action Failed
   at MusicBeePlugin.Plugin.UpnpService.ProceedControl(HttpRequest request)
   at MusicBeePlugin.Plugin.HttpServer.ProcessRequest(Object parameters)
63877; 13 Profile - Generic Device, useragent=SEC_HHP_[TV]Samsung LED65/1.0 DLNADOC/1.50
63878; 14 Browse - 1,BrowseDirectChildren,0,1,sort=
63882; 15 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>
63885; 17 ProcessRequest:SoapException:501 - Action Failed
   at MusicBeePlugin.Plugin.UpnpService.ProceedControl(HttpRequest request)
   at MusicBeePlugin.Plugin.HttpServer.ProcessRequest(Object parameters)
Title: Re: UPnP/ DLNA device support
Post by: doane on September 12, 2016, 04:44:13 PM
Has everyone given up on this?  Would love to get it to work.. seems like someone with good script skills could take a look at what Media Monkey did to get there's to work and apply the same principle to MB?
Title: Re: UPnP/ DLNA device support
Post by: phred on September 12, 2016, 05:21:43 PM
MB shows up in the TV, but when I open it and choose the Music, I get an error that there is no music available on the MB server. I tried several different versions including Generic and Windows and the Upnp, but none work
Here are the settings I have been using successfully since shortly after Steven released this plugin...
(http://i.imgur.com/LQ2TBvC.jpg)
Title: Re: UPnP/ DLNA device support
Post by: doane on September 12, 2016, 08:40:39 PM
Phred: Thanks for trying to help.. I just tried that, I set it up exactly the way you have it. I still get the same error that there are no music files   :(
Title: Re: UPnP/ DLNA device support
Post by: gpzbc on September 12, 2016, 09:00:16 PM
i dont think i have the bandwidth to maintain this plugin so if there are any developers interested in enhancing it please send me a PM

Do your problems have anything to do with this message from Steven?
Title: Re: UPnP/ DLNA device support
Post by: phred on September 12, 2016, 09:07:14 PM
Do your problems have anything to do with this message from Steven?
The message from Steven means that he doesn't have the time to support this plugin any longer. That has nothing to do with the problem doane has reported. Other than Steven won't be able to look at it.
Title: Re: UPnP/ DLNA device support
Post by: gpzbc on September 12, 2016, 09:17:58 PM
Ah! Thanks.
Title: Re: UPnP/ DLNA device support
Post by: doane on September 12, 2016, 11:36:01 PM
Do your problems have anything to do with this message from Steven?
The message from Steven means that he doesn't have the time to support this plugin any longer. That has nothing to do with the problem doane has reported. Other than Steven won't be able to look at it.

No, my Media Monkey server works fine. I understand how Steve doesn't have time to mess with it, was just hoping someone else with script knowledge might be able to work on it... maybe look at what MM did to get theirs to work?
Title: Re: UPnP/ DLNA device support
Post by: Beaker on October 18, 2016, 11:37:37 AM
Im using the latest release and im not having any issues with the plugin
Title: Re: UPnP/ DLNA device support
Post by: Ralf on October 22, 2016, 04:28:16 PM
I noticed that MB isn't playing whole albums (ape or flac with cue-sheet) on my AUNA Connect 150. They play well on the Standard-Device though. Does anybody know this prob? Is there a solution without splitting up and recoding the albums?
Title: Re: UPnP/ DLNA device support
Post by: Steven on October 22, 2016, 04:48:43 PM
I noticed that MB isn't playing whole albums (ape or flac with cue-sheet) on my AUNA Connect 150. They play well on the Standard-Device though. Does anybody know this prob? Is there a solution without splitting up and recoding the albums?
is it only when there is a cue sheet involved? and how much of the album is played eg. just the first song?
Title: Re: UPnP/ DLNA device support
Post by: Ralf on October 22, 2016, 07:02:53 PM
Hi Steven, thx for your time. Nope, it isn't playing anything regardless of the cue file.
Title: Re: UPnP/ DLNA device support
Post by: Steven on October 22, 2016, 07:29:47 PM
you arent being very clear. If its not playing flac files, its possible it cant even if it advertises it can. In which case you would need to force transcoding in the device profile settings.
If it can play flac files then its possible it cant handle very large files in which case you might need to split the file into smaller chunks
Title: Re: UPnP/ DLNA device support
Post by: Ralf on October 22, 2016, 10:42:40 PM
Sorry for being unclear. It isn't only a matter of flac- but also of ape-files. The plugin is running on default so in my understandig it is already transcoding everything to a pcm16 stream?

One thing I just noticed: Selecting a song from one of these albums directly from the AUNA is working correctly. Does that help? What else can I provide?
Title: Re: UPnP/ DLNA device support
Post by: Steven on October 23, 2016, 07:44:02 AM
The plugin is running on default so in my understandig it is already transcoding everything to a pcm16 stream?
you need to tick the "network is bandwith cosntrained..." option to force transcoding
Title: Re: UPnP/ DLNA device support
Post by: hoschi on October 24, 2016, 08:30:47 PM
Hi,
I have a problem to broadcast a radio stream to my Yamaha RX-V473.
I'm able to transfer music from my local drives and from my NAS storages to my RX-V473 amplifier over the dlna plug-in without interruption.
I'm also able to transfer a radio stream, but it stops every time after 10 seconds.  :o
I tried a lot of different settings but without success.
Is anyone able to help me to identify the problem?
Regards

Title: Re: UPnP/ DLNA device support
Post by: hoschi on October 27, 2016, 10:59:56 PM
Hi,the problem that the radio stream interuppt after 10 seconds also happens on different systems. WIN7&WIN10
Can anyone approve this problem? Can anyone transfer a radio stream to a dlna device longer than 10 seconds?

Greetings
Title: Re: UPnP/ DLNA device support
Post by: Ralf on October 28, 2016, 05:13:13 PM
Tried your previous suggestion to no avail, but got the player working (kind of): When set to "Play as stream" it's playing whole albums now but without any info to display. Do you have another idea? Would the log help?



The plugin is running on default so in my understandig it is already transcoding everything to a pcm16 stream?
you need to tick the "network is bandwith cosntrained..." option to force transcoding
Title: Re: UPnP/ DLNA device support
Post by: PAULPAUL on November 04, 2016, 01:28:33 PM
Hello! thanks for this amazing music player.
I'm trying to use the DLNA support, i get to browse the files on my Philips TV but i don't get the UPNP device on the Output device configuration in the Player preferences dialog.

Thank you.

Title: Re: UPnP/ DLNA device support
Post by: d_abbatelli on November 27, 2016, 04:24:05 PM
Hello,

I'm trying to use this plugin to stream to a Chromecast audio through BubbleUPnP server.
Basically, Bubbleupnp server turns the Chromecast audio into a normal DLNA player.

Everything works fine most of the time, but I did found some songs that just wouldn't play.
It might not necessarily be a Musicbee problem, but I'd still like to have some help troubleshooting.

Looking on the logs, the I can see that something is not working on this line:
Code
492542; 56 GetFile[8] - exit=10054, playtime=1299

What does exit=10054 mean?
Title: Re: UPnP/ DLNA device support
Post by: Steven on November 27, 2016, 06:22:47 PM
Looking on the logs, the I can see that something is not working on this line:
Code
492542; 56 GetFile[8] - exit=10054, playtime=1299

What does exit=10054 mean?
its returned by the winsock send function:
Connection reset by peer.
An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket). This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.
Title: Re: UPnP/ DLNA device support
Post by: JohnN on December 14, 2016, 01:23:29 AM
I posted elsewhere in the forum today, but now realise that perhaps I should have posted here instead.

I'm using the UPNP/DLNA feature, to play to two devices in other rooms in the house. I don't want to control the music from the speakers (like with Sonos), but from the computer.

At present when I cast the music using MusicBee it only plays at one chosen player, say in the kitchen. If I then go upstairs, I first have to go into the study to select the upstairs player, then go upstairs. Why can't it play at several locations at the same time. Ideally, I want to be playing music from the computer on one side of the house [using hard wired speakers] then when I go into the kitchen or upstairs to turn on my UPNP/DLNA device and have the music playing there as well.
Title: Re: UPnP/ DLNA device support
Post by: ffmuke on December 31, 2016, 06:43:22 PM
Hello everybody,

first a big thank you to the people developing MB! And to Steven for this plugin!

My major thing first:
I have a raumfeld connector (raumfeld.com) streaming device to which I successfully stream music to using the 'Generic Device' profile.
But and that's unfortunately a big one... The playing stops at the end of each song. The progress always stays at 0:00. And does not switch to the next song in the now-playing list. I need to manually press 'Next' on each song. Also I cannot move forward in the progress bar, to jump to a certain point in the timeline of the song (dunno if that is actually possible using DLNA?). And the playing of the song does not stop on Ctrl+S. Only quitting MB will stop the playback.

The debug log shows a repetitive message:

Code
2; 1 Initialise - 30.12.2016 15:40:32
25; 2 GetNetworkAddresses - 91.214.47.43,dns=True,name=PureVPN,speed=1000000000
26; 3 GetNetworkAddresses - 192.168.13.66,dns=True,name=Ethernet,speed=1000000000
27; 4 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
28; 5 GetNetworkAddresses - http://192.168.13.66:49382
416; 6 ProcessMessage 192.168.13.14 - device 'uuid:00000000-16ee-2719-0000-000016ee2719:RaumCon',valid=True
1056; 7 ProcessMessage 192.168.13.14 - device 'uuid:e44d699e-5409-4c0a-819d-da980976b968:Connector RaumCon #2',valid=True
1061; 8 Profile - Generic Device, useragent=Digital Media Player|
1063; 9 Profile - Generic Device, useragent=Digital Media Player|
1662; 10 Activate - Connector RaumCon #2:http-get:*:audio/iLBC-sh:*,http-get:*:audio/midi:*,http-get:*:audio/mobile-xmf:*,http-get:*:audio/x-xmf:*,http-get:*:audio/mpeg:*,http-get:*:audio/qcelp:*,http-get:*:audio/riff-midi:*,http-get:*:audio/x-ac3:*,http-get:*:audio/x-amr-nb-sh:*,http-get:*:audio/x-amr-wb-sh:*,http-get:*:audio/x-celt:*,http-get:*:audio/x-flac:*,http-get:*:audio/flac:*,http-get:*:audio/x-gsm:*,http-get:*:audio/x-imelody:*,http-get:*:audio/x-m4a:*,http-get:*:audio/mp4:*,http-get:*:audio/x-musepack:*,http-get:*:audio/x-rf64:*,http-get:*:audio/x-speex:*,http-get:*:audio/x-ttafile:*,http-get:*:audio/x-vorbis:*,http-get:*:audio/x-vorbis+ogg:*,http-get:*:audio/x-wav:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-ay:*,http-get:*:audio/x-dts:*,http-get:*:audio/vnd.dts:*,http-get:*:audio/x-gbs:*,http-get:*:audio/x-gym:*,http-get:*:audio/x-ircam:*,http-get:*:audio/x-kss:*,http-get:*:audio/x-mod:*,http-get:*:audio/x-nist:*,http-get:*:audio/x-nsf:*,http-get:*:audio/x-paris:*,http-get:*:audio/x-sap:*,http-get:*:audio/x-sds:*,http-get:*:audio/x-shorten:*,http-get:*:audio/x-spc:*,http-get:*:audio/x-svx:*,http-get:*:audio/x-vgm:*,http-get:*:audio/x-voc:*,http-get:*:audio/x-w64:*,http-get:*:audio/x-wavpack:*,http-get:*:audio/x-wavpack-correction:*,http-get:*:audio/x-xi:*,http-get:*:audio/x-au:*,http-get:*:audio/x-sbc:*,http-get:*:audio/x-sid:*,http-get:*:audio/x-ms-wma:*
1769; 11 PostSoapRequest - 500,send=POST /AVTransport/ctrl HTTP/1.1
Host: 192.168.13.14:40667
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#GetTransportInfo"
Content-Length: 312

<?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:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:GetTransportInfo></s:Body></s:Envelope>
1772; 12 SoapRequest:GetTransportInfo:urn:schemas-upnp-org:service:AVTransport:1:InstanceID=0 - <?xml version="1.0"?><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>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
9384; 13 Play - \\THOR\public\music\flac\Roots.Manuva-Bleeds-BDCD269-CD-FLAC-2015-CUSTODES\05-roots_manuva-cargo.flac (http://192.168.13.66:49382/files/1566BF1A93E0CA54p.x-flac)
9431; 14 Profile - Generic Device, useragent=GStreamer souphttpsrc libsoup/2.52.1
9618; 15 PostSoapRequest - 500,send=POST /AVTransport/ctrl HTTP/1.1
Host: 192.168.13.14:40667
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#GetTransportInfo"
Content-Length: 312

<?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:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:GetTransportInfo></s:Body></s:Envelope>
9620; 16 SoapRequest:GetTransportInfo:urn:schemas-upnp-org:service:AVTransport:1:InstanceID=0 - <?xml version="1.0"?><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>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
9895; 17 GetFile[1] 192.168.13.66 - GET \\THOR\public\music\flac\Roots.Manuva-Bleeds-BDCD269-CD-FLAC-2015-CUSTODES\05-roots_manuva-cargo.flac to 192.168.13.14
10009; 18 GetFile[1] - exit=10054, playtime=110
10074; 19 PostSoapRequest - 500,send=POST /AVTransport/ctrl HTTP/1.1
Host: 192.168.13.14:40667
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#GetTransportInfo"
Content-Length: 312

<?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:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:GetTransportInfo></s:Body></s:Envelope>
10075; 20 SoapRequest:GetTransportInfo:urn:schemas-upnp-org:service:AVTransport:1:InstanceID=0 - <?xml version="1.0"?><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>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
10586; 21 PostSoapRequest - 500,send=POST /AVTransport/ctrl HTTP/1.1
Host: 192.168.13.14:40667
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#GetTransportInfo"
Content-Length: 312


The last one keeps repeating.

I tried other profiles, not sure if they actually been used, as I only saw 'Generic device' in the logs.
Not sure when to close MB actually. Every time I change the plugin device profile?

Another thing I noticed while testing: The output format PCM settings are not saved after the change to 24.

Would be great to get some help getting the streaming to be usable! I've been using MB now for some years and I really don't want to switch to another player! :)

Thanks in advance, and Happy New Year 2017! :-D
Title: Re: UPnP/ DLNA device support
Post by: hiccup on December 31, 2016, 07:33:56 PM
Welcome to the forum ffmuke

That issue has been reported before, and the information you are giving surely could be useful to possibly solve it.
But the sole developer has indicated a while back that he was not able to put in the time and effort to maintain this plugin, and was hoping for perhaps another developer to possibly adopt this UPnP plugin and maintain it.
So you (we) should not to expect a solution anytime soon.

(at least not this year ;-)
Title: Re: UPnP/ DLNA device support
Post by: RonnBlack on January 13, 2017, 07:41:38 PM
First let me say really glad you took the time to create this plug-in. It's great!!

One minor complaint is that the configuration screen uses too much vertical space for some devices.
It requires about 1000 pixels in the vertical direction which is too large for many laptops (1024x768 is pretty common in a 13" form factor).
This causes the logging and save/cancel buttons to be cut off.
This size could be accommodated by making the contents scrollable or separating to tabs.

Thanks again.
Title: Re: UPnP/ DLNA device support
Post by: RonnBlack on January 14, 2017, 04:29:47 AM
I am attempting to stream to a Google Home device (via BubbleUPnpServer).
With local files it seems to work fairly but when I attempt to cast a radio station it gives me an error.

Code
4; 1 Initialise - 1/13/2017 8:19:14 PM
85; 2 GetNetworkAddresses - 192.168.1.206,dns=True,name=Wi-Fi,speed=325000000
89; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
93; 4 GetNetworkAddresses - http://192.168.1.206:49382
843; 5 ProcessMessage 192.168.1.215 - device 'uuid:deda94b0-ef53-88e9-ffff-ffffde0e71d5:Downstairs Home (DLNA)',valid=True
866; 6 ProcessMessage 192.168.1.8 - device 'uuid:deda94b0-ef53-88e9-ffff-ffffac64ab11:Upstairs Chromcast (DLNA)',valid=True
887; 7 ProcessMessage 192.168.1.215 - device 'uuid:deda94b0-ef53-88e9-ffff-ffff95c87b1e:DownstairsGroup (DLNA)',valid=True
1610; 8 Profile - BubbleUPnP, useragent=Linux/3.10.77 UPnP/1.0 BubbleUPnPServer/0.9-update23
45620; 9 ListenNotify - Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
64539; 10 ListenNotify - Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
64556; 11 Profile - BubbleUPnP, useragent=BubbleUPnP Google Cast DLNA renderer|Linux/3.10.77 UPnP/1.0 BubbleUPnPServer/0.9-update23
64573; 12 Profile - BubbleUPnP, useragent=BubbleUPnP Google Cast DLNA renderer|Linux/3.10.77 UPnP/1.0 BubbleUPnPServer/0.9-update23
64634; 13 Activate - Downstairs Home (DLNA):http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=44100;channels=1:*,http-get:*:audio/L16;rate=48000;channels=1:*,http-get:*:audio/L16;rate=88200;channels=1:*,http-get:*:audio/L16;rate=96000;channels=1:*,http-get:*:audio/L16;rate=176400;channels=1:*,http-get:*:audio/L16;rate=192000;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=44100;channels=2:*,http-get:*:audio/L16;rate=48000;channels=2:*,http-get:*:audio/L16;rate=88200;channels=2:*,http-get:*:audio/L16;rate=96000;channels=2:*,http-get:*:audio/L16;rate=176400;channels=2:*,http-get:*:audio/L16;rate=192000;channels=2:*,http-get:*:video/mp4:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:application/x-flac:*,http-get:*:application/flac:*,http-get:*:audio/wave:*,http-get:*:application/x-wav:*,http-get:*:audio/x-wav:*,http-get:*:application/wave:*,http-get:*:audio/x-wave:*,http-get:*:application/wav:*,http-get:*:application/x-wave:*,http-get:*:audio/wav:*,http-get:*:application/x-mp3:*,http-get:*:audio/x-mpg:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpg:*,http-get:*:application/mpeg3:*,http-get:*:application/mpeg:*,http-get:*:audio/x-mp3:*,http-get:*:audio/mp3:*,http-get:*:audio/x-mpeg3:*,http-get:*:application/mp3:*,http-get:*:audio/x-mpegaudio:*,http-get:*:audio/x-mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:audio/mp1:*,http-get:*:application/mp1:*,http-get:*:audio/3gpp:*,http-get:*:audio/aac:*,http-get:*:audio/aacp:*,http-get:*:audio/x-aac:*,http-get:*:audio/3gpp2:*,http-get:*:application/x-mp4:*,http-get:*:audio/m4a:*,http-get:*:application/mpeg4:*,http-get:*:audio/x-mp4:*,http-get:*:audio/mp4:*,http-get:*:application/x-m4p:*,http-get:*:application/x-m4a:*,http-get:*:application/x-m4b:*,http-get:*:audio/x-m4p:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-m4b:*,http-get:*:audio/mpeg4:*,http-get:*:application/x-mp4:*,http-get:*:audio/m4a:*,http-get:*:application/mpeg4:*,http-get:*:audio/x-mp4:*,http-get:*:audio/mp4:*,http-get:*:application/x-m4p:*,http-get:*:application/x-m4a:*,http-get:*:application/x-m4b:*,http-get:*:audio/x-m4p:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-m4b:*,http-get:*:audio/mpeg4:*,http-get:*:application/x-ogg:*,http-get:*:audio/ogg:*,http-get:*:application/ogg:*,http-get:*:audio/x-ogg:*,http-get:*:audio/vorbis:*,http-get:*:application/x-ogg:*,http-get:*:audio/ogg:*,http-get:*:application/ogg:*,http-get:*:audio/x-ogg:*,http-get:*:audio/vorbis:*,http-get:*:audio/x-scpls:*,http-get:*:application/wma:*,http-get:*:application/x-ms-wma:*,http-get:*:audio/wma:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-dff:*,http-get:*:audio/dff:*,http-get:*:audio/dsf:*,http-get:*:audio/x-dsf:*,http-get:*:audio/opus:*,http-get:*:application/aif:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-aifc:*,http-get:*:application/aiff:*,http-get:*:audio/aiff:*,http-get:*:audio/aif:*,http-get:*:audio/x-aif:*,http-get:*:application/x-aif:*,http-get:*:audio/aifc:*,http-get:*:application/x-aiff:*,http-get:*:application/monkeysaudio:*,http-get:*:application/monkeys-audio:*,http-get:*:audio/monkeys-audio:*,http-get:*:application/ape:*,http-get:*:audio/monkeysaudio:*,http-get:*:audio/ape:*,http-get:*:audio/x-ape:*,http-get:*:audio/x-monkeysaudio:*,http-get:*:audio/x-monkeys-audio:*,http-get:*:application/x-monkeysaudio:*,http-get:*:application/x-ape:*,http-get:*:application/x-monkeys-audio:*,http-get:*:application/monkeysaudio:*,http-get:*:application/monkeys-audio:*,http-get:*:audio/monkeys-audio:*,http-get:*:application/ape:*,http-get:*:audio/monkeysaudio:*,http-get:*:audio/ape:*,http-get:*:audio/x-ape:*,http-get:*:audio/x-monkeysaudio:*,http-get:*:audio/x-monkeys-audio:*,http-get:*:application/x-monkeysaudio:*,http-get:*:application/x-ape:*,http-get:*:application/x-monkeys-audio:*,http-get:*:audio/wavpack:*,http-get:*:application/x-wv:*,http-get:*:application/wavpack:*,http-get:*:audio/wv:*,http-get:*:application/x-wavpack:*,http-get:*:application/wv:*,http-get:*:audio/x-wv:*,http-get:*:audio/x-wavpack:*,http-get:*:application/x-musepack:*,http-get:*:audio/x-mpc:*,http-get:*:application/musepack:*,http-get:*:audio/mpc:*,http-get:*:audio/musepack:*,http-get:*:application/x-mpc:*,http-get:*:audio/x-musepack:*,http-get:*:application/mpc:*,http-get:*:audio/tak:*,http-get:*:audio/x-tak:*,http-get:*:audio/amr:*,http-get:*:audio/x-pn-realaudio:*,http-get:*:audio/vnd.rn-realaudio:*,http-get:*:image/gif:*,http-get:*:image/bmp:*,http-get:*:image/jpeg:*,http-get:*:image/png:*,http-get:*:video/webm:*,http-get:*:video/x-matroska:*
72316; 14 Play - stream (http://192.168.1.206:49382/encode/continuousstream-2147483641.L16)
86856; 15 ListenNotify - Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
240303; 22 Profile - BubbleUPnP, useragent=Linux/3.10.77 UPnP/1.0 BubbleUPnPServer/0.9-update23
260103; 24 Play - stream (http://192.168.1.206:49382/encode/continuousstream-2147483630.L16)
260162; 25 Profile - Generic Device, useragent=
260173; 26 Profile - Generic Device, useragent=
260189; 27 GetEncodedFile[1] 192.168.1.206 - GET  to 192.168.1.7; mime=audio/L16;rate=44100;channels=2,rate=44100,channels=2
260292; 28 GetEncodedFile[1] - exit=10053, playtime=85
287421; 30 Play - stream (http://192.168.1.206:49382/encode/continuousstream-2147483619.L16)
287440; 31 Profile - Generic Device, useragent=
287444; 32 Profile - Generic Device, useragent=
287449; 33 GetEncodedFile[2] 192.168.1.206 - GET  to 192.168.1.7; mime=audio/L16;rate=44100;channels=2,rate=44100,channels=2
287478; 34 GetEncodedFile[2] - exit=10053, playtime=24

I assume the connected host has failed to respond message is referring to the station I'm trying to play. Is that correct?
Is there any control over the timeout?
Any idea how I can get this to work?
Title: Re: UPnP/ DLNA device support
Post by: phred on January 14, 2017, 03:00:12 PM
I assume the connected host has failed to respond message is referring to the station I'm trying to play. Is that correct?
Is there any control over the timeout?
Any idea how I can get this to work?
If you've read through the last page or two of this thread, you'll note that Steven, the sole developer of MB, and of this plugin, has stated that he doesn't have the time to support the plugin any longer. Unless someone can step up and take over development, it's not likely you'll get this resolved. Although it may be a simple fix for which Steven can offer a suggestion. If there's no reply from Steven, then you may be out of luck.
Title: Re: UPnP/ DLNA device support
Post by: ronnygiga on February 01, 2017, 08:58:43 PM
So far i've read two folks trying to use the plugin as a UPNP client...that's right this plugin only make the MusicBee acts as an UPNP server. BUT!  ;) I would  :-*  :-* love to see the DLNA client functionality in Musicbee as a built in functionality, the only "modern" player that have it is foobar2000.
Many audiophiles (myself included) use media servers like Plex, Subsonic, OpenMediavault among others. If Musicbee can "make" a library from the DLNA services provided by those servers i'm pretty sure many people will find it very usefull and of course AWESOME  ::)   ::)

Thanks!
Title: Re: UPnP/ DLNA device support
Post by: phred on February 02, 2017, 12:39:58 AM
If Musicbee can "make" a library from the DLNA services provided by those servers i'm pretty sure many people will find it very usefull and of course AWESOME  ::)   ::)
If you read the post immediately above yours, you'll note that this plugin is no longer being developed or maintained. Unless you can find someone to take over the development, or learn how to do it yourself, this is where it ends.
Title: Re: UPnP/ DLNA device support
Post by: OldChicagoPete on February 04, 2017, 03:11:57 PM
I'm experiencing one little bug while playing through my Chromecast using the BubbleUPnP Server DLNA function and I'm trying to narrow down where the issue is.

If I skip a song that's playing or use the Play Now function (which I think might just be a Queue Next + skip) MusicBee "loses its place". By that I mean that the scrubber no longer tracks along with the song and playback stops after the new song finishes. Once I hit play on the next song MusicBee continues normally.

I'm hoping someone with a more traditional DLNA setup could try to recreate this. If the bug doesn't show up then I could safely say I've narrowed it down to BubbleUPnP. But if it does happen with a standard DLNA receiver then the issue might lie within the skip logic of MusicBee. And if it is the skip logic and not the UPnP plugin then I could present the issue to Steven as something to look at down the road.

A guy can dream, right?  :)
Title: Re: UPnP/ DLNA device support
Post by: Universe of Noise on February 06, 2017, 04:06:10 PM
Is anyone able to play podcasts using the upnp plugin? It works great for my music collection but the 'top menu' doesn't include podcasts and it's something I'd really love to have. Thanks. :-)
Title: Re: UPnP/ DLNA device support
Post by: Sebastian on February 07, 2017, 06:56:28 AM
I´m using the plugin in a Bose SoundTouch 20, it works fine, but only plays the first song of the list or of the album, after that it stops playing, I would appreciate if somebody can help me
In case here is my debug

Code
1463907; 397 GetEncodedFile[61] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\08 Switch.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1463919; 398 GetEncodedFile[61] - exit=-1, playtime=1
1469014; 399 Profile - Generic Device, useragent=Bose/7.22.0
1469037; 400 Profile - Generic Device, useragent=Bose/7.22.0
1469067; 401 GetEncodedFile[62] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\08 Switch.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1469078; 402 GetEncodedFile[62] - exit=-1, playtime=0
1474214; 403 Profile - Generic Device, useragent=Bose/7.22.0
1474242; 404 Profile - Generic Device, useragent=Bose/7.22.0
1474279; 405 GetEncodedFile[63] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\08 Switch.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1474286; 406 GetEncodedFile[63] - exit=-1, playtime=0
1478776; 407 StateTimer - Paused,old=Playing
1478786; 408 SyncNewPlayState - Paused,mb=Playing
1479181; 409 StateTimer - Stopped,old=Paused
1479196; 410 SyncNewPlayState - Stopped,mb=Paused
1568896; 411 Play - E:\Biblioteca\The Cure\4 13 Dream\05 Sirensong.mp3 (http://192.168.0.108:49382/encode/DD3226E8B7602896-2147483372.mp4)
1569581; 412 Profile - Generic Device, useragent=Bose/7.22.0
1569591; 413 Profile - Generic Device, useragent=Bose/7.22.0
1569603; 414 GetEncodedFile[64] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\05 Sirensong.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1569620; 415 GetEncodedFile[64] - exit=-1, playtime=1
1570495; 416 StateTimer - Playing,old=Stopped
1573647; 417 Profile - Generic Device, useragent=Mozilla/4.0 (Compatible, Aggregation, Twonky, 7.2.9-6, Linux 3.2.26; armv7l) DLNADOC/1.50
1573659; 418 Profile - Generic Device, useragent=Mozilla/4.0 (Compatible, Aggregation, Twonky, 7.2.9-6, Linux 3.2.26; armv7l) DLNADOC/1.50
1573677; 419 GetEncodedFile[65] 192.168.0.108 - HEAD E:\Biblioteca\The Cure\4 13 Dream\05 Sirensong.mp3 to 192.168.0.101; mime=audio/mp4,rate=48000,channels=2
1574965; 420 Profile - Generic Device, useragent=Bose/7.22.0
1574989; 421 Profile - Generic Device, useragent=Bose/7.22.0
1575019; 422 GetEncodedFile[66] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\05 Sirensong.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1575027; 423 GetEncodedFile[66] - exit=-1, playtime=1
1580331; 424 Profile - Generic Device, useragent=Bose/7.22.0
1580355; 425 Profile - Generic Device, useragent=Bose/7.22.0
1580388; 426 GetEncodedFile[67] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\05 Sirensong.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1580397; 427 GetEncodedFile[67] - exit=-1, playtime=0
1585473; 428 Profile - Generic Device, useragent=Bose/7.22.0
1585501; 429 Profile - Generic Device, useragent=Bose/7.22.0
1585522; 430 GetEncodedFile[68] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\05 Sirensong.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1585529; 431 GetEncodedFile[68] - exit=-1, playtime=0
1590180; 432 StateTimer - Stopped,old=Playing
1590225; 433 Play - E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 (http://192.168.0.108:49382/encode/97ACB61CC064A062-2147483351.mp4)
1590797; 434 Profile - Generic Device, useragent=Bose/7.22.0
1590809; 435 Profile - Generic Device, useragent=Bose/7.22.0
1590821; 436 GetEncodedFile[69] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1590838; 437 GetEncodedFile[69] - exit=-1, playtime=0
1591681; 438 StateTimer - Playing,old=Stopped
1595259; 439 Profile - Generic Device, useragent=Mozilla/4.0 (Compatible, Aggregation, Twonky, 7.2.9-6, Linux 3.2.26; armv7l) DLNADOC/1.50
1595271; 440 Profile - Generic Device, useragent=Mozilla/4.0 (Compatible, Aggregation, Twonky, 7.2.9-6, Linux 3.2.26; armv7l) DLNADOC/1.50
1595282; 441 GetEncodedFile[70] 192.168.0.108 - HEAD E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.101; mime=audio/mp4,rate=48000,channels=2
1596129; 442 Profile - Generic Device, useragent=Bose/7.22.0
1596149; 443 Profile - Generic Device, useragent=Bose/7.22.0
1596175; 444 GetEncodedFile[71] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1596182; 445 GetEncodedFile[71] - exit=-1, playtime=0
1601221; 446 Profile - Generic Device, useragent=Bose/7.22.0
1601255; 447 Profile - Generic Device, useragent=Bose/7.22.0
1601275; 448 GetEncodedFile[72] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1601282; 449 GetEncodedFile[72] - exit=-1, playtime=0
1606387; 450 Profile - Generic Device, useragent=Bose/7.22.0
1606415; 451 Profile - Generic Device, useragent=Bose/7.22.0
1606444; 452 GetEncodedFile[73] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.110; mime=audio/mp4,rate=48000,channels=2
1606448; 453 GetEncodedFile[73] - exit=-1, playtime=0
1611005; 454 StateTimer - Paused,old=Playing
1611015; 455 SyncNewPlayState - Paused,mb=Playing
1675202; 456 SyncNewPlayState - Stopped,mb=Paused
1676802; 457 Profile - Generic Device, useragent=
1676855; 458 Profile - Generic Device, useragent=
1677106; 459 Profile - Generic Device, useragent=
1677158; 460 Profile - Generic Device, useragent=
1677574; 461 Play - E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 (http://192.168.0.108:49382/files/97ACB61CC064A062p.mpeg)
1678152; 462 Profile - Generic Device, useragent=Bose/7.22.0
1678174; 463 Profile - Generic Device, useragent=Bose/7.22.0
1678208; 464 GetEncodedFile[74] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.110; mime=audio/wav,rate=44100,channels=2
1679349; 465 StateTimer - Playing,old=Stopped
1680184; 466 Profile - Generic Device, useragent=Allegro-Software-WebClient/5.40b1 DLNADOC/1.50
1683462; 467 Profile - Generic Device, useragent=Mozilla/4.0 (Compatible, Aggregation, Twonky, 7.2.9-6, Linux 3.2.26; armv7l) DLNADOC/1.50
1683484; 468 Profile - Generic Device, useragent=Mozilla/4.0 (Compatible, Aggregation, Twonky, 7.2.9-6, Linux 3.2.26; armv7l) DLNADOC/1.50
1683510; 469 GetEncodedFile[75] 192.168.0.108 - HEAD E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.101; mime=audio/wav,rate=44100,channels=2
1704088; 470 Profile - Generic Device, useragent=Allegro-Software-WebClient/5.40b1 DLNADOC/1.50
1734032; 471 Profile - Generic Device, useragent=Allegro-Software-WebClient/5.40b1 DLNADOC/1.50
1759927; 472 Seek - goto=260867
1760247; 473 GetEncodedFile[74] - exit=10054, playtime=82026
1760328; 474 Seek - pos=80000
1761269; 475 Profile - Generic Device, useragent=Bose/7.22.0
1761294; 476 Profile - Generic Device, useragent=Bose/7.22.0
1761327; 477 GetEncodedFile[76] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.110; mime=audio/wav,rate=44100,channels=2
1761422; 478 GetEncodedFile[76] - exit=10054, playtime=83
1761476; 479 Profile - Generic Device, useragent=Bose/7.22.0
1761497; 480 Profile - Generic Device, useragent=Bose/7.22.0
1761508; 481 GetEncodedFile[77] - range=bytes 45864044-49743255/49743256
1761519; 482 GetEncodedFile[77] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.110; mime=audio/wav,rate=44100,channels=2
1764112; 483 Profile - Generic Device, useragent=Allegro-Software-WebClient/5.40b1 DLNADOC/1.50
1767271; 484 Seek - goto=260867
1767419; 485 GetEncodedFile[77] - exit=10054, playtime=5885
1767420; 486 Seek - pos=264000
1768410; 487 Profile - Generic Device, useragent=Bose/7.22.0
1768434; 488 Profile - Generic Device, useragent=Bose/7.22.0
1768471; 489 GetEncodedFile[78] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.110; mime=audio/wav,rate=44100,channels=2
1768608; 490 GetEncodedFile[78] - exit=10054, playtime=128
1768638; 491 Profile - Generic Device, useragent=Bose/7.22.0
1768660; 492 Profile - Generic Device, useragent=Bose/7.22.0
1768668; 493 GetEncodedFile[79] - range=bytes 45864044-49743255/49743256
1768676; 494 GetEncodedFile[79] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.110; mime=audio/wav,rate=44100,channels=2
1780532; 495 GetEncodedFile[79] - exit=0, playtime=11846
1787383; 496 Profile - Generic Device, useragent=Bose/7.22.0
1787395; 497 Profile - Generic Device, useragent=Bose/7.22.0
1787412; 498 GetEncodedFile[80] - range=bytes 49698960-49743255/49743256
1787418; 499 GetEncodedFile[80] 192.168.0.108 - GET E:\Biblioteca\The Cure\4 13 Dream\06 The Real Snow White.mp3 to 192.168.0.110; mime=audio/wav,rate=44100,channels=2
1787429; 500 GetEncodedFile[80] - exit=0, playtime=4
1794037; 501 Profile - Generic Device, useragent=Allegro-Software-WebClient/5.40b1 DLNADOC/1.50
1824150; 502 Profile - Generic Device, useragent=Allegro-Software-WebClient/5.40b1 DLNADOC/1.50
3; 1 Initialise - 7/2/2017 03:41:32
69; 2 GetNetworkAddresses - 192.168.0.108,dns=True,name=Wi-Fi,speed=300000000
73; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
76; 4 GetNetworkAddresses - http://192.168.0.108:49382
672; 5 ProcessMessage 192.168.0.110 - device 'uuid:BO5EBO5E-F00D-F00D-FEED-A81B6A1FE849:SoundTouch 20',valid=True
693; 6 Profile - Generic Device, useragent=Bose SoundTouch Wireless Streaming Audio Device|
703; 7 Profile - Generic Device, useragent=Bose SoundTouch Wireless Streaming Audio Device|
1480; 8 Profile - Generic Device, useragent=
1515; 9 Profile - Generic Device, useragent=
1789; 10 Profile - Generic Device, useragent=
1840; 11 Profile - Generic Device, useragent=
2068; 12 Activate - SoundTouch 20:http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mpeg:*,http-get:*:audio/mp3:*,http-get:*:MP3:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/wma:*,http-get:*:WMA:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/ogg:*,http-get:*:application/ogg:*,http-get:*:audio/vorbis:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/mp4:*,http-get:*:audio/mpeg4-generic:*,http-get:*:audio/aac:*,http-get:*:audio/x-aac:*,http-get:*:audio/x-m4a:*,http-get:*:audio/aacp:*,http-get:*:audio/3gpp:*,http-get:*:audio/3gpp2:*
5192; 13 Profile - Generic Device, useragent=Allegro-Software-WebClient/5.40b1 DLNADOC/1.50
13028; 14 Profile - Generic Device, useragent=Allegro-Software-WebClient/5.40b1 DLNADOC/1.50
42998; 15 Profile - Generic Device, useragent=Allegro-Software-WebClient/5.40b1 DLNADOC/1.50
73019; 16 Profile - Generic Device, useragent=Allegro-Software-WebClient/5.40b1 DLNADOC/1.50

I tried many configurations and the plug didn´t work

Thank´s
Title: Re: UPnP/ DLNA device support
Post by: ruslakall on February 23, 2017, 01:18:45 PM
I bought two Rockis (http://www.myrocki.com/) the other day. Plugged the first one into my living room stereo system and everything worked fine, for a while. Streamed music to the Rocki without a problem. But then the next day I believe, all of a sudden it stops working. When I play a file it doesn't give me an error or anything it just like it's at the beginning of the song on pause, even though it's not on pause. I messed with the Rocki for a while because I thought it had malfunctioned in some way. But no I can still stream from the windows desktop (probably using windows media player or something similar) without a problem. Only streams from the UPnP/DLNA plugin seem to fail. I do think I updated MusicBee, but that shouldn't have any effect, right? Is anyone here streaming to a Rocki?
Title: Re: UPnP/ DLNA device support
Post by: OldChicagoPete on February 23, 2017, 04:55:35 PM
If I remember correctly, sometimes MB doesn't close down completely when you close the app. Take a look in task manager to see if there's another MB process running and shut that down. Then when you re-start the app UPnP should work correctly again.
Title: Re: UPnP/ DLNA device support
Post by: ABHORRANCE on March 14, 2017, 06:17:23 PM
I have the plug-in installed and functioning. However, I am having an issue with playback.  I can stream FROM my Sony BDP-BX370 Streaming Blu-ray Player quite well.  
However, when I output TO the DP-BX370 (which shows up fine in my output device list), my music files do not play, but just skip from track to track down the playlist.
I have tried many variations of the options, but clearly am doing something wrong? The Blu-Ray player displays "File may be corrupted" error on the TV screen as well.

Code
<?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:GetVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></u:GetVolume></s:Body></s:Envelope>
601783; 53 SoapRequest:GetVolume:urn:schemas-upnp-org:service:RenderingControl:1:InstanceID=0,Channel=Master - <?xml version="1.0"?><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>501</errorCode><errorDescription>Action GetVolume failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
757995; 54 Activate - BDP-BX370:http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:image/png:DLNA.ORG_PN=PNG_LRG;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:image/gif:DLNA.ORG_PN=GIF_LRG;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:audio/L16:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_192;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_192;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_192;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_MULT5_ADTS;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_MULT5_ISO;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_MULT5_ISO;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=HEAAC_L2_ISO;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS_320;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO_320;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=HEAAC_L2_ISO_320;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO_128;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=HEAAC_L2_ISO_128;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dts:DLNA.ORG_PN=DTS;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dts.hd:DLNA.ORG_PN=DTSHD_HRA;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dts.hd:DLNA.ORG_PN=DTSHD_LBR;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dts.hd:DLNA.ORG_PN=DTSHD_MA;DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG1;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_KO_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_JP_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_JP_AAC_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_JP_MPEG1_L2_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_AC3_T;SONY.COM_PN=AVC_TS_HD_60_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_AC3_T;SONY.COM_PN=AVC_TS_HD_50_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_24_AC3_T;SONY.COM_PN=AVC_TS_HD_24_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPLL_BASE;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_MP3;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_BASE;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHM_BASE;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L1_WMA;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L2_WMA;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L31_HD_AAC;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L32_HD_AAC;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L3_SD_AAC;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L3L_SD_AAC;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L2_CIF30_AAC;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_350;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_LC;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_HD_720p_AAC;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:image/png:DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:image/gif:DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/L16:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/wav:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-wav:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-ms-asf:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/flac:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-flac:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/aiff:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-aiff:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/aif:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-aif:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/m4a:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-m4a:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-alac:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/dsd:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-dsd:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:video/x-xvid:DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:audio/ogg:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-ogg:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/ape:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:audio/x-ape:DLNA.ORG_FLAGS=9d700000000000000000000000000000,http-get:*:video/x-msvideo:DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/avi:DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-matroska:DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-mp2t-mphl-188:DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg4:DLNA.ORG_FLAGS=8d700000000000000000000000000000
758119; 55 PostSoapRequest - 500,send=POST /upnp/control/RenderingControl HTTP/1.1
Host: 192.168.0.8:52323
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Length: 324

<?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:GetMute xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></u:GetMute></s:Body></s:Envelope>
758138; 56 SoapRequest:GetMute:urn:schemas-upnp-org:service:RenderingControl:1:InstanceID=0,Channel=Master - <?xml version="1.0"?><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>501</errorCode><errorDescription>Action GetMute failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
758209; 57 PostSoapRequest - 500,send=POST /upnp/control/RenderingControl HTTP/1.1
Host: 192.168.0.8:52323
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Length: 328

<?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:GetVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></u:GetVolume></s:Body></s:Envelope>
758227; 58 SoapRequest:GetVolume:urn:schemas-upnp-org:service:RenderingControl:1:InstanceID=0,Channel=Master - <?xml version="1.0"?><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>501</errorCode><errorDescription>Action GetVolume failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
775866; 59 Play - G:\Music\Himsa\Himsa - 2003 Courting Tragedy And Disaster\Himsa - 2003 Courting Tragedy And Disaster - 01 - Dominion.mp3 (http://192.168.0.11:49382/encode/2A5D896FF38C805C-2147483000.wav)
775887; 60 Profile - Generic Device, useragent=
775897; 61 Profile - Generic Device, useragent=
775908; 62 GetEncodedFile[6] 192.168.0.11 - HEAD G:\Music\Himsa\Himsa - 2003 Courting Tragedy And Disaster\Himsa - 2003 Courting Tragedy And Disaster - 01 - Dominion.mp3 to 192.168.0.8; mime=audio/wav,rate=44100,channels=2
776646; 63 Profile - Generic Device, useragent=
776656; 64 Profile - Generic Device, useragent=
776660; 65 GetEncodedFile[7] - range=bytes 0-15/34690868
776665; 66 GetEncodedFile[7] 192.168.0.11 - GET G:\Music\Himsa\Himsa - 2003 Courting Tragedy And Disaster\Himsa - 2003 Courting Tragedy And Disaster - 01 - Dominion.mp3 to 192.168.0.8; mime=audio/wav,rate=44100,channels=2
776670; 67 GetEncodedFile[7] - exit=0, playtime=0
1977984; 68 ProcessMessage 192.168.0.8 - device 'uuid:00000000-0000-1010-8000-104fa8a0b993:BDP-BX370' disconnected
Title: Re: UPnP/ DLNA device support
Post by: PAULPAUL on March 18, 2017, 07:14:05 PM
Hello I'm trying to use MusicBee to send and play music to a Philips TV (i can browse the musicbee library from the TV)
I can do it without problems with foobar (browse the foobar library and send music to the TV)

log:
8; 1 Initialise - 18/03/2017 02:51:41 p.m.
88; 2 GetNetworkAddresses - 192.168.1.7,dns=True,name=Wi-Fi 4,speed=300000000
91; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
94; 4 GetNetworkAddresses - http://192.168.1.7:49382
143; 5 ProcessMessage 192.168.1.7 - device 'uuid:f1c482b4-cdd0-b5a3-81cc-9259d0fd6fc0:foobar2000 Renderer (Pablo) [PABLOPC]',valid=True
1491; 6 Profile - Philips, useragent=IPI/1.0 UPnP/1.0 DLNADOC/1.50
2053; 7 Profile - foobar2000, useragent=UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb / foobar2000

I can send music from MB to the FB dlna renderer without problems. I see that i don't get the ProcessMessage from my TV
There is DMR of my tv

https://drive.google.com/open?id=0BwKldFy2xdWgWUFPZnFSZDc5Yk0 (https://drive.google.com/open?id=0BwKldFy2xdWgWUFPZnFSZDc5Yk0)

Thank you!
Title: serious pledge for dlna working
Post by: johnnyboy on March 22, 2017, 01:19:47 AM
OK here's my pledge.
I have been using MB now for 5 years or more and still think its by far the best program free or not.
However the problems (including me) that people have had over the last year with the DLNA plugin really need resolving urgently. I seriously think there is no future for MB without this being resolved. Does anybody with a substantial music collection still want to play it though their PC speakers? So I am saying to Steven or whoever I am willing to donate £20 to get this sorted.
I'm not kidding here, I love this software but I think this is the biggest problem Steven has faced in terms of what is really important for the program to keep evolving.
Title: Re: UPnP/ DLNA device support
Post by: lostinsound on April 10, 2017, 01:02:38 PM
Hi Steven, Hi all!

I just recently discovered MusicBee and love this software from the start.
I now wanted to use the dlna functionality for my Yamaha RX-V477, but my receiver does not recognise MusicBee,
the "server" selection is empty.

This is what my UpnpErrorLog.dat shows:
2; 1 Initialise - 07.05.2015 20:09:06
16; 2 GetNetworkAddresses - 192.168.2.5,dns=True,name=LAN-Verbindung 4,speed=1000000000
16; 3 GetNetworkAddresses - http://192.168.2.5:49382
153; 4 ProcessMessage 192.168.2.58 - device 'uuid:5f9ec1b3-ed59-1900-4530-00a0deb738f0:Yamaha RX-V477',valid=True
1440; 5 Profile - Generic Device, useragent=Linux/2.6.35 UPnP/1.0 NDS_MHF DLNADOC/1.50
1475; 6 Profile - Generic Device, useragent=Linux/2.6.35 UPnP/1.0 NDS_MHF DLNADOC/1.50

I can however choose the Yamaha as my output device in the MB setting, so MB sees the receiver, but the receiver does not see MB.
Sadly, this approach does not output audio on the receiver.

With this approach the log looks like this:
3; 1 Initialise - 07.05.2015 20:51:49
16; 2 GetNetworkAddresses - 192.168.2.5,dns=True,name=LAN-Verbindung 4,speed=1000000000
16; 3 GetNetworkAddresses - http://192.168.2.5:49382
293; 4 ProcessMessage 192.168.2.58 - device 'uuid:5f9ec1b3-ed59-1900-4530-00a0deb738f0:Yamaha RX-V477',valid=True
1446; 5 Profile - Generic Device, useragent=Linux/2.6.35 UPnP/1.0 NDS_MHF DLNADOC/1.50
1480; 6 Profile - Generic Device, useragent=Linux/2.6.35 UPnP/1.0 NDS_MHF DLNADOC/1.50
17173; 7 Profile - Generic Device, useragent=AV Receiver|
17175; 8 Profile - Generic Device, useragent=AV Receiver|
17204; 9 Activate - Yamaha RX-V477:http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,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-wavetunes:*:audio/x-ms-wma:*,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320

However i am able to use WMP to play files from the MB server. I can even play files from MB over WMP and output to my RX-V477, but i cannot
get my RX-V477 do directly recognise the MB server (it sees the wmp-server however when activated).

Any suggestions?
Thanks,
Tobias

So I have had this same problem with my Yamaha RX-V777 receiver where it won't recognize the MusicBee server, but I think I found a work around. Basically I found that if I use BubbleUPnP to manage the server and select the option to 'Create a proxy Media Server on this LAN', my receiver will recognize the proxy MB server and I can browse the library through my receiver.

It's kind of a work around and maybe not ideal since now some other devices I have see both servers, but it at least works. Just thought I would throw this out there as a possible solution for anyone else having this problem with a Yamaha receiver.
Title: Re: serious pledge for dlna working
Post by: johnnyboy on April 30, 2017, 01:03:32 AM
So nobody is interested.
It looks like reluctantly I will stop using MB.
Title: Re: UPnP/ DLNA device support
Post by: phred on April 30, 2017, 01:26:18 AM
OK here's my pledge.
I have been using MB now for 5 years or more and still think its by far the best program free or not.
However the problems (including me) that people have had over the last year with the DLNA plugin really need resolving urgently. I seriously think there is no future for MB without this being resolved. Does anybody with a substantial music collection still want to play it though their PC speakers? So I am saying to Steven or whoever I am willing to donate £20 to get this sorted.
I'm not kidding here, I love this software but I think this is the biggest problem Steven has faced in terms of what is really important for the program to keep evolving.

So nobody is interested.
It looks like reluctantly I will stop using MB.
Steven created the DLNA plugin and and about a year ago he stated that he doesn't have the time to maintain it. He also offered to give the code to anyone who wanted to take it over and it that year, no one has stepped up. So if it's critical that you have DLNA support in your player, you should be looking for a new player.
Title: Re: UPnP/ DLNA device support
Post by: zigzag10 on May 04, 2017, 10:41:53 AM
So I have had this same problem with my Yamaha RX-V777 receiver where it won't recognize the MusicBee server, but I think I found a work around. Basically I found that if I use BubbleUPnP to manage the server and select the option to 'Create a proxy Media Server on this LAN', my receiver will recognize the proxy MB server and I can browse the library through my receiver.

It's kind of a work around and maybe not ideal since now some other devices I have see both servers, but it at least works. Just thought I would throw this out there as a possible solution for anyone else having this problem with a Yamaha receiver.

+1 for this workaround, BubbleUPnP is very good.  If the DLNA device supports airplay an alternative workaround solution would be to use TuneBlade, Airfoil, or the remote speakers audio plugin developed by Eric Milles.  Ok this may imply a modest outlay of cash, but this could be worth it especially as this may open up the possibility of streaming music to multiple audio devices
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on May 21, 2017, 10:01:06 PM
Well I've signed up to jriver music centre as it plays flac and mp3s to my dlna devices perfectly. Still prefer mb for everything else. Can't understand why Steven doesn't prioritize this more highly.
Title: Re: UPnP/ DLNA device support
Post by: phred on May 21, 2017, 10:22:59 PM
Can't understand why Steven doesn't prioritize this more highly.

Have you read the replies to your previous posts in this thread?
Steven created the DLNA plugin and about about a year ago he stated that he doesn't have the time to maintain it. He also offered to give the code to anyone who wanted to take it over and in that year, no one has stepped up. So if it's critical that you have DLNA support in your player, you should be looking for a new player.
Title: Re: UPnP/ DLNA device support
Post by: Steven on May 21, 2017, 10:39:34 PM
I think this plugin works for many people as-is but as I knew right from the start, some devices have their own interpretation of the standard protocol or this plugin is doing something that particular devices do not expect. I simply dont have the time to try and address issues.
The offer for someone to take further development of this plugin is still open.
Title: Re: UPnP/ DLNA device support
Post by: renius28 on June 09, 2017, 03:33:46 PM
I'm still sad there's no proper DLNA support. I feel like it should be a priority given the utility of musicbee for running a home entertainment center. I'm using the old freeware version of tuneblade but it's not ideal.
Title: Re: UPnP/ DLNA device support
Post by: OldChicagoPete on June 09, 2017, 04:10:37 PM
Steven is there any way you could put the source code up on GitHub, or even on your file server, so that any of us programmer-types could take a look at it and see what we would be getting into?
Title: Re: UPnP/ DLNA device support
Post by: Steven on June 09, 2017, 05:27:46 PM
http://www.mediafire.com/file/niexv5muv655ro5/MusicBeeUpnpSource.7z
Title: Re: UPnP/ DLNA device support
Post by: OldChicagoPete on June 10, 2017, 02:05:25 AM
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.
Title: Re: UPnP/ DLNA device support
Post by: BassT on June 15, 2017, 12:44:24 PM
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?
Title: Re: UPnP/ DLNA device support
Post by: Steven on June 15, 2017, 05:53:37 PM
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
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on July 19, 2017, 09:19:36 PM
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?
Title: Re: UPnP/ DLNA device support
Post by: maartenl on July 23, 2017, 04:36:36 PM
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!
Title: Re: UPnP/ DLNA device support
Post by: Afterburne on July 24, 2017, 01:13:59 AM
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
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on July 28, 2017, 10:20:29 PM
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.
Title: Re: UPnP/ DLNA device support
Post by: phred on July 29, 2017, 03:09:24 AM
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.
Title: Re: UPnP/ DLNA device support
Post by: frankz on September 16, 2017, 07:53:04 PM
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.
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on October 06, 2017, 01:01:13 AM
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.
Title: Re: UPnP/ DLNA device support
Post by: frankz on October 06, 2017, 01:49:35 AM
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.
Title: Re: UPnP/ DLNA device support
Post by: Jkesnk on October 06, 2017, 06:50:21 AM
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...
Title: Re: UPnP/ DLNA device support
Post by: NathanielPillar on November 02, 2017, 04:42:20 AM
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
Title: Re: UPnP/ DLNA device support
Post by: Ralf on November 30, 2017, 12:16:54 PM
@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....
Title: Re: UPnP/ DLNA device support
Post by: phred on November 30, 2017, 12:36:38 PM
@Steven: Wouldn't it eventually be a good idea to go open-source? Sorry, if this was asked before....
https://getmusicbee.com/forum/index.php?topic=2616.15
Title: Re: UPnP/ DLNA device support
Post by: Ralf on November 30, 2017, 01:46:40 PM
That was fast. Thx for the link :-)

Nonetheless the question arises wether Stevens pov has changed in the last four years. It's a long time, lifes change, technology has progressed, etc.
Title: Re: UPnP/ DLNA device support
Post by: Steven on November 30, 2017, 06:04:41 PM
the source code for the plugin has already been made available but no one has stepped up to the plate to enhance it as far as i am aware
Title: Re: UPnP/ DLNA device support
Post by: heliolater on December 06, 2017, 04:44:06 PM
I'm a new user and really enjoying using MB so far.  I'm running it on Windows 10, and have installed the UPNP/DLNA plugin to use my laptop as a controller and stream music to my Xbox One (via Groove).

When I select a track to play in MB, it plays well and displays track info/album art on the Xbox One.  The problem I'm encountering is that it does not advance tracks - once it reaches the end of the track I've selected it just starts over again.  Has anyone else encountered this, and am I missing some sort of setting to fix it?

Thanks!
Title: Re: UPnP/ DLNA device support
Post by: hiccup on December 06, 2017, 04:53:50 PM
Welcome to the forum heliolater,

It's a known issue for some others too.

But (as you can read in this thread) MusicBee's sole developer has: nor access to all the different hardware that users might use, nor has the time available to address further (very time consuming) dlna issues.

He has kindly offered other developpers to take over development of this plugin, but until now, nobody seems to have the knowledge/courage/interest.
Title: Re: UPnP/ DLNA device support
Post by: mxv on December 14, 2017, 04:38:31 PM
Hey
Can any of you please re-post the plugin on any file sharing site?
It appears that the media fire link is not working.
Thanks!
Title: Re: UPnP/ DLNA device support
Post by: Steven on December 14, 2017, 05:52:07 PM
the link has been refreshed
Title: Re: UPnP/ DLNA device support
Post by: Mr. Trev on January 09, 2018, 05:39:20 PM
Once upon a time I tried this plugin (using MB as a frontend for DAPhile (LMS) and Twonky) and it was working fine.

I recently tried again, and now MB won't find anything connected to my network. The only available IP is the laptop MB is running on (why do I have "Winamp plugin" as an output now?). Has anything changed with the way MB connects/searches the network? I know a recent Windows update uninstalled Samba without even mentioning it. I got that back running, but still nothing.
Title: Re: UPnP/ DLNA device support
Post by: Stephanowicz on January 12, 2018, 08:28:02 PM
Hi,

I have  a problem with the size of the settings window...  ::)
My screen is too small so I can't access the last entries like bitrate etc - I manged at least to save the other things by 'blind tabbing' but I'd really like to adjust the bitrate!!

So my  question: where are these settings stored?? I didn't find them in the MusicBee3Settings.ini...

Any help would be really apreciated!

Thank&cheers

Stephan
Title: Re: UPnP/ DLNA device support
Post by: Stephanowicz on January 12, 2018, 10:43:46 PM
O.k., I managed it by rotating the screen  ;D ´

Thanks nevertheless & Cheers
Title: Re: UPnP/ DLNA device support
Post by: Stephanowicz on January 19, 2018, 11:40:52 PM
Hm, would it be possible that we could get a scrollbar for the settings, please!  8)
Would be VERY helpful for people with smaller screen size, like me...

Thanx & Cheers - Stephan
Title: Re: UPnP/ DLNA device support
Post by: AndrewJ on January 30, 2018, 01:47:01 PM
Hi, I wonder if someone can help. This Add On looks like the missing link in getting MusicBee up and running and ditching Win Media Player. At the moment I cast music from Windows Media Player to a network receiver.

I have looking into installing / configuring this and have set the following:

x enable MusicBee to play to a UPnP device (I left continuous stream off for now)
x enable UPnP devices to browse and play from MusicBee  Library
x bucket tree nodes   >500 items
x update play statistics in MusicBee

ServerName = MusicBee       port = 49382


DLNA device profiles  ......  maybe I have this messed up, so here is what I have so far

Typical Entries made in log when using Onkyo Receiver to select files (Onkyo Network Receiver)

1815835; 181 Profile - dLeyna, useragent=dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50
1815837; 182 Browse - 0,BrowseDirectChildren,0,10001,sort=
1815900; 183 Profile - dLeyna, useragent=dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50
1815901; 184 Browse - 0,BrowseMetadata,0,0,sort=
1815918; 185 Profile - dLeyna, useragent=dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50
1815919; 186 Browse - 0,BrowseDirectChildren,0,1,sort=

Typical entries when the  selected file  played using Onkyo Receiver:

1928943; 211 Profile - dLeyna, useragent=dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50
1928944; 212 Browse - 1_100_2_8,BrowseDirectChildren,0,1,sort=
1928969; 213 Profile - Generic Device, useragent=Mozilla/5.0
1929045; 214 Profile - dLeyna, useragent=dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50
1929046; 215 Browse - 1_100_2_8,BrowseMetadata,0,0,sort=
1929110; 216 Profile - Generic Device, useragent=
1929128; 217 Profile - dLeyna, useragent=dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50
1929129; 218 Browse - 1_100_2_8,BrowseDirectChildren,0,1,sort=
1929956; 219 Profile - Generic Device, useragent=GStreamer souphttpsrc libsoup/2.48.1
1929958; 220 GetFile[4] 192.168.1.102 - GET C:\music\The Band\The Band\01 Across the Great Divide.mp3 to 192.168.1.82



This plays the file just great.


My problem is when I want to choose the Onkyo receiver as an Output device. It doesn't appear as an option and I'm stuck with where to look.

As I say, I can do this in WMP, and infact I see log entries happening as follows:
1561369; 164 Profile - Generic Device, useragent=DAFUPnP
1561371; 165 Profile - Generic Device, useragent=Microsoft-Windows/10.0 UPnP/1.0
1562088; 166 Profile - Generic Device, useragent=DAFUPnP
1562090; 167 Profile - Generic Device, useragent=Microsoft-Windows/10.0 UPnP/1.0
1562441; 168 Profile - Generic Device, useragent=FDSSDP
1564080; 169 Profile - Generic Device, useragent=DAFUPnP
1564085; 170 Profile - Generic Device, useragent=Microsoft-Windows/10.0 UPnP/1.0
1564940; 171 Profile - Generic Device, useragent=FDSSDP



Does anyone have any ideas how to get the receiver as an output option so that I can ditch windows media player.


Thanks
Title: Re: UPnP/ DLNA device support
Post by: AndrewJ on February 08, 2018, 01:09:30 PM
Ok, not much going on here :( I will politely leave this  Add On for now. I installed Mediamonkey to check its would work with my UPnP devices and it was perfect other than I so much prefer MusicBee! I will checkout the Airplay add on as the receiver has that as an option, otherwise I can use a USB solution that I have tested.
Title: Re: UPnP/ DLNA device support
Post by: Stephanowicz on March 04, 2018, 03:18:45 PM
@AndrewJ

For playing to a device, You only need to set the 1st option "enable MusicBee to play to a UPnP device" like You've already mentioned.

As I had no problems finding & playing to my AirLino it may be a firewall setting blocking MusicBee...?
Do You have any other device You could test? A TV e.g?

Cheers, Stephan
Title: Re: UPnP/ DLNA device support
Post by: slimshizn on March 13, 2018, 12:33:21 AM
Thanks for you work on this, seems to be working. Just having an issue with Sonos speakers. Everytime I try to play to one it says "error=BASS_ok"


1287643; 209 Activate - Office - Sonos PLAY:3 Media Renderer:http-get:*:audio/mp3:*,x-file-cifs:*:audio/mp3:*,http-get:*:audio/mp4:*,x-file-cifs:*:audio/mp4:*,http-get:*:audio/mpeg:*,x-file-cifs:*:audio/mpeg:*,http-get:*:audio/mpegurl:*,x-file-cifs:*:audio/mpegurl:*,real.com-rhapsody-http-1-0:*:audio/mpegurl:*,file:*:audio/mpegurl:*,http-get:*:audio/x-mpegurl:*,x-file-cifs:*:audio/x-mpegurl:*,http-get:*:application/x-mpegurl:*,x-file-cifs:*:application/x-mpegurl:*,http-get:*:application/apple.vnd.mpegurl:*,x-file-cifs:*:application/apple.vnd.mpegurl:*,http-get:*:audio/mpeg3:*,x-file-cifs:*:audio/mpeg3:*,http-get:*:audio/wav:*,x-file-cifs:*:audio/wav:*,http-get:*:audio/x-wav:*,x-file-cifs:*:audio/x-wav:*,http-get:*:audio/wma:*,x-file-cifs:*:audio/wma:*,http-get:*:audio/x-ms-wma:*,x-file-cifs:*:audio/x-ms-wma:*,http-get:*:audio/aiff:*,x-file-cifs:*:audio/aiff:*,http-get:*:audio/x-aiff:*,x-file-cifs:*:audio/x-aiff:*,http-get:*:audio/flac:*,x-file-cifs:*:audio/flac:*,http-get:*:application/ogg:*,x-file-cifs:*:application/ogg:*,http-get:*:audio/ogg:*,x-file-cifs:*:audio/ogg:*,http-get:*:audio/audible:*,x-file-cifs:*:audio/audible:*,real.com-rhapsody-http-1-0:*:audio/x-ms-wma:*,real.com-rhapsody-direct:*:audio/mp3:*,sonos.com-mms:*:audio/x-ms-wma:*,sonos.com-http:*:audio/mp3:*,sonos.com-http:*:audio/mpeg:*,sonos.com-http:*:audio/mpeg3:*,sonos.com-http:*:audio/wma:*,sonos.com-http:*:audio/mp4:*,sonos.com-http:*:audio/wav:*,sonos.com-http:*:audio/aiff:*,sonos.com-http:*:audio/flac:*,sonos.com-http:*:application/ogg:*,sonos.com-http:*:application/x-mpegURL:*,sonos.com-spotify:*:audio/x-spotify:*,sonos.com-rtrecent:*:audio/x-sonos-recent:*,real.com-rhapsody-http-1-0:*:audio/x-rhap-radio:*,real.com-rhapsody-direct:*:audio/x-rhap-radio:*,pandora.com-pndrradio:*:audio/x-pandora-radio:*,pandora.com-pndrradio-http:*:audio/mpeg3:*,sirius.com-sirradio:*:audio/x-sirius-radio:*,x-rincon:*:*:*,x-rincon-mp3radio:*:*:*,x-rincon-playlist:*:*:*,x-rincon-queue:*:*:*,x-rincon-stream:*:*:*,x-sonosapi-stream:*:*:*,x-sonosapi-hls:*:*:*,x-sonosapi-hls-static:*:*:*,x-sonosapi-radio:*:audio/x-sonosapi-r


Settings
https://imgur.com/a/4wEnr

Title: Re: UPnP/ DLNA device support
Post by: slimshizn on March 13, 2018, 10:48:23 PM
Anyone?
Title: Re: UPnP/ DLNA device support
Post by: frankz on March 13, 2018, 11:40:50 PM
If you read a few of the posts before yours, you'll see that the plugin is abandoned.  If it works for a situation it works, if it doesn't work for other situations it doesn't, and no further development or troubleshooting will be done on it by its original author.

The source code is linked in the thread. If you're a developer - or you know a developer - who is willing to take on the project, it's apparently still an open offer to allow for this to be done.
Title: Re: UPnP/ DLNA device support
Post by: slimshizn on March 17, 2018, 02:41:38 AM
Thanks for the reply. It was worth a shot. Having Sono's speakers located throughout my home means that that is a deal breaker. Unfortunately I'm not a developer nor do I know anyone who is willing to take on such a task. I still like MusicBee and think that it will have it's uses in the future possibly, was REALLY hoping I could just abandon the Sonos application all together with that.
Title: Re: UPnP/ DLNA device support
Post by: Thibault on April 21, 2018, 01:48:27 PM
Bonjour,

j'utilise MusicBee avec mes hauts-parleurs Sonos via MusicBee UPnp.
Le problème chez moi est que cela ne fonctionne qu'avec les fichiers FLAC. Les fichiers mp3 ne sont pas lus ..... ????

Heureusement j'ai peu de fichiers mp3, j'ai beaucoup de flac 16-44.1 et 24-96 et ca fonctionne parfaitement.
Qu'en pensez vous ?
Merci pour vos infos si vous avez une explication à ce problème.
Cordialement
Title: Re: UPnP/ DLNA device support
Post by: frankz on April 21, 2018, 01:59:12 PM
Bonjour,

j'utilise MusicBee avec mes hauts-parleurs Sonos via MusicBee UPnp.
Le problème chez moi est que cela ne fonctionne qu'avec les fichiers FLAC. Les fichiers mp3 ne sont pas lus ..... ????

Heureusement j'ai peu de fichiers mp3, j'ai beaucoup de flac 16-44.1 et 24-96 et ca fonctionne parfaitement.
Qu'en pensez vous ?
Merci pour vos infos si vous avez une explication à ce problème.
Cordialement
https://getmusicbee.com/forum/index.php?topic=14277.msg131900#msg131900
Title: Re: UPnP/ DLNA device support
Post by: vanhoivanbinh on April 23, 2018, 02:25:24 AM
Hello I am a guy from Foobar2000
In foober, with UPNP plug-in, I can set up my UPNP server on my work-computer (running 24/7) and streaming anywhere anytime to my android phone (using Foobar2000 for android)
How can it be on Musicbee??
I try this plug-in but even it does not have an option to set password for the server
Also it cannot access from Browser (chrome)
Any advice?
Title: Re: UPnP/ DLNA device support
Post by: vanhoivanbinh on April 23, 2018, 07:39:45 AM
The problem has been solved, I can access the Musicbee UPNP server from my phone now using Foobar for Android app
Title: Re: UPnP/ DLNA device support
Post by: punkid on May 03, 2018, 11:32:18 AM
I know this plugin is not being developed anymore but is there any way to fix the 100% cpu usage bug? I've narrowed down to what causes it, but have no programming skills to do anything about it.

My network connected TV has a upnp renderer (useragent=IPI/1.0 UPnP/1.0 DLNADOC/1.50). Even when i do not use the upnp function on the TV, when i power it off, my musicbee cpu usage shoots to 100%

On the other hand, my Denon AVR also has a upnp renderer ,which sends a command to let musicbee know that it has finished playing when i power it off. This does NOT cause the cpu usage to shoot to 100%. The last line on the upnp log in this case is : 259152; 40 GetFile[2] - exit=10054, playtime=7136.


So i'm guessing the TV is not sending a "finished playing" command, which is causing the problem.
PLEASE help me fix this because i've tried many mannny more upnp servers but none play well with m3u playlists. I HAVE TO stick to musicbee for this reason.
Title: Re: UPnP/ DLNA device support
Post by: zigzag10 on May 18, 2018, 11:08:23 AM
I’m now playing music via the WASAPI output but had absolutely no problems in the past in using this plugin as a control point and streaming stuff to a raspberry pi/DAC, acting as a UPnP renderer.   Of course, the plugin can also be used so as MusicBee acts a UPnP server, though some folks say there are issues with this. If you’re one of these individuals I strongly suggest you try using  Minimserver (http://minimserver.com) instead.  Its free, actively been developed, and in all respects a very capable UPnP server.  And by the way punkid, I think Minimserver can play m3u playlists!
Title: Re: UPnP/ DLNA device support
Post by: punkid on May 21, 2018, 04:03:17 PM
I’m now playing music via the WASAPI output but had absolutely no problems in the past in using this plugin as a control point and streaming stuff to a raspberry pi/DAC, acting as a UPnP renderer.   Of course, the plugin can also be used so as MusicBee acts a UPnP server, though some folks say there are issues with this. If you’re one of these individuals I strongly suggest you try using  Minimserver (http://minimserver.com) instead.  Its free, actively been developed, and in all respects a very capable UPnP server.  And by the way punkid, I think Minimserver can play m3u playlists!

I had tried Minimserver before and i just gave it another shot. It sadly does not support m3u playlists.
Title: Re: UPnP/ DLNA device support
Post by: zigzag10 on November 06, 2018, 10:16:11 AM
I’m now playing music via the WASAPI output but had absolutely no problems in the past in using this plugin as a control point and streaming stuff to a raspberry pi/DAC, acting as a UPnP renderer.   Of course, the plugin can also be used so as MusicBee acts a UPnP server, though some folks say there are issues with this. If you’re one of these individuals I strongly suggest you try using  Minimserver (http://minimserver.com) instead.  Its free, actively been developed, and in all respects a very capable UPnP server.  And by the way punkid, I think Minimserver can play m3u playlists!

I had tried Minimserver before and i just gave it another shot. It sadly does not support m3u playlists.

I've only just noticed this post - Minimserver actually does support m3u playlists, but it’s important to get the format of the m3u right.  I suggest you check MB’s export playlist settings.  In my case Minimserver resides on my NAS, as does my music collection, and when I export an M3U playlist from MB that I wish to use with Minimserver I check to ensure that ‘use relative paths’ is unchecked, whilst 'use unix path convention' is checked. (The latter incidentally is due to the fact that Windows convention is to use ‘\’ path separators and Linux et al uses ‘/’).
Title: Re: UPnP/ DLNA device support
Post by: gaz5021 on January 09, 2019, 11:45:47 AM
Hi all - I got MusicBee to stream to my SONOS Play 1 using MusicBee's UPnP plugin. Just wanted to share my settings that worked: https://imgur.com/XObJe0Q
Title: Re: UPnP/ DLNA device support
Post by: noyse on January 13, 2019, 01:13:56 PM

So i'm guessing the TV is not sending a "finished playing" command, which is causing the problem.

Unfortunately i have the same problem. even if i do not sending to a upnp device, after some minutes with activated plugin my pc is nearly not useable anymore. the cpu is on 100% :(
Title: Re: UPnP/ DLNA device support
Post by: phred on January 13, 2019, 02:26:35 PM
The UPnP/DLNA plugin has a known history of spiking CPU usage. Just having it installed and not being used will cause CPU usage to hit 100%. The solution is to disable it and/or remove it.
Title: Re: UPnP/ DLNA device support
Post by: bfreinik on January 28, 2019, 03:00:39 AM
For what it's worth I just installed the plugin in the plugin folder. 

My Marantz SR6010 saw the folder musicbee and my flac files play perfectly.

Windows computer to bridge to router to Marantz SR6010

Album art doesn't work but it only occasionally did with windows media player. I suspect it's a Marantz software thing.

I didn't notice a memory spike either.
Title: Re: UPnP/ DLNA device support
Post by: Jimod on February 02, 2019, 12:31:06 AM
Having nstalled MusicBee in W10 from the MS Appstore I find no reference to the app and its folders in the Program Files folders so how/where do I install this plugin?
Jim
Title: Re: UPnP/ DLNA device support
Post by: phred on February 02, 2019, 03:07:57 AM
https://getmusicbee.com/forum/index.php?topic=24703.msg142389#msg142389
Title: Re: UPnP/ DLNA device support
Post by: Jimod on February 02, 2019, 10:17:54 AM
Thanks for the prompt response Phred.
From the link your solution clearly works but, and forgive my ignorance,  which file am I editing?
Title: Re: UPnP/ DLNA device support
Post by: phred on February 02, 2019, 03:28:29 PM
Thanks for the prompt response Phred.
From the link your solution clearly works but, and forgive my ignorance,  which file am I editing?
You're not editing any file. You're trying to add the plugin, correct? After clicking the 'add plugin' button simply point to the ZIP file that contains the plugin and that should do it. Just like in the thread I referenced. Since I don't use the store version of MB, I really can't tell you more than that.
Title: Re: UPnP/ DLNA device support
Post by: Legion on February 02, 2019, 06:08:31 PM
I use this plugin to stream to my DENON audio receiver.
Everything's working just fine, except that sometimes MusicBee simply does NOT scrooble sometimes tracks to last.fm. Also the "played"-counter does not count one up. If I change the output to my PC-speaker it works.

Did anyone face the same problems like me and has some insight what's going wrong here?

And yes, I know that this plugin is not actively supported anymore. Hoping for help anyways! :)
Title: Re: UPnP/ DLNA device support
Post by: Jimod on February 02, 2019, 06:13:31 PM
Thanks again Phred. Understood.
Title: Quality of casting?
Post by: ziabo on March 11, 2019, 07:10:10 PM
Gents, I installed the plugin and assigned my Chromecast Ultra as DLNA Renderer. Now I can Output to Chromecast(Yamaha Receiver) from Music Bee.

I have few questions though:

1. What is the quality of casting? When I cast Flac 192kHz 24-bit, do i get the quality implied by the format?
2. Chromecast does not support Apple Loseless. However, I am still able to cast m4a to my receiver through Chromecast. How come? In this case, does MusicBee reformats the file on the fly?
3. Is there way to setup "Output to>" button on the Toolbar? Currently I am using right click, which is not convenient.

Thank you!
 
Title: Re: UPnP/ DLNA device support
Post by: musicmahn on March 30, 2019, 05:05:05 PM
The UPnP/DLNA plugin has a known history of spiking CPU usage. Just having it installed and not being used will cause CPU usage to hit 100%. The solution is to disable it and/or remove it.

Some followups for the tech illiterate :)

-Does this make the plugin not worth using?
-Is there any alternative that would achieve the same results?
-So you are saying that simply disabling the plugin when not in use is a valid solution?



General for all peeps - Are you currently using this plugin regularly and with success??
I'm just wondering whether I should be putting stock and hope in this direction or not.
Thx!
Title: Re: UPnP/ DLNA device support
Post by: phred on March 30, 2019, 06:46:35 PM
The plugin works fine for some folks, somewhat sketchy for others, or not at all for still others. CPU usage has the potential to spike you system even if disabled and not it use. If you find that happening the only way to resolve it is to completely uninstall and not use it. Again, this happens for some people and not for others.

I say try it. If it works, you're all set. If it doesn't you uninstall it. Don't look for any fixes or updates as the plugin is no longer supported.
Title: Re: UPnP/ DLNA device support
Post by: musicmahn on March 30, 2019, 10:03:26 PM
Thanks much for the reply!
Is there any other solid streaming solution that you can recommend?
I'm trying to figure out how MB ties in with Subsonic.  Would I be able to use MB to stream direct from NAS to device?
Title: Re: UPnP/ DLNA device support
Post by: phred on March 31, 2019, 12:42:09 AM
I'm trying to figure out how MB ties in with Subsonic.  Would I be able to use MB to stream direct from NAS to device?
There's a SubSonic plugin that worked for me for a while and then it didn't. I see there's a recent update, but I haven't tried it yet. I found it much easier to use SubSonic directly. I set up MB to export playlists and point SubSonic to the exported playlists. All my music files are on a NAS and I point SubSonic to that. I can be anywhere in the world and log on to my SubSonic server and listen to my music. I also have the SubSonic app on my Android phone and can also access my music that way.
Title: Re: UPnP/ DLNA device support
Post by: musicmahn on March 31, 2019, 08:34:18 AM
Coming from CDs only a year ago I'm not sure I understand playlists in the way you mention.  I think of a playlist as a mixtape lol.  Grab some tracks and throw them in a certain order "this is my halloween playlist".  
Are you using MB to control your playback on the fly?  Or just to manage your library?

I have plex that gives me that "anywhere in the world" luxury but the interface and ability to customize is lacking.  Looking around this was the best UI I could find but having it control playback of the NAS and stream to my chromecast has been a challenge thus far.  I have the plugin that spawned this thread but am not knowledgeable enough to know if it's taxing my CPU in a bad way.  I just don't want to end up damaging my hardware and efficiency if that's what this plugin means.

Anyway I need to just understand more about how MB and Subsonic can communicate.  Off to google land :)
Title: Re: UPnP/ DLNA device support
Post by: frankz on March 31, 2019, 02:05:12 PM
I have plex that gives me that "anywhere in the world" luxury but the interface and ability to customize is lacking.  Looking around this was the best UI I could find but having it control playback of the NAS and stream to my chromecast has been a challenge thus far.  I have the plugin that spawned this thread but am not knowledgeable enough to know if it's taxing my CPU in a bad way.  I just don't want to end up damaging my hardware and efficiency if that's what this plugin means.
You'll know it's over taxing your CPU when your computer slows down and becomes unresponsive, the fan can't keep up with the heat, and it shuts down for self-protection. That happened to me with the plugin while I was out walking.  It never shut down while I was sitting here, but it did go out of control without being in use a couple of times.

The problem isn't with the plug-in per se.  The plug-in, I'm sure, is fine and written to spec. The problem is with all the other DLNA aware devices on your network that are not written to spec in an attempt to "improve" or expand DLNA.  They make weird requests to the server or use it in unpredictable ways, sometimes even when you're not streaming anything. There are probably as many variations in the implementation of DLNA as there are devices that try to use it, and because it seems that no two devices handled things in the same way, it became impossible for Steven to account for all the different things that can happen while programming the plug-in.  So he moved on to other things, left the plug-in out there for people that would find it useful, and put the plug-in code out publicly for anyone else to take a shot at if they wanted. So far, there have been no takers.  That's the way I understand it, anyway.

So if all of your DLNA aware receivers and TVs and apps play well with the plug-in, you'll be able to use it without difficulty.  If you have a DLNA device that tries to do something that puts the plug-in into a loop that causes it to overtax your system, you will use it with great difficulty or disable it. There's no way to know which scenario will apply until you try to use it.
Title: Re: UPnP/ DLNA device support
Post by: musicmahn on March 31, 2019, 05:15:39 PM
Hmmm.....well there is but one device I'm trying to connect to - a chromecast audio connected to my receiver.  So in the way you explain perhaps this is good.  I'm sure I have other DLNA equipped devices though - is it fathomable that they could cause trouble?  Even though I'm making no attempt on either end in having them communicate?

Reading up on the Subsonic link and wondering if that could work.
Wondering why an app is even needed there though.  Can't you just map a network drive and have MB read from there? 
Outputting the audio is my dilemma and I know that subsonic speaks nicely to chromecast.  So perhaps I could have subsonic running - using purely MB as the interface and running it's own library - playback gets sent to the subsonic which sends to the chromecast?  dang i feel old :(


phred - if you have the minute I would love to hear what you mean by playlists and exporting them.  i've never cared about the word "playlist" until i gave up CDs.  now people talk about it and I scratch my head and feel embarassed

Title: Re: UPnP/ DLNA device support
Post by: frankz on March 31, 2019, 05:51:12 PM
Hmmm.....well there is but one device I'm trying to connect to - a chromecast audio connected to my receiver.  So in the way you explain perhaps this is good.  I'm sure I have other DLNA equipped devices though - is it fathomable that they could cause trouble?  Even though I'm making no attempt on either end in having them communicate?
Yes.  Whether or not you make attempts, DLNA devices regularly scan to find other DLNA devices on the network.
Title: Re: UPnP/ DLNA device support
Post by: phred on March 31, 2019, 05:54:20 PM
Yes.  Whether or not you make attempts, DLNA devices regularly scan to find other DLNA devices on the network.
Which is the reason why if you're running into high CPU usage, you've got to uninstall the plugin. Disabling it won't necessarily stop the bleeding.
Title: Re: UPnP/ DLNA device support
Post by: phred on March 31, 2019, 05:55:00 PM
phred - if you have the minute I would love to hear what you mean by playlists and exporting them.  i've never cared about the word "playlist" until i gave up CDs.  now people talk about it and I scratch my head and feel embarassed
If you don't use playlists, ignore what I said about them in relation to SubSonic (SS.) I use them and like to listen to them when I'm away from the desktop and use them in SS. In order for SS to recognize them, they need to be in PLS format. Preferences > Libraray > Playlists > exported playlists > points to a directory on my MusicServer (simply a Win7 PC where I have SS running 24/7.) When a playlist is created or updated, it is exported to the path and format I configured. Note that you must have "automatically export a static copy" enabled in the playlist settings of MB.

Once a day I have SS automatically scan the directories I have designated - the playlists on the Win7 box and the music tracks on my mapped NAS.

Once I'm connected to the SS server, MB is out of the picture. MB is -not- the interface. As for using chromecast, MB, and SS, you'll have to find someone to help you with that. I don't do chrome.

It's helps tremendously to have a static IP for your connection to the outside world. Makes it easier to connect from outside to SS. There are some apps out there that note any change to your dynamic IP and report the change to you. Fortunately for me, my dynamic IP hasn't changed in years.

I hope this is helpful.

MB's Artwork View showing (some of the) albums recently added...
(http://i.imgur.com/yIoAMiVl.jpg) (https://i.imgur.com/yIoAMiV.jpg)

SS's view of recently added albums...
(http://i.imgur.com/nVl31JAl.jpg) (https://i.imgur.com/nVl31JA.jpg)
Title: Re: UPnP/ DLNA device support
Post by: frankz on March 31, 2019, 06:10:18 PM
IMO, and take this for what it's worth, you should pick an ecosystem that works best for what you're trying to accomplish and completely build it out rather than trying to fit a round peg into the square hole.  Getting these unrelated ecosystems to work effectively in tandem is nearly impossible.

I tried just about every one of the methods you're exploring here to do almost exactly what you're trying to do, and each of them had massive problems that rendered the method unworkable.  You get into "I'm going to run this system with this plugin to accomplish goal a, and then feed into to the system that accomplishes goal b which has its own plugin for the next system down the line that accomplishes goal c," and you have too many possible points of failure and too many hacked together solutions to ever just sit back and listen to music.

I began to lose sight of the fact that the goal was to sit down, relax and listen to music, not run 24 hour tech support on my music listening system.  You seem to be veering into "spending more time managing my system than enjoying my system" territory.

Once I realized that there is no one system that is going to tick all of the boxes, I took stock of what is important to me to get the most out of my music listening, and built it based on MusicBee, which was best at what I wanted to do.  When I want to Chromecast or listen outside the house, I have my listening library synched to my android device because it is what works best for those things, then I have that android device report back the plays to MusicBee.

That's my example.  phred's example is the most workable one for what he wants to do. Each of our systems relies on two systems that are not connected but report information to the other as needed.
Title: Re: UPnP/ DLNA device support
Post by: musicmahn on March 31, 2019, 06:54:52 PM
Well I shall keep digging and will love to share any findings should they be noteworthy!

This plugin although only tested on two quick occasions did what it was supposed to do so maybe there's enough hope there.  Perhaps on some of the DLNA devices I have I can figure a way to "turn them off" in terms of searching for other devices?

I've got plex running fine - from a listening standpoint everything is great.  I just hate the interface and the idea of always having to use it when browsing my music for playback.
So I'm just trying to push the issue with MB because I really like all that it has to offer with custom layouts.  Strange to me that outputting to these devices is still getting ignored I would think this is where everything is going anyway?
Title: Re: UPnP/ DLNA device support
Post by: phred on March 31, 2019, 07:23:23 PM
This plugin although only tested on two quick occasions did what it was supposed to do so maybe there's enough hope there.  Perhaps on some of the DLNA devices I have I can figure a way to "turn them off" in terms of searching for other devices?
I don't think "two quick occasions" is a valid test. Leave MB open with DLNA enabled for 15-30 minutes and see what happens.
Title: Re: UPnP/ DLNA device support
Post by: Steven on June 24, 2019, 06:20:13 PM
I am willing to spend some time on the Upnp plugin to debug 2 issues - 100% cpu and high memory usage.
Anyone who can reliably reproduce those issues and willing to run a debug version then let me know

edit:
try this version which might solve the issue:
https://www.mediafire.com/file/4vvpxv0m4fs0vb6/mb_Upnp.zip/file
unzip and copy into the Plugins folder
Title: Re: UPnP/ DLNA device support
Post by: jev on July 04, 2019, 05:42:12 PM
Hi,

Hope this is the right place to ask this.

I use the upnp plugin to stream my music on my audio system through a raspberry pi that runs upmpdcli / mpd. Everything works pretty well except radios. I can play the radio with MB locally on my laptop but as soon as I switch to the upnpn output, I can't get any audio. Any idea?

Thx.
Title: Re: UPnP/ DLNA device support
Post by: WaltherB on July 12, 2019, 01:40:11 AM
Hi,

Excuse my terrible ignorance... but HOW do I actually play from MusicBee on my PC to my ChromeCast Audio device? Is there some more elaborate documentation somewhere?

I have installed the "UPnP/ DLNA device support" from https://www.getmusicbee.com/addons/plugins/11/upnp-dlna-device-support/ in my MusicBee, and I can open the configuration dialogue.

Reading the somewhat "simplified documentation" on the download page: "Supports server mode (enables UPnP devices to browse and play from the MusicBee library) and controller mode (playing from MusicBee to UPnP devices)" I specifically interpret "playing from MusicBee to UPnP devices" as that I should be able to do some kind of "Play To" from my MusicBee on the PC TO my ChromeCast.

But I find no such function? Do I need some app on my phone to browse the MusicBee media library and send/transfer the media to ChromeCast? Or should it be possible to "send" directly from MusicBee to the ChromeCast as I interpret the description?


BR // Walther
Title: Re: UPnP/ DLNA device support
Post by: frankz on July 12, 2019, 02:34:22 AM
Hi,

Excuse my terrible ignorance... but HOW do I actually play from MusicBee on my PC to my ChromeCast Audio device? Is there some more elaborate documentation somewhere?

I have installed the "UPnP/ DLNA device support" from https://www.getmusicbee.com/addons/plugins/11/upnp-dlna-device-support/ in my MusicBee, and I can open the configuration dialogue.

Reading the somewhat "simplified documentation" on the download page: "Supports server mode (enables UPnP devices to browse and play from the MusicBee library) and controller mode (playing from MusicBee to UPnP devices)" I specifically interpret "playing from MusicBee to UPnP devices" as that I should be able to do some kind of "Play To" from my MusicBee on the PC TO my ChromeCast.

But I find no such function? Do I need some app on my phone to browse the MusicBee media library and send/transfer the media to ChromeCast? Or should it be possible to "send" directly from MusicBee to the ChromeCast as I interpret the description?


BR // Walther
https://getmusicbee.com/forum/index.php?topic=22318.0
Title: Re: UPnP/ DLNA device support
Post by: Rnkroi on July 13, 2019, 10:25:21 PM
I cant click the buttons at the bottom because the window is not big enough and I cant make it big enough to make the buttons accessible
Title: Re: UPnP/ DLNA device support
Post by: phred on July 13, 2019, 10:37:28 PM
I cant click the buttons at the bottom because the window is not big enough and I cant make it big enough to make the buttons accessible
It sounds like your display might be set to higher than 100%. If that's the case, try setting it to 100% and see if that fixes the issue.
Title: Re: UPnP/ DLNA device support
Post by: Rnkroi on July 15, 2019, 04:14:01 AM
I cant click the buttons at the bottom because the window is not big enough and I cant make it big enough to make the buttons accessible
It sounds like your display might be set to higher than 100%. If that's the case, try setting it to 100% and see if that fixes the issue.

My computer display? I checked and its what its supposed to be, or does MB has its own display settings? if so, where?
Title: Re: UPnP/ DLNA device support
Post by: phred on July 15, 2019, 12:54:04 PM
My computer display? I checked and its what its supposed to be, or does MB has its own display settings? if so, where?
Yes, your monitor display. MB does not have its own display settings. And you stating that your display is "what it's supposed to be" doesn't answer the question. Is the display set for 100%? And if not, reset it to 100% and see if that fixes the issue.
Title: Re: UPnP/ DLNA device support
Post by: memoria on August 24, 2019, 07:04:41 AM
I dont understand why this only works from the home network when I have the port forwarding set up. Will this ever change in the future? I'd love to be able to play my musicbee playlists while in the car
Title: Re: UPnP/ DLNA device support
Post by: olivierdo on September 17, 2019, 01:29:26 PM
hi, i have a network player pioner NP30 and i tried all the different profiles but no one works, very strange 'cos all the another streaming services (foobar, windows stream etc..) works fine..any idea?
Title: Re: UPnP/ DLNA device support
Post by: lodiped on October 15, 2019, 09:22:42 PM
I'm using this with ChromeCast and for some reason the songs always cut off a second in the beginning and another at the end. It's really annoying and I can't find anyone with the same problem. What settings could be impacting this?
Title: Re: UPnP/ DLNA device support
Post by: zehuti on November 09, 2019, 10:15:51 PM
First of all - thank you for very good media player and DLNA plugin! I tried a lot of media players and MB is the best imo. 👍

But... there is that but with bugs 😁

Not sure if its MB or plugin related.


Over time in "Output to" new lines with same DLNA player is added. Even if MB is idling without anything playing. In DLNA plugin server and play to is enabled.

When MB is set Output to DLNA player. Choosing song on the phone from MB Media Library, file streamed as PCM. But if MB is set Output to Primary Sound Driver. Then file streamed as is - FLAC M4A MP3...

Playing to DLNA player from MB is always in PCM 44.1 kHz / 16 bit no matter what is set in settings.

MB version 3.3.7252
UPnP/ DLNA plugin from  25.06.2019


(https://i.ibb.co/VM99c39/Untitled.jpg) (https://ibb.co/3Sdd9kd)


some lines from log

5; 1 Initialise - 09.11.2019 23:33:34
106; 2 GetNetworkAddresses - 192.168.2.1,dns=True,name=Wi-Fi,speed=300000000
117; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
127; 4 GetNetworkAddresses - http://192.168.2.1:21038
178; 5 ProcessMessage 192.168.2.43 - device 'uuid:4e85d473-636b-1031-0080-0005cdca56be:ACT-Denon AVR-X1400H',valid=True
1585; 6 Profile - DENON, useragent=LINUX UPnP/1.0 Denon-Heos/147202
11120; 7 Profile - DENON, useragent=Shares User defined folders and files to other Universal Plug and Play media devices.|LINUX UPnP/1.0 Denon-Heos/147202
11131; 8 Profile - DENON, useragent=Shares User defined folders and files to other Universal Plug and Play media devices.|LINUX UPnP/1.0 Denon-Heos/147202
11168; 9 Activate - ACT-Denon AVR-X1400H:
11903; 10 Profile - Generic Device, useragent=libcurl-agent/1.0
11920; 11 ProcessRequest:HttpException:404 - Bad parameter
17842; 12 Play - D:\Music\flac\Simply Red - Greatest Hits (1996)\01. Simply Red - Holding Back the Years.flac (http://192.168.2.1:21038/encode/053C8DBDF4AF1361-2147483643.L16)
17893; 13 Profile - Generic Device, useragent=AvegaMediaServer/2.0 Linux/2.6
17956; 14 Profile - Generic Device, useragent=AvegaMediaServer/2.0 Linux/2.6
17967; 15 GetEncodedFile[1] 192.168.2.1 - GET D:\Music\flac\Simply Red - Greatest Hits (1996)\01. Simply Red - Holding Back the Years.flac to 192.168.2.43; mime=audio/L16;rate=44100;channels=2,rate=44100,channels=2
18509; 16 StateTimer - Playing,old=Loading
18957; 17 Profile - Generic Device, useragent=libcurl-agent/1.0
42694; 18 ProcessMessage 192.168.2.43 - device 'uuid:4e85d473-636b-1031-0080-0005cdca56be:ACT-Denon AVR-X1400H',valid=True
42798; 19 ProcessMessage 192.168.2.43 - device 'uuid:4e85d473-636b-1031-0080-0005cdca56be:ACT-Denon AVR-X1400H',valid=True
52193; 20 Profile - DENON, useragent=LINUX UPnP/1.0 Denon-Heos/147202
52220; 21 Browse - 0,BrowseDirectChildren,0,20,sort=
102691; 22 ProcessMessage 192.168.2.43 - device 'uuid:4e85d473-636b-1031-0080-0005cdca56be:ACT-Denon AVR-X1400H',valid=True
102795; 23 ProcessMessage 192.168.2.43 - device 'uuid:4e85d473-636b-1031-0080-0005cdca56be:ACT-Denon AVR-X1400H',valid=True
162691; 24 ProcessMessage 192.168.2.43 - device 'uuid:4e85d473-636b-1031-0080-0005cdca56be:ACT-Denon AVR-X1400H',valid=True
162793; 25 ProcessMessage 192.168.2.43 - device 'uuid:4e85d473-636b-1031-0080-0005cdca56be:ACT-Denon AVR-X1400H',valid=True
Title: Re: UPnP/ DLNA device support
Post by: Steven on November 10, 2019, 08:22:45 PM
Over time in "Output to" new lines with same DLNA player is added. Even if MB is idling without anything playing. In DLNA plugin server and play to is enabled.
are you willing to run a debug version of the plugin?
Title: Re: UPnP/ DLNA device support
Post by: zehuti on November 12, 2019, 10:29:06 AM
Over time in "Output to" new lines with same DLNA player is added. Even if MB is idling without anything playing. In DLNA plugin server and play to is enabled.
are you willing to run a debug version of the plugin?

Sure! I will gladly help to make it better. Just tell me what and how to.
Title: Re: UPnP/ DLNA device support
Post by: Steven on November 12, 2019, 05:33:01 PM
Sure! I will gladly help to make it better. Just tell me what and how to.
I wont be able to do anything for a couple of days, however I already had made a couple of changes, so could you re-download the link from the first post to see if it helps. Make sure MB is closed when you replace the plugin dll
Title: Re: UPnP/ DLNA device support
Post by: zehuti on November 12, 2019, 06:50:05 PM
Quote
I wont be able to do anything for a couple of days, however I already had made a couple of changes, so could you re-download the link from the first post to see if it helps. Make sure MB is closed when you replace the plugin dll

Still the same. New lines with DLNA player is added even if i just open MB and AVR is just idling. Also tried with clean MB portable.
Title: Re: UPnP/ DLNA device support
Post by: Steven on November 14, 2019, 05:34:00 PM
Sure! I will gladly help to make it better. Just tell me what and how to.

https://www.mediafire.com/file/o0l3nt3itit21xl/mb_Upnp.dll/file
replace the existing plugin making sure MB is closed at the time
I need the entry in the log for "NewMediaRendererDevice:"
Title: Re: UPnP/ DLNA device support
Post by: zehuti on November 14, 2019, 08:53:29 PM
Quote

I need the entry in the log for "NewMediaRendererDevice:"


log file (https://drive.google.com/open?id=1NbDbOn3pPIe7lr43ONIJ1HuawLDO9PMP)
Title: Re: UPnP/ DLNA device support
Post by: Steven on November 14, 2019, 10:19:30 PM
I think this should fix the multiple output devices issue

http://www.mediafire.com/file/4vvpxv0m4fs0vb6/mb_Upnp.zip/file
Title: Re: UPnP/ DLNA device support
Post by: zehuti on November 15, 2019, 09:50:27 AM
I think this should fix the multiple output devices issue

http://www.mediafire.com/file/4vvpxv0m4fs0vb6/mb_Upnp.zip/file


yes! no more multiple output devices 👍 👏


What about transcoding when streaming from MB to receiver? It always sends PCM stream. But it does not happen if i use app on the phone, connect to MB upnp server and tell what song to play.
Title: Re: UPnP/ DLNA device support
Post by: zehuti on November 15, 2019, 02:06:40 PM
Found some other bugs.

Name of receiver in "Output to" changes. I cant figure out when and why it happens. It does not change when MB is already running. Name than MB gets at start stays the same.

First time i used new upnp.dll name was Denon AVR-X1400H.

After playing music for some time, closed MB and turned AVR off. And later opened MB and AVR on. Name was ACT-Denon AVR-X1400H.

I  was able to get name Denon AVR-X1400H ones again after closing MB and resetting AVR. But could not reproduce that again. ¯\_(ツ)_/¯


Also if i turn AVR off but MB is still on, name of the AVR is still in "Output to". And if i change "Output to" primary sound and then try to set back to AVR, MB then stops responding for 10-15 sec.

(https://i.ibb.co/yXTs8Tt/123.png)
Title: Re: UPnP/ DLNA device support
Post by: Steven on November 15, 2019, 02:21:09 PM
Found some other bugs.
its probably best you use another application as i wont be able to help further. For the device name issue, i have made a change which is available on the plugin download link
Title: Re: UPnP/ DLNA device support
Post by: Ralf on November 25, 2019, 02:56:24 PM
Strange thing. Installed the last release of MB and UPnP doesn't play anymore. Tried to switch to Continous Stream but no change.

The logfile mentions my Virtualbox network-adapter-IP in context with "streaming" instead of the physical network. Maybe that's a clue?


Code
87111; 1 Profile - Generic Device, useragent=AVM UPnP/1.0 Client 1.0
88158; 2 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
88185; 3 Profile - Generic Device, useragent=Linux/4.4.59+, UPnP/1.0, Portable SDK for UPnP devices/1.6.21
106752; 4 Profile - Generic Device, useragent=|POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
106758; 5 Profile - Generic Device, useragent=|POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
107066; 6 Activate - Connect 150 00226124c770:http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:*,http-get:*:audio/mp4:*,http-get:*:audio/m4a:*,http-get:*:audio/x-m4a:*,http-get:*:audio/m4b:*,http-get:*:audio/x-m4b:*,http-get:*:audio/x-aac:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/L16:*,http-get:*:audio/L16;rate=11000;channels=1:*,http-get:*:audio/L16;rate=11000;channels=2:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=22000;channels=1:*,http-get:*:audio/L16;rate=22000;channels=2:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=44100;channels=4:*,http-get:*:audio/L16;rate=44100;channels=6:*,http-get:*:audio/L16;rate=44100;channels=8:*,http-get:*:audio/L16;rate=8000;channels=1:*,http-get:*:audio/L16;rate=8000;channels=2:*,http-get:*:audio/L8:*,http-get:*:audio/L8;rate=11000;channels=1:*,http-get:*:audio/L8;rate=11000;channels=2:*,http-get:*:audio/L8;rate=11025;channels=1:*,http-get:*:audio/L8;rate=11025;channels=2:*,http-get:*:audio/L8;rate=22000;channels=1:*,http-get:*:audio/L8;rate=22000;channels=2:*,http-get:*:audio/L8;rate=22050;channels=1:*,http-get:*:audio/L8;rate=22050;channels=2:*,http-get:*:audio/L8;rate=44100;channels=1:*,http-get:*:audio/L8;rate=44100;channels=2:*,http-get:*:audio/L8;rate=48000;channels=1:*,http-get:*:audio/L8;rate=48000;channels=2:*,http-get:*:audio/L8;rate=8000;channels=1:*,http-get:*:audio/L8;rate=8000;channels=2:*
185223; 7 Profile - Generic Device, useragent=AVM UPnP/1.0 Client 1.0
186463; 8 Profile - Generic Device, useragent=FSL DLNADOC/1.50 UPnP Stack/1.0
186477; 9 Profile - Generic Device, useragent=Linux/4.4.59+, UPnP/1.0, Portable SDK for UPnP devices/1.6.21
188839; 10 Play - stream (http://192.168.56.1:49382/encode/continuousstream-2147483633.L16)
Title: Re: UPnP/ DLNA device support
Post by: Steven on November 25, 2019, 06:41:53 PM
Strange thing. Installed the last release of MB and UPnP doesn't play anymore.
I am not aware of any changes i made to the playback on the musicbee side. If you re-install the older MB version (which version was it?) does it work again?
Title: Re: UPnP/ DLNA device support
Post by: Ralf on November 26, 2019, 01:21:04 PM
UPDATE with Workaround
I found a workaround on a german tech site (https://www.windows-faq.de/2019/02/19/reihenfolge-der-netzwerkverbindungen-festlegen-bei-windows-10/) which prioritizes the adapters and gives the phyiscal one the highest priority.


####################################

Hi Steven,
don't think it's a new problem, more a coincidence.

I could track the issue down: When disabling the Virtualbox-Ethernet adapter MB is doin what it should.

I assume the problem is how MB is choosing between multiple adapters and that it's always using the first one, which is VM in my case.

If I'm correct, is there a switch for this or do you have to correct the algo here? I don't even know wether there's any distinction technically between virtual and physical adapters.

See the log here for details. First start was with Virtualbox-adapter deactivated, on the second run it was on:

Code
1; 1 Initialise - 26.11.2019 13:59:21
22; 2 GetNetworkAddresses - 192.168.251.27,dns=True,name=Ethernet 2,speed=1000000000
26; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
30; 4 GetNetworkAddresses - http://192.168.251.27:49382
79; 5 ProcessMessage 192.168.251.22 - device 'uuid:3dcc7100-f76c-11dd-87af-00226124c770:Connect 150 00226124c770',valid=True
11700; 6 Profile - Generic Device, useragent=|POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
11709; 7 Profile - Generic Device, useragent=|POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
11976; 8 Activate - Connect 150 00226124c770:http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:*,http-get:*:audio/mp4:*,http-get:*:audio/m4a:*,http-get:*:audio/x-m4a:*,http-get:*:audio/m4b:*,http-get:*:audio/x-m4b:*,http-get:*:audio/x-aac:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/L16:*,http-get:*:audio/L16;rate=11000;channels=1:*,http-get:*:audio/L16;rate=11000;channels=2:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=22000;channels=1:*,http-get:*:audio/L16;rate=22000;channels=2:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=44100;channels=4:*,http-get:*:audio/L16;rate=44100;channels=6:*,http-get:*:audio/L16;rate=44100;channels=8:*,http-get:*:audio/L16;rate=8000;channels=1:*,http-get:*:audio/L16;rate=8000;channels=2:*,http-get:*:audio/L8:*,http-get:*:audio/L8;rate=11000;channels=1:*,http-get:*:audio/L8;rate=11000;channels=2:*,http-get:*:audio/L8;rate=11025;channels=1:*,http-get:*:audio/L8;rate=11025;channels=2:*,http-get:*:audio/L8;rate=22000;channels=1:*,http-get:*:audio/L8;rate=22000;channels=2:*,http-get:*:audio/L8;rate=22050;channels=1:*,http-get:*:audio/L8;rate=22050;channels=2:*,http-get:*:audio/L8;rate=44100;channels=1:*,http-get:*:audio/L8;rate=44100;channels=2:*,http-get:*:audio/L8;rate=48000;channels=1:*,http-get:*:audio/L8;rate=48000;channels=2:*,http-get:*:audio/L8;rate=8000;channels=1:*,http-get:*:audio/L8;rate=8000;channels=2:*
126143; 9 ProcessMessage 192.168.251.22 - device 'uuid:3dcc7100-f76c-11dd-87af-00226124c770:Connect 150 00226124c770' disconnected
126670; 10 ProcessMessage 192.168.251.22 - device 'uuid:3dcc7100-f76c-11dd-87af-00226124c770:Connect 150 00226124c770',valid=True
126677; 11 Profile - Generic Device, useragent=|POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
126684; 12 Profile - Generic Device, useragent=|POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
127370; 13 Activate - Connect 150 00226124c770:http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:*,http-get:*:audio/mp4:*,http-get:*:audio/m4a:*,http-get:*:audio/x-m4a:*,http-get:*:audio/m4b:*,http-get:*:audio/x-m4b:*,http-get:*:audio/x-aac:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/L16:*,http-get:*:audio/L16;rate=11000;channels=1:*,http-get:*:audio/L16;rate=11000;channels=2:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=22000;channels=1:*,http-get:*:audio/L16;rate=22000;channels=2:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=44100;channels=4:*,http-get:*:audio/L16;rate=44100;channels=6:*,http-get:*:audio/L16;rate=44100;channels=8:*,http-get:*:audio/L16;rate=8000;channels=1:*,http-get:*:audio/L16;rate=8000;channels=2:*,http-get:*:audio/L8:*,http-get:*:audio/L8;rate=11000;channels=1:*,http-get:*:audio/L8;rate=11000;channels=2:*,http-get:*:audio/L8;rate=11025;channels=1:*,http-get:*:audio/L8;rate=11025;channels=2:*,http-get:*:audio/L8;rate=22000;channels=1:*,http-get:*:audio/L8;rate=22000;channels=2:*,http-get:*:audio/L8;rate=22050;channels=1:*,http-get:*:audio/L8;rate=22050;channels=2:*,http-get:*:audio/L8;rate=44100;channels=1:*,http-get:*:audio/L8;rate=44100;channels=2:*,http-get:*:audio/L8;rate=48000;channels=1:*,http-get:*:audio/L8;rate=48000;channels=2:*,http-get:*:audio/L8;rate=8000;channels=1:*,http-get:*:audio/L8;rate=8000;channels=2:*
150778; 14 Activate - Connect 150 00226124c770:http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:*,http-get:*:audio/mp4:*,http-get:*:audio/m4a:*,http-get:*:audio/x-m4a:*,http-get:*:audio/m4b:*,http-get:*:audio/x-m4b:*,http-get:*:audio/x-aac:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/L16:*,http-get:*:audio/L16;rate=11000;channels=1:*,http-get:*:audio/L16;rate=11000;channels=2:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=22000;channels=1:*,http-get:*:audio/L16;rate=22000;channels=2:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=44100;channels=4:*,http-get:*:audio/L16;rate=44100;channels=6:*,http-get:*:audio/L16;rate=44100;channels=8:*,http-get:*:audio/L16;rate=8000;channels=1:*,http-get:*:audio/L16;rate=8000;channels=2:*,http-get:*:audio/L8:*,http-get:*:audio/L8;rate=11000;channels=1:*,http-get:*:audio/L8;rate=11000;channels=2:*,http-get:*:audio/L8;rate=11025;channels=1:*,http-get:*:audio/L8;rate=11025;channels=2:*,http-get:*:audio/L8;rate=22000;channels=1:*,http-get:*:audio/L8;rate=22000;channels=2:*,http-get:*:audio/L8;rate=22050;channels=1:*,http-get:*:audio/L8;rate=22050;channels=2:*,http-get:*:audio/L8;rate=44100;channels=1:*,http-get:*:audio/L8;rate=44100;channels=2:*,http-get:*:audio/L8;rate=48000;channels=1:*,http-get:*:audio/L8;rate=48000;channels=2:*,http-get:*:audio/L8;rate=8000;channels=1:*,http-get:*:audio/L8;rate=8000;channels=2:*
2; 1 Initialise - 26.11.2019 14:02:36
22; 2 GetNetworkAddresses - 192.168.251.27,dns=True,name=Ethernet 2,speed=1000000000
27; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
33; 4 GetNetworkAddresses - http://192.168.251.27:49382
82; 5 ProcessMessage 192.168.251.22 - device 'uuid:3dcc7100-f76c-11dd-87af-00226124c770:Connect 150 00226124c770',valid=True
91; 6 Profile - Generic Device, useragent=|POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
95; 7 Profile - Generic Device, useragent=|POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
401; 8 Activate - Connect 150 00226124c770:http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:*,http-get:*:audio/mp4:*,http-get:*:audio/m4a:*,http-get:*:audio/x-m4a:*,http-get:*:audio/m4b:*,http-get:*:audio/x-m4b:*,http-get:*:audio/x-aac:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/L16:*,http-get:*:audio/L16;rate=11000;channels=1:*,http-get:*:audio/L16;rate=11000;channels=2:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=22000;channels=1:*,http-get:*:audio/L16;rate=22000;channels=2:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=44100;channels=4:*,http-get:*:audio/L16;rate=44100;channels=6:*,http-get:*:audio/L16;rate=44100;channels=8:*,http-get:*:audio/L16;rate=8000;channels=1:*,http-get:*:audio/L16;rate=8000;channels=2:*,http-get:*:audio/L8:*,http-get:*:audio/L8;rate=11000;channels=1:*,http-get:*:audio/L8;rate=11000;channels=2:*,http-get:*:audio/L8;rate=11025;channels=1:*,http-get:*:audio/L8;rate=11025;channels=2:*,http-get:*:audio/L8;rate=22000;channels=1:*,http-get:*:audio/L8;rate=22000;channels=2:*,http-get:*:audio/L8;rate=22050;channels=1:*,http-get:*:audio/L8;rate=22050;channels=2:*,http-get:*:audio/L8;rate=44100;channels=1:*,http-get:*:audio/L8;rate=44100;channels=2:*,http-get:*:audio/L8;rate=48000;channels=1:*,http-get:*:audio/L8;rate=48000;channels=2:*,http-get:*:audio/L8;rate=8000;channels=1:*,http-get:*:audio/L8;rate=8000;channels=2:*
2460; 9 Play - \\thelair\music\Boston\Boston (1976)\04 Rock & Roll Band - Boston.flac (http://192.168.251.27:49382/files/DACD27205673B306p.x-flac)
2510; 10 Profile - Generic Device, useragent=NSPlayer/8.0.0.3801
2721; 11 GetFile[1] 192.168.251.27 - HEAD \\thelair\music\Boston\Boston (1976)\04 Rock & Roll Band - Boston.flac to 192.168.251.22
2877; 12 Profile - Generic Device, useragent=FSL IR/0.1
3014; 13 Profile - Generic Device, useragent=NSPlayer/8.0.0.3801
3019; 14 GetFile[2] 192.168.251.27 - HEAD \\thelair\music\Boston\Boston (1976)\04 Rock & Roll Band - Boston.flac to 192.168.251.22
3051; 15 Profile - Generic Device, useragent=NSPlayer/8.0.0.3801
3056; 16 GetFile[3] 192.168.251.27 - GET \\thelair\music\Boston\Boston (1976)\04 Rock & Roll Band - Boston.flac to 192.168.251.22
3067; 17 GetFile - range=bytes 0-22463306/22463307
3413; 18 StateTimer - Loading,old=Stopped
3568; 19 Profile - Generic Device, useragent=FSL IR/0.1
3767; 20 Profile - Generic Device, useragent=FSL IR/0.1
3925; 21 StateTimer - Playing,old=Loading
3949; 22 Profile - Generic Device, useragent=FSL IR/0.1
[...]
91050; 894 Profile - Generic Device, useragent=FSL IR/0.1
91106; 895 GetFile[3] - exit=10054, playtime=88035
91226; 896 Profile - Generic Device, useragent=FSL IR/0.1

2; 1 Initialise - 26.11.2019 14:05:12
30; 2 GetNetworkAddresses - 192.168.56.1,dns=True,name=Ethernet,speed=1000000000
36; 3 GetNetworkAddresses - 192.168.251.27,dns=True,name=Ethernet 2,speed=1000000000
40; 4 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
45; 5 GetNetworkAddresses - http://192.168.56.1:49382
104; 6 ProcessMessage 192.168.251.22 - device 'uuid:3dcc7100-f76c-11dd-87af-00226124c770:Connect 150 00226124c770',valid=True
113; 7 Profile - Generic Device, useragent=|POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
118; 8 Profile - Generic Device, useragent=|POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
402; 9 Activate - Connect 150 00226124c770:http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:*,http-get:*:audio/mp4:*,http-get:*:audio/m4a:*,http-get:*:audio/x-m4a:*,http-get:*:audio/m4b:*,http-get:*:audio/x-m4b:*,http-get:*:audio/x-aac:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/L16:*,http-get:*:audio/L16;rate=11000;channels=1:*,http-get:*:audio/L16;rate=11000;channels=2:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=22000;channels=1:*,http-get:*:audio/L16;rate=22000;channels=2:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=44100;channels=4:*,http-get:*:audio/L16;rate=44100;channels=6:*,http-get:*:audio/L16;rate=44100;channels=8:*,http-get:*:audio/L16;rate=8000;channels=1:*,http-get:*:audio/L16;rate=8000;channels=2:*,http-get:*:audio/L8:*,http-get:*:audio/L8;rate=11000;channels=1:*,http-get:*:audio/L8;rate=11000;channels=2:*,http-get:*:audio/L8;rate=11025;channels=1:*,http-get:*:audio/L8;rate=11025;channels=2:*,http-get:*:audio/L8;rate=22000;channels=1:*,http-get:*:audio/L8;rate=22000;channels=2:*,http-get:*:audio/L8;rate=22050;channels=1:*,http-get:*:audio/L8;rate=22050;channels=2:*,http-get:*:audio/L8;rate=44100;channels=1:*,http-get:*:audio/L8;rate=44100;channels=2:*,http-get:*:audio/L8;rate=48000;channels=1:*,http-get:*:audio/L8;rate=48000;channels=2:*,http-get:*:audio/L8;rate=8000;channels=1:*,http-get:*:audio/L8;rate=8000;channels=2:*
631; 10 Profile - Generic Device, useragent=FSL IR/0.1
637; 11 ProcessRequest:HttpException:404 - Bad parameter
2111; 12 Play - \\thelair\music\Boston\Boston (1976)\04 Rock & Roll Band - Boston.flac (http://192.168.56.1:49382/files/DACD27205673B306p.x-flac)


(https://i.imgur.com/sYKQ0Qs.png)
Title: Re: UPnP/ DLNA device support
Post by: zigzag10 on November 27, 2019, 05:00:18 PM
Brilliant plugin - many thanks Steven for developing it.  I use it solely to steam content to a raspberry Pi/DAC running Moode Audio and have had absolutely no issues with it.

Incidentally, I'm using its Generic Profile and by changing the upper range of the output sample range to ‘192,000’ and the maximum bit depth to ‘24’ I’ve made it capable of streaming HD Res Flacs, so I'm well happy!  As far as I can tell, the default setting for the plugin converts such tracks to a 16-bit PCM stream.
Title: No Images via MB but via Synology
Post by: Ralf on December 06, 2019, 10:42:45 AM
Just noticed that I get album images on my Auna Connect 150 when connecting directly to my Synology NAS, but not when streaming from MB (neither MB > Connect150 nor Connect150 from MB Library).

Anybody got an idea what to do about it?
Title: Musicbee crashes at switching output to...
Post by: Alberto73 on December 08, 2019, 04:42:18 AM
Hi!
The plugin is working very well with my Xiaoai speakers, but everytime I try to switch "output to" my PC, Musicbee crashes. I think the log doesn't help, as the crash is not registered:

19; 1 Initialise - 08/12/2019 12:16:36
129; 2 GetNetworkAddresses - 192.168.0.136,dns=True,name=Wi-Fi,speed=325000000
136; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
142; 4 GetNetworkAddresses - http://192.168.0.136:49382
434; 5 ProcessMessage 192.168.0.185 - device 'uuid:18d3d1f1-c14c-42fd-8697-d38ca1c62500:小爱音箱-8660',valid=True
501; 6 ProcessMessage 192.168.0.161 - device 'uuid:a06177af-3364-41d6-af0f-a9e15cb25838:小爱音箱-1039',valid=True
786; 7 ProcessMessage 192.168.0.135 - device 'uuid:b3d62cdc-3703-4d5c-b33a-90b769381777:小爱音箱-1154',valid=True
1171; 8 ProcessMessage 192.168.0.163 - device 'uuid:495f1835-2f5f-45f8-b3ce-6f8a1d7dad54:小爱音箱-5342',valid=True

I've changed the preferences to all the options possible but it doesn't fix the problem. The only way to switch without crashing is to disable the plugin first, but it's annoying...

Hope it can be fixed!

Alberto.
Title: Re: UPnP/ DLNA device support
Post by: zehuti on December 09, 2019, 05:19:50 PM
Found another "bug". Cover picture not getting send to upnp player if picture is in same folder with one big flac file and cue for that flac file, and playing from cue. Embedding picture in that big flac - same. But works if you just play that big flac without cue.


update:

works with other one big flac and cue

i guess its something with that one flac cue folder
Title: Issue fast-forwarding/rewinding some FLACs when output is to a UPnP device
Post by: zigzag10 on December 20, 2019, 06:07:52 PM
I use the UPnP plugin and have noticed that when I’ve selected output to my UPnP device (a raspberry Pi/DAC running Moode Audio), I’m unable to fast-forward or rewind some FLACs that have been encoded with MBs built-in FLAC converter, as developed by Xiph.org.
  
A quick google indicates the issue has crept up on several other audio players as well, leading me to conclude that it could be caused by a bug with the converter itself. Maybe I'm wrong to think that but if the tracks I’m having an issue with are instead encoded with dBpoweramp’s Music Converter, which if I get it right comprises a modified version of Xiph’s FLAC codec, or with the MediaHuman Audio Converter, which uses ffmpeg, fast-forward and rewind works just as it should.
 
Ok, so I can get around this issue by using a different converter, but I would much rather use MB for all encoding.  Please, could anyone advise if this issue could be overcome by modifying MBs FLAC encoding parameter, or whether it’s somehow possible to get ffmpeg to carry out the FLAC conversion process within MB instead?
  
Any pointers or suggestions will be really appreciated.
Title: Re: UPnP/ DLNA device support
Post by: TheGiwi on January 03, 2020, 03:29:47 PM
Hi everyone,

Great Plugin! However, at the moment, I'm running into either one of two issues:

- loud white noise in the middle of playback
- playback just stops all together

Attached is my log file just after a white noise incident.

Any suggestions what I could do?

Many thanks!

Quote

1; 1 Initialise - 3/01/2020 4:14:27 PM
53; 2 GetNetworkAddresses - 192.168.178.27,dns=True,name=Ethernet,speed=100000000
60; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
71; 4 GetNetworkAddresses - http://192.168.178.27:49382
323; 5 ProcessMessage 192.168.178.27 - device 'uuid:a15bb4d9-adaf-0e4a-0000-00000c8ad537:Bosecast (DLNA)',valid=True
336; 6 Profile - BubbleUPnP, useragent=|Windows10/10.0 UPnP/1.0 BubbleUPnPServer/0.9-update37
343; 7 Profile - BubbleUPnP, useragent=|Windows10/10.0 UPnP/1.0 BubbleUPnPServer/0.9-update37
355; 8 Profile - Generic Device, useragent=AVM UPnP/1.0 Client 1.0
361; 9 Activate - Bosecast (DLNA):http-get:*:audio/L16:*,http-get:*:audio/L16;channels=1;rate=11025:*,http-get:*:audio/L16;channels=1;rate=22050:*,http-get:*:audio/L16;channels=1;rate=44100:*,http-get:*:audio/L16;channels=1;rate=48000:*,http-get:*:audio/L16;channels=1;rate=88200:*,http-get:*:audio/L16;channels=1;rate=96000:*,http-get:*:audio/L16;channels=1;rate=176400:*,http-get:*:audio/L16;channels=1;rate=192000:*,http-get:*:audio/L16;channels=2;rate=11025:*,http-get:*:audio/L16;channels=2;rate=22050:*,http-get:*:audio/L16;channels=2;rate=44100:*,http-get:*:audio/L16;channels=2;rate=48000:*,http-get:*:audio/L16;channels=2;rate=88200:*,http-get:*:audio/L16;channels=2;rate=96000:*,http-get:*:audio/L16;channels=2;rate=176400:*,http-get:*:audio/L16;channels=2;rate=192000:*,http-get:*:audio/L24:*,http-get:*:audio/L24;channels=1;rate=11025:*,http-get:*:audio/L24;channels=1;rate=22050:*,http-get:*:audio/L24;channels=1;rate=44100:*,http-get:*:audio/L24;channels=1;rate=48000:*,http-get:*:audio/L24;channels=1;rate=88200:*,http-get:*:audio/L24;channels=1;rate=96000:*,http-get:*:audio/L24;channels=1;rate=176400:*,http-get:*:audio/L24;channels=1;rate=192000:*,http-get:*:audio/L24;channels=2;rate=11025:*,http-get:*:audio/L24;channels=2;rate=22050:*,http-get:*:audio/L24;channels=2;rate=44100:*,http-get:*:audio/L24;channels=2;rate=48000:*,http-get:*:audio/L24;channels=2;rate=88200:*,http-get:*:audio/L24;channels=2;rate=96000:*,http-get:*:audio/L24;channels=2;rate=176400:*,http-get:*:audio/L24;channels=2;rate=192000:*,http-get:*:video/mp4:*,http-get:*:audio/x-flac:*,http-get:*:application/flac:*,http-get:*:audio/flac:*,http-get:*:application/x-flac:*,http-get:*:audio/wav:*,http-get:*:application/x-wave:*,http-get:*:audio/wave:*,http-get:*:application/wave:*,http-get:*:application/wav:*,http-get:*:application/x-wav:*,http-get:*:audio/x-wave:*,http-get:*:audio/x-wav:*,http-get:*:audio/mp3:*,http-get:*:application/mp3:*,http-get:*:application/x-mp3:*,http-get:*:audio/mpg:*,http-get:*:audio/mpeg3:*,http-get:*:application/mpeg:*,http-get:*:audio/x-mp3:*,http-get:*:audio/x-mpegaudio:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-mpeg3:*,http-get:*:audio/x-mpg:*,http-get:*:audio/x-mpeg:*,http-get:*:application/mpeg3:*,http-get:*:audio/mp1:*,http-get:*:application/mp1:*,http-get:*:audio/aacp:*,http-get:*:audio/aac:*,http-get:*:audio/3gpp:*,http-get:*:audio/3gpp2:*,http-get:*:audio/x-aac:*,http-get:*:audio/m4a:*,http-get:*:audio/mp4:*,http-get:*:application/x-m4b:*,http-get:*:application/x-m4a:*,http-get:*:application/x-m4p:*,http-get:*:application/x-mp4:*,http-get:*:audio/mpeg4:*,http-get:*:audio/x-m4b:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-m4p:*,http-get:*:audio/x-mp4:*,http-get:*:application/mpeg4:*,http-get:*:audio/m4a:*,http-get:*:audio/mp4:*,http-get:*:application/x-m4b:*,http-get:*:application/x-m4a:*,http-get:*:application/x-m4p:*,http-get:*:application/x-mp4:*,http-get:*:audio/mpeg4:*,http-get:*:audio/x-m4b:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-m4p:*,http-get:*:audio/x-mp4:*,http-get:*:application/mpeg4:*,http-get:*:audio/x-ogg:*,http-get:*:application/x-ogg:*,http-get:*:audio/vorbis:*,http-get:*:application/ogg:*,http-get:*:audio/ogg:*,http-get:*:audio/x-ogg:*,http-get:*:application/x-ogg:*,http-get:*:audio/vorbis:*,http-get:*:application/ogg:*,http-get:*:audio/ogg:*,http-get:*:audio/x-scpls:*,http-get:*:audio/x-ms-wma:*,http-get:*:application/x-ms-wma:*,http-get:*:application/wma:*,http-get:*:audio/wma:*,http-get:*:audio/dff:*,http-get:*:audio/x-dff:*,http-get:*:audio/x-dsf:*,http-get:*:audio/dsf:*,http-get:*:audio/opus:*,http-get:*:application/aiff:*,http-get:*:audio/aiff:*,http-get:*:application/x-aif:*,http-get:*:application/aif:*,http-get:*:application/x-aiff:*,http-get:*:audio/x-aifc:*,http-get:*:audio/x-aiff:*,http-get:*:audio/aif:*,http-get:*:audio/aifc:*,http-get:*:audio/x-aif:*,http-get:*:application/ape:*,http-get:*:application/x-ape:*,http-get:*:audio/monkeys-audio:*,http-get:*:audio/x-monkeys-audio:*,http-get:*:audio/ape:*,http-get:*:application/monkeysaudio:*,http-get:*:audio/x-monkeysaudio:*,http-get:*:application/monkeys-audio:*,http-get:*:audio/x-ape:*,http-get:*:application/x-monkeys-audio:*,http-get:*:application/x-monkeysaudio:*,http-get:*:audio/monkeysaudio:*,http-get:*:application/ape:*,http-get:*:application/x-ape:*,http-get:*:audio/monkeys-audio:*,http-get:*:audio/x-monkeys-audio:*,http-get:*:audio/ape:*,http-get:*:application/monkeysaudio:*,http-get:*:audio/x-monkeysaudio:*,http-get:*:application/monkeys-audio:*,http-get:*:audio/x-ape:*,http-get:*:application/x-monkeys-audio:*,http-get:*:application/x-monkeysaudio:*,http-get:*:audio/monkeysaudio:*,http-get:*:audio/wavpack:*,http-get:*:application/x-wavpack:*,http-get:*:audio/x-wv:*,http-get:*:application/wavpack:*,http-get:*:audio/wv:*,http-get:*:audio/x-wavpack:*,http-get:*:application/wv:*,http-get:*:application/x-wv:*,http-get:*:audio/mpc:*,http-get:*:application/musepack:*,http-get:*:application/x-mpc:*,http-get:*:application/mpc:*,http-get:*:audio/musepack:*,http-get:*:application/x-musepack:*,http-get:*:audio/x-mpc:*,http-get:*:audio/x-musepack:*,http-get:*:audio/x-tak:*,http-get:*:audio/tak:*,http-get:*:audio/amr:*,http-get:*:audio/vnd.rn-realaudio:*,http-get:*:audio/x-pn-realaudio:*
1566; 10 Profile - BubbleUPnP, useragent=Windows10/10.0 UPnP/1.0 BubbleUPnPServer/0.9-update37
36918; 11 NetworkChange_NetworkAddressChanged -
37068; 12 GetNetworkAddresses - 192.168.178.27,dns=True,name=Ethernet,speed=100000000
37080; 13 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
37087; 14 GetNetworkAddresses - http://192.168.178.27:49382
38322; 15 Profile - Generic Device, useragent=AVM UPnP/1.0 Client 1.0
39347; 16 Profile - BubbleUPnP, useragent=Windows10/10.0 UPnP/1.0 BubbleUPnPServer/0.9-update37
67790; 17 Play - D:\Users\Paul\OneDrive - PBHDK\Music\Iron Maiden\A Matter of Life and Death\06 Out of the Shadows.flac (http://192.168.178.27:49382/encode/AC1EF725EF9E170E-2147483643.wav)
68682; 18 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
90347; 19 Profile - Generic Device, useragent=Lavf/57.83.100
90433; 20 Profile - Generic Device, useragent=Lavf/57.83.100
90441; 21 GetEncodedFile[1] 192.168.178.27 - GET D:\Users\Paul\OneDrive - PBHDK\Music\Iron Maiden\A Matter of Life and Death\06 Out of the Shadows.flac to 192.168.178.27; mime=audio/wav,rate=44100,channels=2
90454; 22 GetEncodedFile[1] - exit=0, playtime=6
90478; 23 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
90487; 24 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
90493; 25 GetEncodedFile[2] - range=bytes 0-59430259/59430260
90497; 26 GetEncodedFile[2] 192.168.178.27 - GET D:\Users\Paul\OneDrive - PBHDK\Music\Iron Maiden\A Matter of Life and Death\06 Out of the Shadows.flac to 192.168.178.21; mime=audio/wav,rate=44100,channels=2
90854; 27 StateTimer - Playing,old=Stopped
98687; 28 GetEncodedFile[2] - exit=0, playtime=8184
105095; 29 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
105103; 30 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
105111; 31 GetEncodedFile[3] - range=bytes 6617690-59430259/59430260
105119; 32 GetEncodedFile[3] 192.168.178.27 - GET D:\Users\Paul\OneDrive - PBHDK\Music\Iron Maiden\A Matter of Life and Death\06 Out of the Shadows.flac to 192.168.178.21; mime=audio/wav,rate=44100,channels=2
129886; 33 GetEncodedFile[3] - exit=0, playtime=24761
142604; 34 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
142617; 35 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
142623; 36 GetEncodedFile[4] - range=bytes 13433434-59430259/59430260
142629; 37 GetEncodedFile[4] 192.168.178.27 - GET D:\Users\Paul\OneDrive - PBHDK\Music\Iron Maiden\A Matter of Life and Death\06 Out of the Shadows.flac to 192.168.178.21; mime=audio/wav,rate=44100,channels=2
142840; 38 GetEncodedFile[4] - exit=0, playtime=205
143173; 39 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
143189; 40 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
143202; 41 GetEncodedFile[5] - range=bytes 14450734-59430259/59430260
143213; 42 GetEncodedFile[5] 192.168.178.27 - GET D:\Users\Paul\OneDrive - PBHDK\Music\Iron Maiden\A Matter of Life and Death\06 Out of the Shadows.flac to 192.168.178.21; mime=audio/wav,rate=44100,channels=2
155750; 43 GetEncodedFile[5] - exit=0, playtime=12530
161949; 44 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
161957; 45 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
161962; 46 GetEncodedFile[6] - range=bytes 17770832-59430259/59430260
161966; 47 GetEncodedFile[6] 192.168.178.27 - GET D:\Users\Paul\OneDrive - PBHDK\Music\Iron Maiden\A Matter of Life and Death\06 Out of the Shadows.flac to 192.168.178.21; mime=audio/wav,rate=44100,channels=2
162174; 48 GetEncodedFile[6] - exit=0, playtime=202
168438; 49 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
168446; 50 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.172094
168452; 51 GetEncodedFile[7] - range=bytes 18424219-59430259/59430260
168456; 52 GetEncodedFile[7] 192.168.178.27 - GET D:\Users\Paul\OneDrive - PBHDK\Music\Iron Maiden\A Matter of Life and Death\06 Out of the Shadows.flac to 192.168.178.21; mime=audio/wav,rate=44100,channels=2
243034; 53 Profile - BubbleUPnP, useragent=Windows10/10.0 UPnP/1.0 BubbleUPnPServer/0.9-update37


Title: Re: UPnP/ DLNA device support
Post by: zigzag10 on January 04, 2020, 10:03:11 PM
Hi everyone,

Great Plugin! However, at the moment, I'm running into either one of two issues:

- loud white noise in the middle of playback
- playback just stops all together

Attached is my log file just after a white noise incident.

Any suggestions what I could do?

Many thanks!



In the plugin settings I don’t know if you’ve got ‘Output as a continuous stream’ selected?  If you have try unselecting it.  In my case, with this option unselected, I get a reliable connection to my UPnP audio device and the plugin doesn't cause any stability issues for MB.
Title: Re: UPnP/ DLNA device support
Post by: TheGiwi on January 05, 2020, 09:14:00 AM
In the plugin settings I don’t know if you’ve got ‘Output as a continuous stream’ selected?  If you have try unselecting it.  In my case, with this option unselected, I get a reliable connection to my UPnP audio device and the plugin doesn't cause any stability issues for MB.

It's disabled. I had tried enabling it for testing and then it doesn't work at all. :-\
Title: Re: UPnP/ DLNA device support
Post by: zigzag10 on January 06, 2020, 01:14:38 PM
It's disabled. I had tried enabling it for testing and then it doesn't work at all. :-\

Sorry that you’re still having difficulties with the plugin.  I’m not its developer and what I suggested in my earlier post was purely based on what has worked for me.
 
Here’s a further suggestion: if you haven’t already, install Bubble UPnP Server and use it to set your DLNA audio device up as an OpenHome renderer.  Then go into the plugin settings and make sure ‘Generic device’ is selected as the DLNA device profile. Having done that restart MB and see whether you can now playback music to the audio device.
Title: Re: UPnP/ DLNA device support
Post by: TheGiwi on January 07, 2020, 10:02:29 PM
Sorry that you’re still having difficulties with the plugin.  I’m not its developer and what I suggested in my earlier post was purely based on what has worked for me.
 
Here’s a further suggestion: if you haven’t already, install Bubble UPnP Server and use it to set your DLNA audio device up as an OpenHome renderer.  Then go into the plugin settings and make sure ‘Generic device’ is selected as the DLNA device profile. Having done that restart MB and see whether you can now playback music to the audio device.

Cheers for your help zigzag! That's actually exactly my setup at the moment, so no improvement there... :/

I might have to check out some of the alternative Chromecast casting options here on the forum and see if they work better. Maybe it's also an issue with my local network ... ?
Title: Re: UPnP/ DLNA device support
Post by: [email protected] on January 22, 2020, 09:58:00 AM
>you can already change the output device to one of the other UPnP devices but i guess you mean output the same sound data to multiple devices at the same time in which case the answer is no, i am not willing to do that

Hi, can I ask why this isn't possible? Most poeple will nowadays have more than one streaming speaker spread about their home. The lack of an option to choose all or some of these speakers seems like a massive misstep. To be able to do so from a pc would be e brilliant piece of functionality to have. It would be really good to have this.

Cheers,

Jason.
Title: Re: UPnP/ DLNA device support
Post by: zigzag10 on January 27, 2020, 10:02:39 AM
>you can already change the output device to one of the other UPnP devices but i guess you mean output the same sound data to multiple devices at the same time in which case the answer is no, i am not willing to do that

Hi, can I ask why this isn't possible? Most poeple will nowadays have more than one streaming speaker spread about their home. The lack of an option to choose all or some of these speakers seems like a massive misstep. To be able to do so from a pc would be e brilliant piece of functionality to have. It would be really good to have this.

Cheers,

Jason.

Yup, a small number of audio manufactures have developed extensions to the DNLA/UPnP protocol enabling music to be played to multiple devices, but generally this only works within their own bespoke and typically costly eco-systems.  Good examples of this are Linn with Songcast and HEOS by Denon.  So, the mainstay of devices and software that can utilise DNLA/UPnP don’t have this feature and IMHO this has nothing to do with MB, or indeed this plugin.  

However, and this completely untested on my part, but perhaps what you’re looking for could be achieved by using a combination of TuneBlade (http://www.tuneblade.com/) and AirCast/AirUPnP (https://sourceforge.net/projects/aircast-airupnp/)  The former  will  enable you playback music to multiple airplay devices, and if I get it right the latter is intended to make UPnP/DNLA devices into airplay receivers.  Worth trying??
Title: Re: UPnP/ DLNA device support
Post by: FuzzyLogic on February 03, 2020, 05:37:45 PM
Just noticed that I get album images on my Auna Connect 150 when connecting directly to my Synology NAS, but not when streaming from MB (neither MB > Connect150 nor Connect150 from MB Library).

Anybody got an idea what to do about it?

FWIW I'm seeing something similar. I have a Synology NAS with FLAC files and a Yamaha RX-V485 receiver. If I stream using the receiver as the player I get album art (talking to the Synology media server). When I use MB to play to my receiver using the plugin everything works except album art.
Title: Re: UPnP/ DLNA device support
Post by: Elyans on February 28, 2020, 07:42:35 PM
Dear Steven,
the plugin for DLNA works perfect from my files on the PC to my PIONEER XC-HM71.
All works fine, even an internet Radio to the PC speakers.

Only if I want to play an internet Radio to my PIONEER it works only for 6 sec..
Do I something rong?
Title: Re: UPnP/ DLNA device support
Post by: Possessed on March 12, 2020, 11:20:11 PM
No. I have this same issue. I wrote about this. But owner Steven doesn't care.He doesn't give a [expletive deleted]!
Title: Re: UPnP/ DLNA device support
Post by: phred on March 12, 2020, 11:58:33 PM
I wrote about this. But owner Steven doesn't care
I've edited your post to delete your uncalled for language.

And overall your comment is completely uncalled for. How much did you pay for the software? And MB isn't developed by a company. Of which Steven is not the owner. MB is developed by one person, Steven, who does this in his spare time and asks for nothing in return.

If you don't like the software, no one is forcing you to use it.
Title: Re: UPnP/ DLNA device support
Post by: Possessed on March 15, 2020, 11:01:45 AM
Who are you to lecture me? Steven is a sacred cow? Many users have this problem but Steven does not answer.This is ok?
Title: Re: UPnP/ DLNA device support
Post by: hiccup on March 15, 2020, 11:11:52 AM
Who are you to lecture me? Steven is a sacred cow? Many users have this problem but Steven does not answer.This is ok?

Yes, he can do whatever he likes; it's his software, it's his forum.
He, and nobody else here owes you anything at all.

Well, maybe we owe you a lecture.
Title: Re: UPnP/ DLNA device support
Post by: Possessed on March 15, 2020, 11:36:58 AM
This new faith or church?
Title: Re: UPnP/ DLNA device support
Post by: hiccup on March 15, 2020, 11:50:36 AM
This new faith or church?

Nope. Just common decency, a bit of respect, and perhaps some appreciation and gratitude.

Steering to on-topic:

Concerning the UPnP plugin, if you would search and read this thread a bit better, you will find plenty of information why this plugin is problematic for many users, and why development is on a hold.

Also understand that this is only an optional plugin, it's not an integrated part of MusicBee itself.

Anybody with coding talent and interest has been welcomed to help working on the plugin to possibly improve it.
Nobody has offered to help with it as yet.
Title: Re: UPnP/ DLNA device support
Post by: phred on March 15, 2020, 12:09:39 PM
Who are you to lecture me? Steven is a sacred cow? Many users have this problem but Steven does not answer.This is ok?
I am one of the moderators of this forum. One of the responsibilities is to keep things civil. Which you are not doing. As hiccup said, read the entire thread and maybe you'll understand the situation better.
Title: Re: UPnP/ DLNA device support
Post by: Havokdan on March 16, 2020, 10:56:21 AM
Perhaps it is the case of editing the first post of the topic making it clear the status of the plugin.
Title: Re: UPnP/ DLNA device support
Post by: phred on March 16, 2020, 01:58:52 PM
Perhaps it is the case of editing the first post of the topic making it clear the status of the plugin.
That's a great idea. I'll make sure Steven sees this and ask him how he wants to handle it.

Thanks.
Title: Re: UPnP/ DLNA device support
Post by: phred on March 17, 2020, 03:28:54 AM
Please see the important note at the bottom of the first post in this thread.
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on March 18, 2020, 01:16:32 AM
:) Seems to be a topic that just won't go away. Here is my take on it. I have been using MB for 5 years or so now. When DLNA appeared it was the way music fans could get their collections onto serious HIFI setups. I have a cambridge CXN which after some updates worked. However now although I can play MP3 and Flac files ok I can't get gapless playback. J River seems to manage it. So my message is what I have said before. MB is the best by far out there. So can't we support Steven by having a "Pro" version. I would be willing to pay somewhere like £40 for Steven to develop DLNA.
Title: Re: UPnP/ DLNA device support
Post by: phred on March 18, 2020, 03:56:16 AM
So can't we support Steven by having a "Pro" version. I would be willing to pay somewhere like £40 for Steven to develop DLNA.
I don't speak for Steven, but if he doesn't have the time, offering to pay him won't free up any of his time.

Perhaps you missed this post https://getmusicbee.com/forum/index.php?topic=30597.0
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on March 20, 2020, 12:47:07 AM
What's the quote.....You can become a victim of you're own success. If Steven is stepping down who are we to complain if it's a personal thing. It's his life etc. But someone else has to pick up the rains otherwise we will be left with the likes of Monkey or JD river! I don't have the skills but I can give the support! 8)
Title: Re: UPnP/ DLNA device support
Post by: phred on March 20, 2020, 01:59:05 AM
If Steven is stepping down who are we to complain if it's a personal thing. It's his life etc. But someone else has to pick up the rains
Nobody said anything about Steven stepping down. Even before he took a new job and moved to a new country he said he didn't have enough time to support this plugin. And back then he offered the source code to anyone who wanted to continue development. Not one person took him up on his offer.

If you cruise through the forum these days, Steven has a presence. He replies and even posts patches. Not as frequently as before, but that may increase as he settles in to his new job and country.

Again, not speaking for him, but as I understand it, he has no plans to give up MB.
Title: Re: UPnP/ DLNA device support
Post by: hiccup on March 20, 2020, 03:35:22 PM
If Steven is stepping down who are we to complain if it's a personal thing. It's his life etc. But someone else has to pick up the rains
Nobody said anything about Steven stepping down.

The added comment in large red fonts in the start post doesn't seem clear enough.

Could somebody review the text, and then make the text pulsating in different colours, maybe have it turning or wobling around with some 3D effect like the old-school Windows 95 screensavers, and perhaps add some audio to it. (a siren? a referee whistle?)
Title: Re: UPnP/ DLNA device support
Post by: phred on March 20, 2020, 04:49:42 PM
Could somebody review the text, and then make the text pulsating in different colours, maybe have it turning or wobling around with some 3D effect like the old-school Windows 95 screensavers, and perhaps add some audio to it. (a siren? a referee whistle?)
I've put in a request to my IT Department to rework the notice per your specifications.
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on March 21, 2020, 02:29:04 AM
 :o OK I get it that if Steven is not giving up MB then thank goodness. What puzzles me is that since this topic has been active the message has been "no more development of the DLNA plugin". And yet there has been a lot of updates for all sorts of bugs, improvements etc, so some time has been spent which I appreciate. All of the recent updates I've done but have not seen any difference in the prog, it still works OK. But I still cant play gapless playback..
Title: Re: UPnP/ DLNA device support
Post by: hiccup on March 21, 2020, 08:17:10 AM
... What puzzles me is that since this topic has been active the message has been "no more development of the DLNA plugin"...

Yes, it is obvious that you are still puzzled.
I am even more puzzled why you are still puzzled. It has by now been explained over and over again.


Quote
... But I still cant play gapless playback ...

Do you think that if you just persist in complaining and posting here, things will change?
Title: Re: UPnP/ DLNA device support
Post by: renius28 on March 27, 2020, 09:15:00 PM
So this is not an integrated solution but an alternative. I've been using TuneBlade tuneblade.com (http://www.tuneblade.com/) for a couple years now. It has been nearly flawless in streaming music from Musicbee to a GGMM airplay-compatible receiver unit that's connected to my stereo system.

Musicbee is set to output WASAPI to virtual endpoint (virtual audio cable @ https://vac.muzychenko.net/en/). Tuneblade captures the virtual endpoint and streams to my stereo system.

Tuneblade is also compatible with most other wifi receiver protocols such as Sonos. This shout out was not sponsored.
Title: Re: UPnP/ DLNA device support
Post by: Thibault on April 23, 2020, 12:36:43 PM
Bonjour, j'ai 2 lecteurs réseaux qui sont reconnus dans MusicBee, Cambridge CXN V2 et Panasonic 9000. En mode serveur tout fonctionne bien mais en mode controleur cela ne fonctionne pas. Impossible de jouer une musique sur mon CXN V2 par exemple. Un réglage particulier est necessaire ? J'ai peut être mal configurer le plugin UPNP/DLNA mais je crois pas. Si vous avez une idée elle est la bienvenue. Bien cordialement.
Title: Re: UPnP/ DLNA device support
Post by: Mike Rubin on May 12, 2020, 08:56:56 AM
Hi.  I just installed MB this evening and added the DLNA plug-in.  It's only with this plug-in that I can use MB at all, as I play music stored on a NAS to a Sonore microrendu streamer.  MB's value to me is as a library manager and playback controller. I have selected the JRiver MC player option.

I have a large number of DSD files.  It appears that MB transcodes these files to PCM even though my streamer and DAC can handle native DSD. 

I recognize that development of the DLNA plug-in has ceased, but maybe I am missing a setting.  Is there a way to stream native DSD in MB?
Title: Re: UPnP/ DLNA device support
Post by: ZapRiver on May 30, 2020, 11:43:56 PM
I’ve been trying to play my music collection through Sonos and so far I’m only able to play one song, then nothing plays. I’m assuming the problem lies in the UPNP plugin. I’m a software developer. I was thinking of continuing the development of the plugin to make it work with Sonos. I urge anyone with insight into UPNP and that plugin to reply. Any help would be appreciated.
Title: Re: UPnP/ DLNA device support
Post by: Steven on May 31, 2020, 12:01:52 AM
I was thinking of continuing the development of the plugin to make it work with Sonos. I urge anyone with insight into UPNP and that plugin to reply. Any help would be appreciated.
Here is the source code:
http://www.mediafire.com/file/niexv5muv655ro5/MusicBeeUpnpSource.7z/file
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on June 02, 2020, 01:52:12 AM
First to Hiccup.
So you don't feel the need for a working DLNA solution. Can I ask you then what are you playing your library to? PC speakers, mobile phone? If it isn't to any HIFI device then I can understand why you are not bothered.
Renius28
I read your post regarding Tuneblade and am now trialing it. My problem with gapless playback has been solved, but there are settings etc. that need to be done when swapping between apps. So far seems promising, thanks for the heads up.

 
Title: Re: UPnP/ DLNA device support
Post by: hiccup on June 02, 2020, 04:12:25 PM
First to Hiccup.
So you don't feel the need for a working DLNA solution.

... then I can understand why you are not bothered ...

Those are both incorrect assumptions, I never said anything like that.
Title: Re: UPnP/ DLNA device support
Post by: ziabo on June 07, 2020, 04:40:35 PM
hi there!
I have 3.3.7367 installed.

DLNA plugin installed.

When I cast from my Windows 10 computer to Chromecast Ultra, sometimes the song stops followed by loud white noise.

Does anybody have the same issue? Where should I start looking for a solution?

Thank you
Title: Re: UPnP/ DLNA device support
Post by: ziabo on June 07, 2020, 04:47:59 PM
Quote
511964; 217 Play - \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac (http://192.168.1.61:49382/encode/61C5B405A040FE6E-2147483373.wav)
512087; 218 StateTimer - Stopped,old=Playing
512089; 219 SyncNewPlayState - Stopped,mb=Playing
512187; 220 Profile - Generic Device, useragent=Lavf/57.83.100
512189; 221 Profile - Generic Device, useragent=Lavf/57.83.100
512190; 222 GetEncodedFile[41] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.61; mime=audio/wav,rate=44100,channels=2
512216; 223 GetEncodedFile[41] - exit=0, playtime=24
512248; 224 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
512300; 225 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
512301; 226 GetEncodedFile[42] - range=bytes 0-43276783/43276784
512302; 227 GetEncodedFile[42] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
512526; 228 GetEncodedFile[42] - exit=0, playtime=223
512957; 229 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
513081; 230 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
513084; 231 GetEncodedFile[43] - range=bytes 2161884-43276783/43276784
513086; 232 GetEncodedFile[43] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
513348; 233 GetEncodedFile[43] - exit=0, playtime=136
513708; 234 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
513720; 235 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
513722; 236 GetEncodedFile[44] - range=bytes 3830672-43276783/43276784
513725; 237 GetEncodedFile[44] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
514180; 238 GetEncodedFile[44] - exit=0, playtime=448
527193; 239 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
527202; 240 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
527203; 241 GetEncodedFile[45] - range=bytes 6952268-43276783/43276784
527204; 242 GetEncodedFile[45] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
527336; 243 GetEncodedFile[45] - exit=0, playtime=130
533698; 244 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
533710; 245 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
533713; 246 GetEncodedFile[46] - range=bytes 8525132-43276783/43276784
533715; 247 GetEncodedFile[46] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
533838; 248 GetEncodedFile[46] - exit=0, playtime=116
540201; 249 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
540212; 250 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
540215; 251 GetEncodedFile[47] - range=bytes 9832522-43276783/43276784
540216; 252 GetEncodedFile[47] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
540297; 253 GetEncodedFile[47] - exit=0, playtime=78
546946; 254 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
546957; 255 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
546960; 256 GetEncodedFile[48] - range=bytes 11092634-43276783/43276784
546962; 257 GetEncodedFile[48] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
547044; 258 GetEncodedFile[48] - exit=0, playtime=76
553564; 259 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
553570; 260 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
553571; 261 GetEncodedFile[49] - range=bytes 11823914-43276783/43276784
553572; 262 GetEncodedFile[49] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
553660; 263 GetEncodedFile[49] - exit=0, playtime=86
560261; 264 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
560269; 265 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
560270; 266 GetEncodedFile[50] - range=bytes 13156398-43276783/43276784
560271; 267 GetEncodedFile[50] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
560325; 268 GetEncodedFile[50] - exit=0, playtime=50
561004; 269 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
561018; 270 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
561020; 271 GetEncodedFile[51] - range=bytes 14215758-43276783/43276784
561022; 272 GetEncodedFile[51] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
561097; 273 GetEncodedFile[51] - exit=0, playtime=65
567697; 274 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
567711; 275 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
567714; 276 GetEncodedFile[52] - range=bytes 14648286-43276783/43276784
567716; 277 GetEncodedFile[52] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
567846; 278 GetEncodedFile[52] - exit=0, playtime=123
574264; 279 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
574278; 280 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
574281; 281 GetEncodedFile[53] - range=bytes 15938287-43276783/43276784
574284; 282 GetEncodedFile[53] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
574441; 283 GetEncodedFile[53] - exit=0, playtime=152
580699; 284 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
580712; 285 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
580715; 286 GetEncodedFile[54] - range=bytes 17199786-43276783/43276784
580717; 287 GetEncodedFile[54] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
580821; 288 GetEncodedFile[54] - exit=0, playtime=99
587383; 289 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
587397; 290 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
587400; 291 GetEncodedFile[55] - range=bytes 18509406-43276783/43276784
587403; 292 GetEncodedFile[55] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
587566; 293 GetEncodedFile[55] - exit=0, playtime=157
593887; 294 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
593896; 295 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
593897; 296 GetEncodedFile[56] - range=bytes 19736066-43276783/43276784
593899; 297 GetEncodedFile[56] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
594024; 298 GetEncodedFile[56] - exit=0, playtime=122
600399; 299 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
600413; 300 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
600416; 301 GetEncodedFile[57] - range=bytes 21013952-43276783/43276784
600418; 302 GetEncodedFile[57] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
600506; 303 GetEncodedFile[57] - exit=0, playtime=80
606883; 304 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
606897; 305 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
606900; 306 GetEncodedFile[58] - range=bytes 22279103-43276783/43276784
606903; 307 GetEncodedFile[58] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
607078; 308 GetEncodedFile[58] - exit=0, playtime=170
607417; 309 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
607429; 310 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
607431; 311 GetEncodedFile[59] - range=bytes 23347247-43276783/43276784
607432; 312 GetEncodedFile[59] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
607502; 313 GetEncodedFile[59] - exit=0, playtime=67
613763; 314 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
613775; 315 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
613777; 316 GetEncodedFile[60] - range=bytes 23791291-43276783/43276784
613778; 317 GetEncodedFile[60] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
613883; 318 GetEncodedFile[60] - exit=0, playtime=102
620295; 319 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
620302; 320 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
620304; 321 GetEncodedFile[61] - range=bytes 25037716-43276783/43276784
620306; 322 GetEncodedFile[61] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
620356; 323 GetEncodedFile[61] - exit=0, playtime=46
626763; 324 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
626775; 325 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
626778; 326 GetEncodedFile[62] - range=bytes 26121732-43276783/43276784
626780; 327 GetEncodedFile[62] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
626824; 328 GetEncodedFile[62] - exit=0, playtime=37
627226; 329 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
627236; 330 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
627238; 331 GetEncodedFile[63] - range=bytes 27000876-43276783/43276784
627239; 332 GetEncodedFile[63] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
627278; 333 GetEncodedFile[63] - exit=0, playtime=34
633689; 334 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
633697; 335 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
633698; 336 GetEncodedFile[64] - range=bytes 27332992-43276783/43276784
633700; 337 GetEncodedFile[64] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
633832; 338 GetEncodedFile[64] - exit=0, playtime=129
640232; 339 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
640245; 340 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
640247; 341 GetEncodedFile[65] - range=bytes 28480868-43276783/43276784
640250; 342 GetEncodedFile[65] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
640297; 343 GetEncodedFile[65] - exit=0, playtime=39
640743; 344 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
640750; 345 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
640752; 346 GetEncodedFile[66] - range=bytes 29294636-43276783/43276784
640753; 347 GetEncodedFile[66] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
640818; 348 GetEncodedFile[66] - exit=0, playtime=60
647298; 349 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
647310; 350 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
647313; 351 GetEncodedFile[67] - range=bytes 29726032-43276783/43276784
647315; 352 GetEncodedFile[67] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
647447; 353 GetEncodedFile[67] - exit=0, playtime=124
653701; 354 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
653714; 355 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
653716; 356 GetEncodedFile[68] - range=bytes 31201640-43276783/43276784
653719; 357 GetEncodedFile[68] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
654037; 358 GetEncodedFile[68] - exit=0, playtime=309
666510; 359 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
666522; 360 Profile - Generic Device, useragent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
666525; 361 GetEncodedFile[69] - range=bytes 33137936-43276783/43276784
666527; 362 GetEncodedFile[69] 192.168.1.61 - GET \\WDMYCLOUDMIRROR\Public\Shared Music\WD Music Library\Music\Queen\Hot Space\11 Under Pressure.flac to 192.168.1.91; mime=audio/wav,rate=44100,channels=2
666681; 363 GetEncodedFile[69] - exit=0, playtime=147
Title: Re: UPnP/ DLNA device support
Post by: JazzMan on June 14, 2020, 03:59:52 PM
... I was thinking of continuing the development of the plugin to make it work with Sonos. I urge anyone with insight into UPNP and that plugin to reply. Any help would be appreciated.
I need that plugin! If you start the development, I'm willing to help. I have experience in software development, although not VB (or at least in the last 26 years). I can offer my setup, Synology NAS + Yamaha CRX-N560D, as another test platform.
Title: Re: UPnP/ DLNA device support
Post by: Bill Gill on June 24, 2020, 11:29:21 AM
I am a great fan of MB but I am now tearing my hair out trying to connect it via the upnp plug-in from my Windows 10 pc to my AUNA CONNECT 100 INTERNET RADIO which is also connected to some wireless speakers to distribute the sound throughout my home. Is there anyone out there who can guide me in the right direction as to the correct settings for obtaining a consistent connection between my PC and the radio. ( ie a noddy guide ) I can get it working at times but at others it will just drop out as soon as I change what is playing. At other times it does not work at all. I have tried virtually all settings. Any suggestions would be greatly appreciated. Thanks :'(
Title: Re: UPnP/ DLNA device support
Post by: daibaron on July 31, 2020, 03:05:17 PM
The plugin is working well with my Sonos Five.
I'm also ready to fund the DLNA plugin to increase the scope of compatibility
Title: Re: UPnP/ DLNA device support
Post by: AC2N on August 24, 2020, 07:30:52 PM
Hello,
I use this plugin and it's work fine but when I try read *.mpc then MB say unable to start playback.. :-\
How can stream *.mpc files with this plugin I try many configuration but always "unable to start playback"
Thanks
Title: Re: UPnP/ DLNA device support
Post by: Pascal29 on August 26, 2020, 05:44:13 PM
Hi all,

I would like to share my solution to use this plugin with my Limetree bridge.
I saw by the UPNP analyser on W10 that he Device type is like this: urn:schemas-upnp-org:device:MediaRenderer:2
When the plugin is discovering the network it performs many string comparisons to add or not the device in a list.
So I just modify all tests in ControlPointManager.vb for instance ligne 300 to add my device.

If String.Compare(serviceType, "urn:schemas-upnp-org:service:AVTransport:1", StringComparison.OrdinalIgnoreCase) = 0 Then

replaced by

If String.Compare(serviceType, "urn:schemas-upnp-org:service:AVTransport:2", StringComparison.OrdinalIgnoreCase) = 0 Then

After recompiling the DLL is working fine.


Best regards

Pascal
Title: Re: UPnP/ DLNA device support
Post by: Bruno Banani on August 29, 2020, 07:23:30 PM
Can you help me by Upnp Configuration for Folder Sorting in Smartphone App.
Folder Sorting is very importend for my Music Bibliothek.
I can only adjust the following: Albums, Artists, Album Artists, Composers, Genres, Years.
Not folder sorting.
Is Addition possible?
Best regards
Bruno
Title: Re: UPnP/ DLNA device support
Post by: AC2N on August 30, 2020, 05:13:48 PM
Hi,
I have a little problem that I don't understand, when I play my music with this plugin, when the song ends I can hear the beginning of the song again just a few seconds then I find the next song, it Is very strange .. Do you also have this problem? How to solve this problem? Thanks in advance..
Title: Re: UPnP/ DLNA device support
Post by: phred on August 30, 2020, 08:38:10 PM
Do you also have this problem? How to solve this problem? Thanks in advance..
Note that this plugin is no longer supported. While someone may have a suggestion or two to solve your issue, there is no support from the developer, nor will there be any updates/bug fixes.
Title: Re: UPnP/ DLNA device support
Post by: AC2N on August 31, 2020, 07:55:26 AM
thank @phred.
It is a pity that this plugin is no longer developed because it is so useful for streaming music, I am looking for a reliable solution to stream to my upnp sound amplifier and above all while maintaining the audio quality but it turns out to be ultimately more complicated than expected .. This plugin is a real plus for MusicBee, in my opinion, this option of distribution on the upnp network should be kept and I hope that @Steven or some developers will have the same reasoning. It is possible thanks to Github to have a great help from the developer community ... Thank you to you ..
Title: Re: UPnP/ DLNA device support
Post by: phred on August 31, 2020, 12:24:55 PM
Steven started the plugin, but there are so many variables (as in devices) that he simply doesn't have the time to work on it. Over the years he has offered the code to anyone who wants to maintain it, but there have been no takers.
Title: Re: UPnP/ DLNA device support
Post by: AC2N on August 31, 2020, 01:11:05 PM
I finally solved all my problems by changing my parameters a little, here is the configuration I use and which works at the top with my Harmann Kardon AVR265 amp.
https://zupimages.net/viewer.php?id=20/36/2rri.png (https://zupimages.net/viewer.php?id=20/36/2rri.png)
https://zupimages.net/viewer.php?id=20/36/dg6z.png (https://zupimages.net/viewer.php?id=20/36/dg6z.png)
Title: Re: UPnP/ DLNA device support
Post by: henswurst on September 13, 2020, 12:05:29 PM
Hi,

I used to stream my music with DLNA to my Onkyo receiver. Has there anything changed in handling the plugin by actual musicbee? I changed nothing in congiguration (generic) but musicbee is no longer shown as a DLNA source in the menu of the Onkyo receiver.
I am using the latest version 3.4.7561 but also tried the official download version 3.3.
Title: Re: UPnP/ DLNA device support
Post by: phred on September 13, 2020, 12:51:33 PM
Nothing has changed with the plugin in years. It is no longer being maintained.
See reply #348 and 350.

PLEASE NOTE: Steven, the developer of this plugin (and of MB) no longer has the time to spend on further development or support of the plugin. He has made the source code available for anyone who wants to continue development. It is available here. (http://www.mediafire.com/file/ckb34sy5etwzkri/MusicBeeUpnpSource.7z/file)
Title: Re: UPnP/ DLNA device support
Post by: henswurst on September 13, 2020, 02:20:23 PM
Found the solution an try to explain it in my poor english - maybe it helps somebody else because it's a bit tricky:

For a reason I don't know my receiver was shown as unknown device in windows streaming options menu but was a correctly shown network device. I had access to the media library on pc from the receivers menu and were are able to play my music this way. Active streaming with the musicbee playto menu was impossible. because Musicbee library was not shown in the list of DLNA devices in receiver menu. Although windows is not able to identify the unknown device in media streaming options it can be found via the windows devices and printers menu. Searched for unknown devices and the receiver device appears correctly after a while. Now it's no longer a unknown device in windows media streaming menu and musicbee library is showing up in the receivers DLNA menu.
Title: Help connecting SONOS via UPnP/ DLNA device support Plugin
Post by: Leo_Wolves on October 04, 2020, 12:35:25 PM
Hi

I was hoping someone could help?

I've been unable to successfully connect Musicbee audio output to Sonos via the UPnP/DLNA device support Plugin for a while now, this used to work with no issues using the setting shown in the attached image.

I've tried playing around with the settings but I'm having no success, however, I it seemed to play via Sonos on one occasion for about 10-20 seconds, then stopped working again.

I'm thinking its just turning off/on the appropriate settings within Musicbee and/or the plugin - I've been trying this now for months and just can't figure it out.

Is anyone able to assist or can share what setting they are using to stream music from Musicbee to Sonos?

Cheers  :)  :)  :)

Setup:

Windows 10 Pro Laptop
MSI GE63 Raider RGB 8RE
Intel Core i7 8th Gen
Musicbee Version 3.4.7547 P
Sonos One Speaker

(https://i.imgur.com/fX6Dghw.png)
Title: Re: UPnP/ DLNA device support
Post by: gaz5021 on October 07, 2020, 11:36:07 PM
Hi

I was hoping someone could help?

I've been unable to successfully connect Musicbee audio output to Sonos via the UPnP/DLNA device support Plugin for a while now, this used to work with no issues using the setting shown in the attached image.

I've tried playing around with the settings but I'm having no success, however, I it seemed to play via Sonos on one occasion for about 10-20 seconds, then stopped working again.

I'm thinking its just turning off/on the appropriate settings within Musicbee and/or the plugin - I've been trying this now for months and just can't figure it out.

Is anyone able to assist or can share what setting they are using to stream music from Musicbee to Sonos?

Cheers  :)  :)  :)

Setup:

Windows 10 Pro Laptop
MSI GE63 Raider RGB 8RE
Intel Core i7 8th Gen
Musicbee Version 3.4.7547 P
Sonos One Speaker




Hi Leo_Wolves,


I decided the cleanest way of streaming to my SONOS via network was to remove the plugin and use the following free programs:


https://vb-audio.com/Cable/ (to create a new "virtual" audio output device)

https://www.streamwhatyouhear.com (to stream all output from the above virtual device over my network)


I created a "radio station" using the SONOS app and matched up the settings with the stream. When I want to stream to the SONOS, I simply change the output device on MB to the virtual cable, hit play, and then play the radio station on the SONOS app.

This works for me. I hope it might be useful for you, or someone else.
Title: Re: UPnP/ DLNA device support
Post by: Leo_Wolves on October 09, 2020, 11:39:04 AM
Hi @gaz5021

You're awsome it totally works!!

Was quick to download & simple to configure, plus it's a lot better than just having something configured solely to MusicBee :)

I just find using the SONOS software/library irritating and lengthy! MusicBee is an all-rounder 100% with all the interface & plugins :)

Thanks for your response, really appreciate it :), will definitely make life easier hehe  8)  8)  8)
Title: Re: UPnP/ DLNA device support
Post by: gaz5021 on October 10, 2020, 12:45:25 AM
No worries, I’m happy to have helped you out :)
Title: Re: UPnP/ DLNA device support
Post by: AC2N on October 11, 2020, 08:33:45 AM
For stream all sound from your pc to upnp renderer you can try :

-> SWYH it's a little older but works fine on lot of renderer..
https://github.com/StreamWhatYouHear/SWYH
download app >  https://github.com/StreamWhatYouHear/SWYH/releases/download/1.5.0/SWYH_1.5.0.exe

-> LocalAudioBroadcast it's older too but work very good for me better than SWYH..
https://github.com/protyposis/LocalAudioBroadcast
download app > https://github.com/protyposis/LocalAudioBroadcast/releases/download/v1.2.3/LocalAudioBroadcast-v1.2.3.zip

-> and a clone of SWYH, SWYH-RS actually under development but that work very well and you can contribute to its development with github..
https://github.com/dheijl/swyh-rs
download app > https://github.com/dheijl/swyh-rs/releases

All is opensource..!
Title: Re: UPnP/ DLNA device support
Post by: zigzag10 on October 12, 2020, 03:04:22 PM
Yup, the likes of SWYH could be used, but that’s going to be limited to PCM L16 and I doubt you’ll have ‘gapless playback’.  Though a good quality third-party UPnP audio server can overcome these limitations, so how about setting one up, that sits alongside MB, instead?  In this case MB remains to mange your collection and is used for local playback et al, while a UPnP audio server (together with a control point) take care of streaming to the DLNA\UPnP device.

IMHO both Asset UPnP and Minimserver are excellent in this regard, as is Linn’s Kazoo Server, which incidentally can easily replicate the contents of MB, including playlists, as it supports the XML library file.  (To enable this, you will need to link Kazoo Server to the XML file MB generates if the ‘export the library as an iTunes formatted XML file’ is selected, but this is a straightforward process).  From what I recall Universal Media Server features this capability as well and its open source...
Title: Re: UPnP/ DLNA device support
Post by: Dofin on October 17, 2020, 09:50:43 PM
Hi,
I've been using musicbee for a year aprox. I started by using it as a player, quickly moved on to have it manage the whole library of some  20k songs, then i moved on to rip again my cd collection, this time in flac instead of mp3, and lately I've generated the usb sticks containing music that i plug in the car.
Moving on, I've recently purchaded a pair of speakers with integrated amps. They are the Kef LS50w II.
Apart from diverse cable connections (hdmi, optical, coax) they are network enabled and support multiple streaming solutons, amazon music, spotify, tidal, chromecast, roon, and, going to the point...upnp/dlna.
I expected to manage them from musicbee using DLNA...but unfortunately they aren't recognised.
I've gone through the process of verifying that everything is properly setup.
First of all, I connected them to the network by wire in order to avoid any hassle with wifi (they do work over wifi, but since I had the nework connection nearby i prefered to stay on the safe side).
I went on to try diverse network streaming solutions. I easily succeeded with amazon music, spotify, and chromecast.
I tried upnp with musicbee...and they were not recognized.
Following other posts in this forum i checked that actually upnp works using other solutions. I suceedent playing from vlc using the speakers as renderers and also using BlubbleUPnP as upnp controller and streaming to the speakers (upnp render) from either Universal Media Server or even from musicbee (as upnp media server).
Nevertheless I'm unable to stream directly from Musicbee to the speakers, which is really a pity, since playing from musicbee allows much easier access to playlists or to actions like rating the song beign played.
I've tried to narrow down the issue:
Options in the plugin configurations:
- enable musicbee to play to a upnp device: checked
- output as a continuous stream: unchecked
- enable upnp devices to browse and play from the musicbee library: Checked (also checked bucket tree nodes...and update play statistics. Rest of the section unchecked
- Server settings
   Server Name: Musicbee Medid Library
   ip address: automàtic port: 49382
   DLNA device profiles: Generic with settings updated as follows (to mach the speakers capabilities)
      max picture size: 160 px (actually they cannot show anything)
      output sample rate 44100 to 192000 (actually for network files they can go up to 384k)
      channels stereo only: checked
       maximum bit depth: 24
       when transcoding output format: PCM 24 (note, transcoding should be a very rare case since they understant almost any format
                                                               MP3, M4A, AAC, FLAC, WAV, AIFF, ALAC, WMA, LPCM and Ogg Vorbis
                                                               as well as MQA DSF: DSD64, DSD128, DSD256 DFF: DSD64
                                  output sample rate: same as source
Going to the more interesting part...i checked the log debug information and this is what it shows

7; 1 Initialise - 17/10/2020 22:34:39
99; 2 GetNetworkAddresses - 192.168.10.232,dns=True,name=Ethernet,speed=1000000000
100; 3 GetNetworkAddresses - 192.168.182.1,dns=True,name=VMware Network Adapter VMnet1,speed=100000000
100; 4 GetNetworkAddresses - 192.168.8.1,dns=True,name=VMware Network Adapter VMnet8,speed=100000000
101; 5 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
103; 6 GetNetworkAddresses - http://192.168.10.232:49382
208; 7 ProcessMessage 192.168.10.137 - device 'uuid:55186c28-4c2d-4c37-b460-207fd8ecc91c:Estudi',valid=False

As far as I understand the plugin reviews my machine network setup, concludes that the newtok address where the upnp should be hooked is 192.168.10.137 which is correct ans starts it in port 192.168.10.232

Then the problem arises in the last line. Musicbee properly identifies a upnp devide at 192.168.10.137 that's the speaker. The text Estudi is the "human" name I gave to the speakers...but shomehow considers this is not a valid device.
Well this is as far as I can go. I understand that something needs to be defined or declared in either the code or a config file in order to properly recognize the device.
To add som context, the veresion I of these speakers was really popular and well considered in the audiophile world. Version two enhaces the network capabilities and has already earnet the Product of the Year award from WhatHiFi so its possible that solving this can help not just me but also other musibee users.

Can someone help with this issue?
I've had a first look at the plugin code. While i can manage with .net development in either visual basic or c# my experience is more related to "conventional" user applications updating databases. I know nothing in the upnp arena. Neither in the audio programming.
Of course I can run debugging code and collect results.

I've seen in the forum that thera are versions of the plugin with debugging code and suposely fixing some of the issues in cpu usage but so far I've stayed with the "official" version from the plugins download page.

Well, any help will be greatly appreciate.
Thants a lot in advance.




Title: Re: UPnP/ DLNA device support
Post by: phred on October 17, 2020, 10:01:28 PM
While it's possible someone may come along and offer some suggestions, it's also possible you didn't notice that this plugin is no longer supported. It has worked for some folks, but not for everyone. In addition it can become a memory hog. To the point of freezing or blue-screening your PC. Even if it is not being used. Simply having the .dll on your PC. But again, some folks haven't experienced that.

I can't offer you any suggestions, but wanted you to be aware of those things in case a) your PC freezes or other wise becomes unresponsive, and b) no one is able to help you.
Title: Re: UPnP/ DLNA device support
Post by: Dofin on October 18, 2020, 07:46:44 PM
I realized it's not supported later on....but have managed to have it running almost everytime.
Fot the benefit of anyone running into similar issues....I explain what I did

Downloaded the source code from the links in the forum....compiled it and got to the same point.
Then uncommented some debug instructions amb realized that the xml looks as follows

<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0" xmlns:qq="http://www.tencent.com">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<qq:X_QPlay_SoftwareCapability>QPlay:2.1</qq:X_QPlay_SoftwareCapability>
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:2</deviceType>
<friendlyName>Estudi</friendlyName>
<manufacturer>KEF</manufacturer>
<manufacturerURL>http://www.kef.com/</manufacturerURL>
<modelDescription>LS50 Wireless II</modelDescription>
<modelName>LS50 Wireless II</modelName>
<modelNumber>SP4025</modelNumber>
<modelURL>http://www.kef.com/</modelURL>
<serialNumber>149df9b3-c5fc-44fe-8908-39939da6c870</serialNumber>
<UDN>uuid:55186c28-4c2d-4c37-b460-207fd8ecc91c</UDN>
<iconList>
<icon>
<mimetype>image/png</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/LibRygelRenderer-120x120x24.png</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/LibRygelRenderer-48x48x24.png</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/LibRygelRenderer-120x120x24.jpg</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/LibRygelRenderer-48x48x24.jpg</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:2</serviceType>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<SCPDURL>/xml/ConnectionManager.xml</SCPDURL>
<controlURL>/Control/LibRygelRenderer/RygelSinkConnectionManager</controlURL>
<eventSubURL>/Event/LibRygelRenderer/RygelSinkConnectionManager</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:AVTransport:2</serviceType>
<serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
<SCPDURL>/xml/AVTransport2.xml</SCPDURL>
<controlURL>/Control/LibRygelRenderer/RygelAVTransport</controlURL>
<eventSubURL>/Event/LibRygelRenderer/RygelAVTransport</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:2</serviceType>
<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
<SCPDURL>/xml/RenderingControl2.xml</SCPDURL>
<controlURL>/Control/LibRygelRenderer/RygelRenderingControl</controlURL>
<eventSubURL>/Event/LibRygelRenderer/RygelRenderingControl</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-tencent-com:service:QPlay:1</serviceType>
<serviceId>urn:tencent-com:serviceId:QPlay</serviceId>
<SCPDURL>/xml/QPlayDescription.xml</SCPDURL>
<controlURL>/Control/LibRygelRenderer/QPlay</controlURL>
<eventSubURL>/Event/LibRygelRenderer/QPlay</eventSubURL>
</service>
</serviceList>
<presentationURL>http://192.168.10.14:80/</presentationURL>
<dlna:X_DLNADOC>DMR-1.51</dlna:X_DLNADOC>
</device>
</root>

Looking at the code I realized that it's looking in the XML for the version 1 of the protocols
For example the plugin looks for urn:schemas-upnp-org:service:ConnectionManager:1 but the xml actually reports urn:schemas-upnp-org:service:ConnectionManager:2 therefore it never loads the variables with the needed managing urls and considers the device invalid.

So I went ahead and modified the code to accept both versions hoping that the actual urls would be compatible enough....and they did.
The plugin works...mostly.
- It recognizes the speakers on startup
- It plays anyting i thow at it...which is to say that it sends the file to the speakers. Since they understant pretty much any format no transcoding is needed, which likely prevents a lot of issues
- If I select the speakers as output device the selection is remembered next time I start musicbee.
- Have no issues with playlist, etc. Work as expected.
- on a laptop with i7 having 2 cores and HT enabled musicbee CPU stays at 2% and memory at around 90 to 950M. I see small spkies when changing from one song to the next, like goung up at cpu like 4% amb memory to 110M. Once playback begins it goes back no lower levels.

Now for the glitches (unfortunately there are some).
- No way of doing fastforward or backward clicking the progress line. It just restarts the song (and then finishes before time). Thats neglecteble as far as I'm concernet.
- Now and then a song is not played. Like one in 20 or so. Have'nt fond a pattern for that. But it's related to the actual song. A song that fails will fail always even if I play otjhers nomally ang get back to that one.

So how we wrap up
- I'm not sure if i've used the latest versions of the source since I've seen several unofficial ones in the forum. If you post one such version i can replicate the changes I did there for the benefit of anyone runnin into similar troubles.

Moving on...I don't know if there are any plans for musicbee concerting network speakers. They seem to be all the rage...and I rather expect a growing demand for such suport. Of course the landscape is a complete mess. Not only we have newer specifications for upnp but also have airplay, chromecast, spotify connect, roon....you name it. Any plans for musicbee on this arena?

Whatever the case...thanks a lot for such a great product.



Title: Re: UPnP/ DLNA device support
Post by: Dofin on October 18, 2020, 08:11:49 PM
Sorry, I have to made a small correction but actually a good one.
It seems I messed to much changing options with the plugin.
I did a cleanup, deleted and reinstall the version I compiled and so far it never fails. Neither with the songs previously failing nor with a buch I threw at it. Including DSF files by the way.
Not only this... I can also click on the progress var an it actually jumps to the righ point (it goes there but the progress bar is not updated)
I'll be using it for some days and see what happens.
Title: Re: UPnP/ DLNA device support
Post by: hiccup on October 18, 2020, 08:39:04 PM
I'll be using it for some days and see what happens.

Thank you for diving into this and reporting about it!
I am sure many users will be interested if you are able to make some improvents on the workings of the plugin.
Title: Re: UPnP/ DLNA device support
Post by: Dofin on October 18, 2020, 09:26:49 PM
just found out the small piece that was messing the initial tests.
I was running musicbee on a laptop connected by wifi. The actual music files are on a server wired to the network. Just by configuring Musicbee to load the complete files before starting the playback was the thing that took care of the ocassional problems.
For the rest....so far so good.
I'll be running it during the week and see if anything else arises.
On the other side I'll be glad to contribute the code changes, just don't know how to.
If someone publishes the latest version of the source I'll apply the changes and post them wherever appropiate both in source and as executable.
Would prefer not to create as a new plugin since that would bring confussion and also the vast majority of the code is not mine, just made a very minor change.
Title: Re: UPnP/ DLNA device support
Post by: hiccup on October 18, 2020, 09:51:19 PM
Would prefer not to create as a new plugin since that would bring confussion and also the vast majority of the code is not mine, just made a very minor change.

This is me talking about stuff I have no real understanding of:

Would it be an idea to publish the plugin on github?
While this (MusicBee) forum is mainly frequented by end-users, github is the place-to-be universe for coders.
Perhaps it is visible there, some talented coders will pick up the challenge and contribute to it?
Title: Re: UPnP/ DLNA device support
Post by: Steven on October 18, 2020, 10:05:14 PM
When you are happy with the code, if you send it to me then i will update the compiled version on the plugins page.
@hiccup, Good idea
Title: Re: UPnP/ DLNA device support
Post by: Steven on October 24, 2020, 12:39:25 AM
I have updated the plugin code and .dll file based on what I understand Dofin did.
Download links available in the first post
Title: Re: UPnP/ DLNA device support
Post by: Dofin on October 24, 2020, 11:43:59 AM
Hi,
Sorry it took me a while to get back. Really busy week.
Anyway, here's some info:
I've been runing the version of the pluging I modified during the week with only the following issues:
- When clicking on the player progress bar to advance playback it does jump to the selected point but the progress bar is not updated accordingly.
- When assigning a rate to the song being played sometimes a message pops up stating that the file cannont be updated because it's locked by another process.

Actually I don't think any of these are related to the changes I made and are rather related to the overall behavior of the plugin.
Out of this playback is smooth and doesn't eats up resources.
I guess I'm not experiencing the problems other people had because
- I have set in the player the option of fully loading the file before starting playback
- I don't think that playback needs to do any transcoding since the speakers understant all formats I thow at them. For referènce I've tried through the plugin the following formats: AAC, ALAC, DSF, FLAC and MP3.

Concerning the changes I made, I just modified the ControPointManager.vb and within it the MediaRendererDevice class, more specifically the new method as follows (you can find my changes searching for the *** string)


        Public Sub New(deviceLocationUrl As Uri)
            'Me.deviceLocationUrl = deviceLocationUrl
            Dim xml As String = GetXmlDocument(deviceLocationUrl)
            For retry As Integer = 1 To 2
                Try
                    If retry = 2 Then
                        xml = GetCleanedXml(xml)
                    End If
                    ' LogInformation("NewMediaRendererDevice:" & deviceLocationUrl.ToString(), xml) '***
                    Using reader As New XmlTextReader(xml, XmlNodeType.Document, Nothing)
                        Do While reader.Read()
                            If reader.NodeType = XmlNodeType.Element Then
                                Dim name As String = reader.Name
                                If String.Compare(name, "friendlyName", StringComparison.OrdinalIgnoreCase) = 0 Then
                                    If FriendlyName IsNot Nothing Then
                                        reader.ReadString()
                                    Else
                                        FriendlyName = reader.ReadString()
                                    End If
                                ElseIf String.Compare(name, "modelDescription", StringComparison.OrdinalIgnoreCase) = 0 Then
                                    If modelDescription IsNot Nothing Then
                                        reader.ReadString()
                                    Else
                                        modelDescription = reader.ReadString()
                                    End If
                                ElseIf String.Compare(name, "UDN", StringComparison.OrdinalIgnoreCase) = 0 Then
                                    Udn.Add(reader.ReadString())
                                ElseIf String.Compare(name, "service", StringComparison.OrdinalIgnoreCase) = 0 Then
                                    Using serviceReader As XmlReader = reader.ReadSubtree()
                                        Dim serviceType As String
                                        Do While serviceReader.Read()
                                            If serviceReader.NodeType = XmlNodeType.Element Then
                                                name = serviceReader.Name
                                                If String.Compare(name, "serviceType", StringComparison.OrdinalIgnoreCase) = 0 Then
                                                    serviceType = serviceReader.ReadString()
                                                    ' LogInformation("NewMediaRendererDevice:" & deviceLocationUrl.ToString(), "*** New Service") '***
                                                ElseIf String.Compare(name, "SCPDURL", StringComparison.OrdinalIgnoreCase) = 0 Then
                                                    If (String.Compare(serviceType, "urn:schemas-upnp-org:service:AVTransport:1", StringComparison.OrdinalIgnoreCase) = 0) Or String.Compare(serviceType, "urn:schemas-upnp-org:service:AVTransport:2", StringComparison.OrdinalIgnoreCase) = 0 Then '***
                                                        avTransportSCPDUri = New Uri(deviceLocationUrl, serviceReader.ReadString())
                                                    ElseIf (String.Compare(serviceType, "urn:schemas-upnp-org:service:RenderingControl:1", StringComparison.OrdinalIgnoreCase) = 0) Or (String.Compare(serviceType, "urn:schemas-upnp-org:service:RenderingControl:2", StringComparison.OrdinalIgnoreCase) = 0) Then '***
                                                        renderingControlSCPDUri = New Uri(deviceLocationUrl, serviceReader.ReadString())
                                                    End If
                                                ElseIf String.Compare(name, "controlURL", StringComparison.OrdinalIgnoreCase) = 0 Then
                                                    If (String.Compare(serviceType, "urn:schemas-upnp-org:service:ConnectionManager:1", StringComparison.OrdinalIgnoreCase) = 0) Or (String.Compare(serviceType, "urn:schemas-upnp-org:service:ConnectionManager:2", StringComparison.OrdinalIgnoreCase) = 0) Then '***
                                                        connectionManagerUrl = New Uri(deviceLocationUrl, serviceReader.ReadString())
                                                    ElseIf (String.Compare(serviceType, "urn:schemas-upnp-org:service:AVTransport:1", StringComparison.OrdinalIgnoreCase) = 0) Or (String.Compare(serviceType, "urn:schemas-upnp-org:service:AVTransport:2", StringComparison.OrdinalIgnoreCase) = 0) Then '***
                                                        avTransportControlUrl = New Uri(deviceLocationUrl, serviceReader.ReadString())
                                                    ElseIf (String.Compare(serviceType, "urn:schemas-upnp-org:service:RenderingControl:1", StringComparison.OrdinalIgnoreCase) = 0) Or (String.Compare(serviceType, "urn:schemas-upnp-org:service:RenderingControl:2", StringComparison.OrdinalIgnoreCase) = 0) Then '***
                                                        renderingControlUrl = New Uri(deviceLocationUrl, serviceReader.ReadString())
                                                    End If
                                                ElseIf String.Compare(name, "eventSubURL", StringComparison.OrdinalIgnoreCase) = 0 Then
                                                    If (String.Compare(serviceType, "urn:schemas-upnp-org:service:AVTransport:1", StringComparison.OrdinalIgnoreCase) = 0) Or (String.Compare(serviceType, "urn:schemas-upnp-org:service:AVTransport:2", StringComparison.OrdinalIgnoreCase) = 0) Then '***
                                                        avTransportEventUrl = New Uri(deviceLocationUrl, serviceReader.ReadString())
                                                    ElseIf (String.Compare(serviceType, "urn:schemas-upnp-org:service:RenderingControl:1", StringComparison.OrdinalIgnoreCase) = 0) Or (String.Compare(serviceType, "urn:schemas-upnp-org:service:RenderingControl:2", StringComparison.OrdinalIgnoreCase) = 0) Then '***
                                                        renderingControlEventUrl = New Uri(deviceLocationUrl, serviceReader.ReadString())
                                                    End If
                                                End If
                                            End If
                                        Loop
                                    End Using
                                End If
                            End If
                        Loop
                    End Using
                    Exit For
                Catch ex As XmlException
                    If retry = 2 Then
                        Throw LogError(ex, "NewMediaRendererDevice:" & deviceLocationUrl.ToString(), xml)
                    End If
                End Try
            Next retry
        End Sub

Today I've downloaded the updated version of the plugin posted by Steven, rerun the tests and so far it also behaves the same way. Playback runs smoothly for all the file formats.
If there's any particular test you want me to run I would be happy to do so.

Otherwise I guess this version can be published in the plugins page as current one.

Thanks a lot for such excellent player!!!
Title: Re: UPnP/ DLNA device support
Post by: Ralf on November 03, 2020, 05:56:14 PM
Hey @Dofin and @Steven
great that you got some work done on the plugin! Much appreciated.

As I've noted before, I've got the problem that playback is stopping erratically to my Auna 150.

While testing the new plugin version I noticed that this seems to be happening only when playing songs from big album files instead of single songs.

I only can circumvent this when playing as "continous stream" thereby losin' all info on the song.

Do you see anyway to get around this?
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on November 21, 2020, 11:45:28 PM
a snotter
Title: Re: UPnP/ DLNA device support
Post by: hiccup on November 21, 2020, 11:54:33 PM
a snotter
Are you describing yourself?
No, come on, you are more than that. Elevate yourself, you are worth it.
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on November 29, 2020, 10:16:56 PM
 8)
Oops the Jack Daniels was on the desk when I posted. The post means nothing and is not aimed at anyone. If I meant it I would started with a capital A. lol
Title: Re: UPnP/ DLNA device support
Post by: phred on December 19, 2020, 01:57:30 PM
PLEASE NOTE: Steven, the developer of this plugin (and of MB) no longer has the time to spend on further development or support of the plugin. He has made the source code available for anyone who wants to continue development. It is available here. (http://www.mediafire.com/file/ckb34sy5etwzkri/MusicBeeUpnpSource.7z/file)
Title: Play an album continuously
Post by: Thibault on February 09, 2021, 04:22:33 PM
Hi,
when I start playing an album in UPNP on my Cambridge CXNV2 player, the reading stops at the end of the 1st track. Can you tell me how to make the album play continuously.
Best regards
Title: Re: Play an album continuously
Post by: phred on February 09, 2021, 04:33:07 PM
If you're referring to the DLNA/UPNP plugin for MB, it is no longer supported. While you may get an answer from a fellow user, there will be no further updates or fixes to the plugin.

I have moved your question to the plugin's thread.
Title: Re: UPnP/ DLNA device support
Post by: Thibault on February 09, 2021, 06:25:53 PM
The UPNP / DLNA plugin works well on all my devices (Panasonic, Sonos ...), I can also perfectly listen to my music on my Cambridge CXNV2 player. The only little thing is that I have to play the next song every time. Do you think this is really due to a UPNP / DLNA plugin malfunction?
Title: Re: UPnP/ DLNA device support
Post by: hiccup on February 09, 2021, 06:30:14 PM
The UPNP / DLNA plugin works well on all my devices (Panasonic, Sonos ...), I can also perfectly listen to my music on my Cambridge CXNV2 player. The only little thing is that I have to play the next song every time. Do you think this is really due to a UPNP / DLNA plugin malfunction?

If you would have made a little effort to read a bit through the thread, you would have found that the answer is yes.
Title: Re: UPnP/ DLNA device support
Post by: hiccup on February 09, 2021, 07:38:56 PM
One of the reasons people keep asking questions on the forum about problems with the UPnP plugin could be that the plugins add-ons page makes no mention at all that the plugin is known to have issues for many users, but they won't be addressed since development of the plugin has been stopped.

https://getmusicbee.com/addons/plugins/11/upnp-dlna-device-support/

The readme even invites users to send log files when they experience problems…
Title: Re: UPnP/ DLNA device support
Post by: The Incredible Boom Boom on February 09, 2021, 09:03:42 PM
The UPNP / DLNA plugin works well on all my devices (Panasonic, Sonos ...), I can also perfectly listen to my music on my Cambridge CXNV2 player. The only little thing is that I have to play the next song every time. Do you think this is really due to a UPNP / DLNA plugin malfunction?


The plugin generally works very well on my devices too. Sometimes many songs will play and then at the end of a song, I'll have to manually go to the next track. I've been meaning to look into the source code for the plugin, but... time.
Title: Re: UPnP/ DLNA device support
Post by: Thibault on February 10, 2021, 03:45:24 PM
Hi,
Too bad !!!! a nice audio player that works almost perfectl..... but not in UPNP mode, annoying. Having to press play at the end of each song to play an album ;-( Does anyone use a Cambridge CXNV2 or 851N reader with MB ? I would like to hear your opinion and the solutions you found.
Regards
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on February 11, 2021, 08:10:00 PM
 :)
Yes I have a CXN (not V2) and I to am frustrated that this is not being developed anymore. I don't have your problem with playing tracks. Here is a screenshot of my settings .
https://i.imgur.com/SGAasQL.png
the only problem i had was gapless playback. I solved this by using a prog called  tuneblade in conjunction with MB. Its a bit complex to set up but it does work. you may be able to solve your problem by using tuneblade.
Title: Re: UPnP/ DLNA device support
Post by: Thibault on February 26, 2021, 02:05:42 PM
Hi,
thank for your answer.
Can you give me some informations to use tuneblade with MB.
Regards
Title: Re: UPnP/ DLNA device support
Post by: Thibault on March 02, 2021, 03:08:22 PM
Hi,
even with your settings the problem does not change. Surprising because CXNV and CXNV2 are similar.
Regards
Title: Re: UPnP/ DLNA device support
Post by: Macflar on March 16, 2021, 11:49:13 AM
Hi There,
CXN V1 user here, once I also had the "one track" played issue, and my solution was to downgrade the CXN firmware, as nothing other than that changed before the error occurred, actually i was into the beta firmware mode, so i simply switched back to normal firmware, it downgraded itself, and all worked fine again.
I hope it helps
Title: Re: UPnP/ DLNA device support
Post by: foresland on September 07, 2021, 08:16:00 AM
Hi! I have MB with plugin streaming to reciever Yamaha WXAD-10. FLAC 16/44kHz is playing well, but Hi-res (24/96-192 kHz) is transcoding to PCM 48kHz despite the settings in plugin. Can you help me?
Title: Re: UPnP/ DLNA device support
Post by: Night_Thastus on February 10, 2022, 12:12:23 AM
I recently had to re-flash my Raspberry Pi with Volumio. Previously, it worked great and I controlled my music from my desktop with musicbee. However, now Musicbee cannot see the Pi as an output device. The Pi can see my library, but not the other way around.

I wish I remember how I got this working originally.

I am perfectly aware this plugin is no longer being officially maintained. However, I don't think it suddenly broke for no reason, so I just wanted help from anyone still using it.

Here's the output log:

0; 1 Initialise - 2022-02-09 05:42:00 PM
46; 2 GetNetworkAddresses - 192.168.1.41,dns=True,name=Ethernet 2,speed=1000000000
46; 3 GetNetworkAddresses - 192.168.56.1,dns=True,name=VirtualBox Host-Only Network,speed=1000000000
46; 4 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
47; 5 GetNetworkAddresses - http://192.168.1.41:49382
69; 6 ProcessMessage 192.168.1.150 - device 'uuid:7dde1d06-6d37-1e31-0080-0005cdab2342:Denon AVR-X2400H',valid=True

For some reason it sees my Denon, even though it's not on. And it doesn't see the Volumio, which has IP ending in .175

UPDATE:

Looks like Volumio temporarily disabled that feature in 3.198 until they can fix something.

https://community.volumio.org/t/after-last-update-no-longer-network-upnp-dac-over-audirvana/53705
https://cdn.discordapp.com/attachments/497303888857268235/941133693349666836/unknown.png

So not an issue with the plugin! :)
Title: Re: UPnP/ DLNA device support
Post by: DarthVader1950 on March 15, 2022, 10:13:08 PM
This plug in found all of my Sonos speakers, running in DJ mode it goes from song to song with just a small gap.  So far anyway.
Title: DSD playback with Upnp DAC
Post by: pinbfv on June 05, 2022, 06:23:50 PM
hi,
i have a source called "UX1 Advance Paris" (https://advance-acoustic.com/en/high-end/multimedia-player/145-ux1-black)
which supports up to 768kHz PCM and 11.2MHz DSD (Direct Stream Digital).
In MusicBee, I need to have upnp plugin to discover device SMART_UX1

My problem is : when i play DSD128 or DSD256, in upnp plugin if i choose output PCM 24bits format DSD plays only 5 seconds. If i choose output PCM 16bits format, file is read but sound is ugly.

Do you have a better plugin or i good method to play DSD files ?
(also, no problem to read flac in 24bits).

MB 3.5.8150, OS: Win10 Pro 64bits 32GoRAM
Title: Re: UPnP/ DLNA device support
Post by: phred on June 05, 2022, 07:52:24 PM
I have no answer for the issue you're experiencing, but I want to point out a couple of things about the UPnP/DLNA plugin...

1- it is no longer being developed or supported.

2- it is known to cause massive memory leaks for many (but not all) users even if is only installed and disabled. Leaks to the point of crashing Windows with a total lock-up or blue screen. Use it at your own risk.
Title: Re: UPnP/ DLNA device support
Post by: pinbfv on June 05, 2022, 08:34:50 PM
I have no answer for the issue you're experiencing, but I want to point out a couple of things about the UPnP/DLNA plugin...

1- it is no longer being developed or supported.

2- it is known to cause massive memory leaks for many (but not all) users even if is only installed and disabled. Leaks to the point of crashing Windows with a total lock-up or blue screen. Use it at your own risk.

a) But, my device works primary in Upnp/DLNA ! i need this feature to play audio in my device.
b) i have no crash with this plugin for the moment

For me, MusicBee is the best software (works very well, does not consume a lot of resources).
I hope a new supported plugin soon...
Title: Re: UPnP/ DLNA device support
Post by: phred on June 05, 2022, 08:51:11 PM
b) i have no crash with this plugin for the moment
That's fortunate. But keep an eye of RAM usage as it may change with time.

Quote
I hope a new supported plugin soon...
That's probably not going to happen as Steven (the developer of this plugin and MB) offered up the code to anyone who wanted to take over and improve the plugin and there were no takers. This was more than two years ago.
Title: Re: UPnP/ DLNA device support
Post by: jean.valjean on June 28, 2022, 06:47:37 PM
Bonjour,

Quelle est la version de UPNP dans le plugin ?
Marantz ayant mis à jour son firmware, Musicbee ne fonctionne dé sormais plus qu'en flux continu.

Merci

Traduit avec QTranslate

Hello,

What is the version of UPNP in the plugin?
Marantz having updated its firmware, Musicbee now only works in continuous stream.

Thanks
Title: Re: UPnP/ DLNA device support
Post by: Steven on June 29, 2022, 09:21:07 AM
Marantz having updated its firmware, Musicbee now only works in continuous stream.
I am no longer maintaining this plugin, so unless someone else picks it up, whatever the issue is wont be addressed
Title: Re: UPnP/ DLNA device support
Post by: jean.valjean on June 29, 2022, 11:41:55 AM
Bonjour Steven,

J'avais bien compris pour la mise à jour du plugin mais j'aurai aimer connaitre la version UPNP du plugin, 1.0; 2.0 ?
J'ai demandé au technicien Marantz s'il avait modifié la partie UPNP de leur firmware et s'il avait changé de version.

Merci pour ton travail.
Bonne journée.

Hello Steven,

I had understood for the update of the plugin but I would have liked to know the UPNP version of the plugin, 1.0; 2.0?
I asked the Marantz technician if he had modified the UPNP part of their firmware and if he had changed the version.

Thank you for your work.
Have a good day.
Title: Re: UPnP/ DLNA device support
Post by: TFTDguru on July 12, 2022, 03:55:24 PM
I, too, am interested in adding Podcasts to the UPNP/DLNA. It is a small but important segment of my library that I wish was available. MusicBee has them, but not the plug-in.
Title: Re: UPnP/ DLNA device support
Post by: phred on July 13, 2022, 02:06:03 AM
I, too, am interested in adding Podcasts to the UPNP/DLNA. It is a small but important segment of my library that I wish was available. MusicBee has them, but not the plug-in.

I am no longer maintaining this plugin, so unless someone else picks it up, whatever the issue is wont be addressed
Title: Re: UPnP/ DLNA device support
Post by: GoodMorning on August 01, 2022, 04:23:31 AM
I just created a fork of this plugin that adds support for browsing downloaded podcasts in your MusicBee library. This was my first time messing around with Visual Basic so my code is kinda sloppy, but it works. I decided to somewhat uncreatively name my fork UpnpReloaded.

The plugin can be downloaded here: https://github.com/EliSadaka/UpnpReloaded/releases

Note that it only supports MusicBee 3.1 and later.

I don't see myself adding any more features since podcast support was really the last thing I needed, but the source code is available for anyone else to improve upon further. Depending on how easy it seems I might add support for browsing non-downloaded podcasts, but no promises.
Title: Re: UPnP/ DLNA device support
Post by: taravasya on November 24, 2022, 11:51:50 PM
I don't see myself adding any more features since podcast support
Hi! Thanks for sharing this! Can you please made one more feature? I cant do this with my self. I need too have a folders like browsing. Some of albums in my collections dont have a tags, so they dont appear in remote browsing with dlna clients (because this albums dont have any tags "Artist", "Album" etc).
Thanks!
Title: Re: UPnP/ DLNA device support
Post by: boroda on November 25, 2022, 08:55:36 AM
you can auto-fill missing tags from folder structure: tools> tagging tools> auto-tag by track> infer and update tags from filename.
Title: Re: UPnP/ DLNA device support
Post by: taravasya on November 25, 2022, 10:16:38 AM
Thanks! I know about this, but sometimes I need to have exactly folders structure. As example, then my friend came with his hdd with music collection, i can add this hdd to library, and navigate to folders structure only with his collection. Some others DLNA servers have folders struture as node in DLNA library and sometimes this is very convenient.
Title: DLNA
Post by: MWJK on April 17, 2023, 11:36:35 PM
I am trying to play MusicBee on a Yamaha 1020 AV receiver.  If I use a portable installation of MB, 3.3.7367 P and get a message that the receiver is not ready for output.  However, on a installation of 3.5.8447 it plays fine.  Is this an issue of a portable install vs. device install or the version of the software?  Any thoughts as to why this is happening?
Title: Re: DLNA
Post by: phred on April 18, 2023, 01:51:46 AM
Are you using MB's DLNA/UPNP plugin? If so, please post your issue on the plugin's thread.

Technically the Portable and the Installer issues have the exact same functionality. But since you're using a Portable version that's more than three years old, there may have been updates in newer versions that related to DLNA. So I strongly suggest you update the Portable version to the most recent version.
Title: Re: DLNA
Post by: MWJK on April 18, 2023, 02:52:25 AM
Is there a way to transfer the question to the other thread?
Title: Re: UPnP/ DLNA device support
Post by: michelrivolta on August 09, 2023, 10:56:05 PM
The plugin works well with my iota np3 streamer but I found an issue when the "output as a continuous stream" feature is on. Synchronization seems to be off and you notice it when you arrive to the last song which it's trimmed before it actually finished. You can see on the musicbee player progress bar that the song comes to the end like 10 sec. before it actually finishes. This only happens  when the continuous stream is on. I wonder if there is any work around to avoid this, any help would be appreciate, thanks.
Title: Compatibility of UPnP renderer device
Post by: Wei Cao on August 24, 2023, 02:32:14 AM
Dear Team MusicBee,
We are an audio device manufacturer, our products work as UPnP renderer, the device has a companion app, which can find and browse UPnP servers, music can be streamed to the audio device by the app.
I installed MusicBee on my PC and configured the library and UPnP plug-in. The app can find the UPnP server, but when I selected the server, the app displays nothing in this server. At the same time, BubbleUPnP worked well with the same server.
It seems that I have no permission of adding attachments.

In debug mode, we found that when the MusicBee UPnP is selected in our app, we get the following error messages.
Code
Error Domain=com.arcam.cocoaupnp.error Code=4 "No item or container elements found in XML data" UserInfo={NSLocalizedDescription=No item or container elements found in XML data}
Title: Re: Compatibility of UPnP renderer device
Post by: hiccup on August 24, 2023, 06:33:18 AM
We are an audio device manufacturer, our products work as UPnP renderer, the device has a companion app, which can find and browse UPnP servers, music can be streamed to the audio device by the app.
Welcome to the forum Wei Cao
Quote from the (sole) developer:

I am no longer maintaining this plugin, so unless someone else picks it up, whatever the issue is wont be addressed

He has also explained that the source code for this UPnP plugin is available, and that anybody is free to work on it.
So if your company has the knowledge and the resources, perhaps you could contribute by taking a look at the plugin's code and improving on it?
That would be much appreciated by many MusicBee users.

Be aware that everybody on this forum (including the developer) is contributing voluntarily, and for free.
So that would need to apply to you too.
 
Title: Re: UPnP/ DLNA device support
Post by: Wei Cao on August 24, 2023, 08:10:31 AM
Got that. But I'm not sure if we have the ability of optimizing this plugin. Because we are a audio device company, we have few experiences on UPnP server and renderer software. We'll try our best. Let me read through the past posts in this thread first. Thank you.
Title: Re: UPnP/ DLNA device support
Post by: kingjon on September 10, 2023, 09:07:36 AM
You would make a lot of people very happy if you could update that plug-in. 
Title: Re: UPnP/ DLNA device support
Post by: phred on September 10, 2023, 12:28:23 PM
A friendly reminder...

Steven, the developer of this plugin (and of MB) no longer has the time to spend on further development OR SUPPORT of the plugin.
He has made the source code available for anyone who wants to continue development. It is available here. (http://www.mediafire.com/file/ckb34sy5etwzkri/MusicBeeUpnpSource.7z/file)
Title: Re: UPnP/ DLNA device support
Post by: hiccup on September 10, 2023, 12:34:29 PM
A friendly reminder:
What does unfriendly look like?
Remote detonation of the poster's computer?

You would make a lot of people very happy if you could update that plug-in.  
If you had used the word 'somebody' instead of 'you', your remark would probably have been received more neutral, and I would have completely agreed ;-)
Title: Re: UPnP/ DLNA device support
Post by: phred on September 10, 2023, 01:09:49 PM
What does unfriendly look like?
Remote detonation of the poster's computer?
Pretty close. I was thinking more along the lines of a Bond-like auto ejector.

Quote
If you had used the word 'somebody' instead of 'you', your remark would probably have been received more neutral, and I would have completely agreed ;-)
I think the "you" this person was referring to was Wei Cao. Nevertheless I thought it was time to remind folks that the plugin is no longer supported.
Title: Re: UPnP/ DLNA device support
Post by: hiccup on September 10, 2023, 01:20:43 PM
I think the "you" this person was referring to was Wei Cao. Nevertheless I thought it was time to remind folks that the plugin is no longer supported.
Ah, yes, that seems a possibility. I assumed it was directed at Steven.
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on September 14, 2023, 08:58:41 PM
I have been following this thread for years possibly. So If its not being developed by Steven then we have to accept that. So my question is with such a brilliant piece of software that all you guys and me are enjoying how do you listen to your MB music to your "weapon of choice"?  Without DLNA you are limited to PC speakers  Phones Tablets or wires trailing from you PC to your amplifier inputs. Assuming of course that you want to listen to your library on Hi Fi!
Title: Re: UPnP/ DLNA device support
Post by: phred on September 15, 2023, 02:06:07 AM
Look into Subsonic (no longer supported but working well) or one of it's many forks, such as Airsonic Advanced. You can point it to your MB library and playlists and use it's DLNA.
Lately I've been experimenting with Plex on a Synology NAS and I'm rather pleased with it. I've got it pointed to my music files (on the NAS.) The Plex server has a DLNA component which I have yet to test.
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on September 19, 2023, 08:31:49 PM
I must admit the generic DLNA works for  me.I just don't have  gapless playback. But tuneblade works  with MB but more messing about with settings. 8)
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on October 14, 2023, 09:33:21 PM
So how are Phred and Hiccup using MB to send to their Hi Fi ?
Title: Re: UPnP/ DLNA device support
Post by: phred on October 14, 2023, 09:43:17 PM
So how are Phred and Hiccup using MB to send to their Hi Fi ?
Plex Server's DLNA component.
Title: Re: UPnP/ DLNA device support
Post by: louk on November 05, 2023, 10:37:49 AM
For those who still struggle with the Upnp/DLNA plugin showing faulty behavior, I could solve it (my MusicBee Version: 3.5.8698, recent version https://www.getmusicbee.com/downloads/).

Prerequisites:

Upnp/DLNA plugin installation:
From top bar: MusicBee->Edit->Edit Preferences->Plugins use Add Plugins button to add Upnp/DLNA plugin
(https://i.postimg.cc/kBt3wgGD/Music-Bee-Upnp-Plugin.png) (https://postimg.cc/kBt3wgGD)

("C:\Program Files (x86)\MusicBee\mb_Upnp.dll",

downloadable from https://www.getmusicbee.com/addons/plugins/11/upnp-dlna-device-support/)

and save.

Open from the footer context menü and select: Output to->RX-A1070  (which is my Yamaha DLNA Receiver, in your case select yours)
(https://i.postimg.cc/gn7yzMkx/OutputTo.png) (https://postimg.cc/gn7yzMkx)

Faulty behavior:
When you play a track, your receiver turns on, activates the server path as source, displays the track of the selected music but you hear no sound and after some seconds the next track is displayed etc.
In the MusicBee GUI you can see the marker jumping down from track to track. You can change the volume with the slider in the GUI and this also changes the volume level on the receiver, but there is still no sound.

Analysis:
I activated the log file in the Upnp/DLNA settings and could see, that the plugin informs the recipient to fetch the mp3 file from an IP, that is very likely not the public IP of my PC. I searched and found, that it was from the virtual network adapter of my VirtualBox installation and they don't host the MP3 files. That can't work.

So I checked the plugin settings and found that the IP for the server settings was set to Automatic by default. The log file showed that the plugin searches for all network adapters with their IPs and then simply selects the first one to tell the recipient where to get the MP3 file.

Extract of "C:\Users\<YourUsername>\AppData\Roaming\MusicBee\UpnpErrorLog.dat"
0; 59 Initialise - 04.11.2023 23:02:01
418; 60 GetNetworkAddresses - 192.168.56.1,dns=True,name=VirtualBox Host-Only Network,speed=1000000000
418; 61 GetNetworkAddresses - 192.168.92.1,dns=True,name=Ethernet 2,speed=1000000000
418; 62 GetNetworkAddresses - 192.168.224.1,dns=True,name=VMware Network Adapter VMnet1,speed=100000000
418; 63 GetNetworkAddresses - 192.168.200.1,dns=True,name=VMware Network Adapter VMnet8,speed=100000000
419; 64 GetNetworkAddresses - 192.168.178.44,dns=True,name=WLAN,speed=866700000
419; 65 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
419; 66 GetNetworkAddresses - http://192.168.56.1:49383

Solution:
To fix that, don't use Automatic setting but the public IP of your PC. In my case it was 192.168.178.44. Check your adapter settings or use ipconfig command in a shell to get it. You may need to restart MusicBee to get it to work.
(https://i.postimg.cc/3kDXdgdn/Music-Bee-Upnp-Setup.png) (https://postimg.cc/3kDXdgdn)

If you are using several PCs as music servers, you should change the field for the server name to make it easier to distinguish the source on the receiver. In my case I used "MusicBee Media Library Dell", since MusicBee was running on my Dell notebook.
Title: Re: UPnP/ DLNA device support
Post by: johnnyboy on November 11, 2023, 07:55:06 PM
can you give more detail on that. I have Plex and Plex Amp. They work OK with their own interface. Are you saying to use the MB interface  and the plex server?
Title: Re: UPnP/ DLNA device support
Post by: boroda on November 12, 2023, 10:47:00 AM
@johnnyboy, i suggest that @louk means running mb inside VirtualBox. it's a very specific case.
Title: Re: UPnP/ DLNA device support
Post by: louk on November 13, 2023, 05:34:52 PM
@boroda, no, the post refers to MB installed on a Windows 10/11 PC that also has VirtulaBox or VMware installed. The same problem can occur with any other program that adds virtual network adapters and also if you have multiple hardware network adapters where the IP where the MB automatic binds to is not reachable for the receiver.

@johnyboy, Plex Amp is a different program and my post was not referring to it. In general, you will not use MB and Plex Amp together.
Title: Re: UPnP/ DLNA device support
Post by: boroda on November 18, 2023, 10:53:58 PM
@louk, ok, thanks.
Title: Re: UPnP/ DLNA device support
Post by: chinchin on December 03, 2023, 10:33:41 PM
This plugin works for me but not completly. Not sure if this is normal behaviour or not:

When installed and activated I can manually (on my PC) initialize playback on the DLNA Client (a Onkyo AVR) by selecting it as the playback device. The only control that I have with my AVR is play and pause in this case.
The problem is, the other way around doesn't work: the "Server" is not found by the AVR and I can't browser the library, although this option is enabled in the plugin.

Anyone familiar with this problem?
Title: Re: UPnP/ DLNA device support
Post by: dzeake on December 07, 2023, 05:20:59 PM
Hi All!

First post here...

First of all, I am blown away by MusicBee's overall functionality.  I have been using it for several years now as my desktop local music playback app without issue.  I love the customization capabilities.  The upsampling to 24/192 is an added bonus.

That all said, I started using it as a DLNA server for my living room system.  For almost 2 years, I have had no issues.  However, starting about a month ago, I started experiencing severe stuttering and lag in song playback.  It takes about 15 seconds for the system to respond to any command (fast forward, skip, stop, etc.).  The stuttering makes playback unlistenable.

There were no new variables introduced into my system that I can remember.  I am using Moode OS on a Raspberry Pi4 as renderer.  I completely reinstalled the OS, to no avail.  I am using BubbleUPNP on Android as UX.  I have reinstalled it, played with settings in the app, and even used multiple handsets to confirm that it isn't Bubble UPNP.

I am running MusicBee on the same Surface Pro tablet that it has been on for years;  Intel(R) Core(TM) i5-4300U CPU with 8 GB RAM and Windows 10.  This is the only variable that I am not sure about.  Nor have I attempted to troubleshoot Windows as a potential source of the issues.

I updated MusicBee to the latest version, and completely reinstalled it along with the UPnP/ DLNA plugin.  It initially worked perfectly, so I thought the issue was solved.  But within a few hours, the stuttering occurred again as before.

I know the plugin is no longer supported, but do any of you have any suggestions?

I humbly request that the plugin be supported again, and even promoted as one of the main features of MusicBee;  effectively you have a free alternative to the expensive Roon software suite - which is in itself pretty remarkable!

Thank you!
Title: Re: UPnP/ DLNA device support
Post by: phred on December 07, 2023, 10:02:54 PM
I humbly request that the plugin be supported again, and even promoted as one of the main features of MusicBee;  effectively you have a free alternative to the expensive Roon software suite - which is in itself pretty remarkable!
The plugin will not be supported again. Steven, the plugin's developer (and the sole developer of MB) made the source code available many years ago and no one took any interest in it. And how can you promote something that isn't supported?
Title: Re: UPnP/ DLNA device support
Post by: dzeake on December 08, 2023, 04:10:32 AM
I humbly request that the plugin be supported again, and even promoted as one of the main features of MusicBee;  effectively you have a free alternative to the expensive Roon software suite - which is in itself pretty remarkable!
The plugin will not be supported again. Steven, the plugin's developer (and the sole developer of MB) made the source code available many years ago and no one took any interest in it. And how can you promote something that isn't supported?

Fair enough.  But sad to hear nonetheless.
Title: Re: UPnP/ DLNA device support
Post by: dzeake on December 11, 2023, 04:50:01 PM
Hi All!

First post here...

First of all, I am blown away by MusicBee's overall functionality.  I have been using it for several years now as my desktop local music playback app without issue.  I love the customization capabilities.  The upsampling to 24/192 is an added bonus.

That all said, I started using it as a DLNA server for my living room system.  For almost 2 years, I have had no issues.  However, starting about a month ago, I started experiencing severe stuttering and lag in song playback.  It takes about 15 seconds for the system to respond to any command (fast forward, skip, stop, etc.).  The stuttering makes playback unlistenable.

There were no new variables introduced into my system that I can remember.  I am using Moode OS on a Raspberry Pi4 as renderer.  I completely reinstalled the OS, to no avail.  I am using BubbleUPNP on Android as UX.  I have reinstalled it, played with settings in the app, and even used multiple handsets to confirm that it isn't Bubble UPNP.

I am running MusicBee on the same Surface Pro tablet that it has been on for years;  Intel(R) Core(TM) i5-4300U CPU with 8 GB RAM and Windows 10.  This is the only variable that I am not sure about.  Nor have I attempted to troubleshoot Windows as a potential source of the issues.

I updated MusicBee to the latest version, and completely reinstalled it along with the UPnP/ DLNA plugin.  It initially worked perfectly, so I thought the issue was solved.  But within a few hours, the stuttering occurred again as before.

I know the plugin is no longer supported, but do any of you have any suggestions?

I humbly request that the plugin be supported again, and even promoted as one of the main features of MusicBee;  effectively you have a free alternative to the expensive Roon software suite - which is in itself pretty remarkable!

Thank you!


Problem solved;  the sound driver has to be set to "WASAPI Shared" for UPnP to work correctly.  Everything runs perfectly now - no glitching, and instant access to each song selection.

I felt like Clark Griswold troubleshooting Christmas lights in Christmas Vacation;  I had toggled between Shared and Exclusive, not realizing that was the cause of my problems. ;)