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

hiccup

  • Hero Member
  • *****
  • Posts: 5932
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!

peggysparkles

  • Guest
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!!!:)

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7712
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.
Download the latest MusicBee v3.4 patch from here.
Download the latest MusicBee v3.5 beta patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here

hiccup

  • Hero Member
  • *****
  • Posts: 5932
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.?)

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32883
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

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7712
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.
Last Edit: December 27, 2014, 06:31:43 PM by phred
Download the latest MusicBee v3.4 patch from here.
Download the latest MusicBee v3.5 beta patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here

hiccup

  • Hero Member
  • *****
  • Posts: 5932
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.

danprice85

  • Jr. Member
  • **
  • Posts: 23
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

mattbaker88

  • Newbie
  • *
  • Posts: 15
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?

vzell

  • Sr. Member
  • ****
  • Posts: 368
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

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32883
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

MrLocoLuciano

  • Newbie
  • *
  • Posts: 8
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
Last Edit: January 10, 2015, 10:25:19 PM by MrLocoLuciano

Barbie-qu

  • Jr. Member
  • **
  • Posts: 67
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.

johnnyboy

  • Jr. Member
  • **
  • Posts: 58
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

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32883
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