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

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 24231
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
Last Edit: August 16, 2016, 06:23:48 PM by Steven

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2798
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.
The latest MusicBee v3.0 patch is available here.
The latest MusicBee v3.1 BETA patch is available here.
Download & unzip into your MusicBee folder, overwriting existing files

avianmanor

  • Jr. Member
  • **
  • Posts: 20
  • Long Live Vinyl
This plugin works perfectly on my Pioneer Elite Pro Plasma Television -awesome!

dual-o

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

dual-o

  • Newbie
  • *
  • Posts: 7
Hello,

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

greets

Steven

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

weejake

  • Newbie
  • *
  • Posts: 16

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 24231
my onkyo TX-NR636 dosnt see it.
please re-read the instructions in the first post

Alnis

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

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 24231
can you post a link to a screenshot of the plugin configuration settings


Steven

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

Alnis

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

slyr114

  • Newbie
  • *
  • Posts: 11
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.
Last Edit: December 06, 2014, 03:13:59 PM by slyr114

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2798
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.
The latest MusicBee v3.0 patch is available here.
The latest MusicBee v3.1 BETA patch is available here.
Download & unzip into your MusicBee folder, overwriting existing files