Author Topic: UPNP  (Read 138956 times)

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
one thing to be aware of is in the first version, i am not enabling internet access - only access from within your home network.
So if a phone is not configured to communicate to the internet router ie. it appears to the plugin as an external ip address, then the plugin will disable access to the connection

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
you need the latest MB version - unzip and replace the existing files where MB is installed:
http://musicbee.niblseed.com/V2_5/MusicBee_Exe_Patched.zip

and you need this plugin - 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. I dont have time today to explain them all but I think they are quite straight-forward - ask if you are not sure of something.

As mentioned only server mode (enabled UPnP devices to browse and play from the MusicBee library) and controller mode (playing from MusicBee to UPnP devices)

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 are getting odd behavior, then start by enabling the debug log which is an option in the configuration screen (a file "UpnpErrorLog.dat" is created in the same AppData folder as the error log). 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 greatful if you try it out and confirm if it does work.

Bee-liever

  • Member
  • Hero Member
  • *****
  • Posts: 3878
  • MB Version: 3.6.9304P
if possible, a PS3 profile that simulates the required folder structure for PlayStation's:
Music/MusicBee Library (Music)/...

EDIT: 'simulate' was a better choice than 'mimic'
Last Edit: November 14, 2014, 06:08:23 AM by Bee-liever
MusicBee and my library - Making bee-utiful music together

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
if possible, a PS3 profile that simulates the required folder structure for PlayStation's:
Music/MusicBee Library (Music)/...
i will need to google it - i gather PS3 are worse than Xbox's for conforming to the standard. Does the plugin allow the PS3 to see MusicBee at all?
Last Edit: November 14, 2014, 08:10:58 AM by Steven

vzell

  • Sr. Member
  • ****
  • Posts: 459
Amazing, works right out of the box. I just checked "Server Mode" with Fritz!App Media as a controller and playing on Pioneer VSX-924.
Browsing through my library is lightning fast  ::)
 
I'm wondering if it would be possible to allow additional browsing categories to start with (right now we have Album Artists/Albums/Artists/Genres/Years) like Composer/Conductor/Publisher or make them configurable ?

Bee-liever

  • Member
  • Hero Member
  • *****
  • Posts: 3878
  • MB Version: 3.6.9304P
Does the plugin allow the PS3 to see MusicBee at all?

MB shows up as media server just fine - but no files can be found.
MusicBee and my library - Making bee-utiful music together

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
in that case can you enable debug logging in the plugin configuration and send me a link to the "UpnpErrorLog.dat" file in the AppData sub-folder

blogonat

  • Guest
Great news...
My little feedback with MB

as Controller Mode
with AVR Denon 3311 (lan) with android Retunes App as a remote --> working great, just some sound glitches when turning on. Sound quality is very good.
but no cover or artist tag (album + song are showing)
with Freebox V6 (internet box) --> can't connect, MB crashes (when in "settings" i try to save)
(log -> https://drive.google.com/file/d/0Bz0mPD24mq29cjE1bFNCODRJWDk3RklhSEpQX0Z1dGJjWkdr/view?usp=sharing)

as Server Mode
with AVR Denon 3311 (lan), AVR show "not authorized", can't navigate.

small idea
several outputs at the same time ?
switch outputs with direct access via the volume buton on the main interface ?

Great work !

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
as Server Mode
with AVR Denon 3311 (lan), AVR show "not authorized", can't navigate.
doing a quick google, it appears the same problem happened for mediamonkey and asset server with no resolution. However you might try this:
http://www.avsforum.com/forum/308-community-articles/1550945-denon-2011-2012-avr-faq-setup-troubleshooting-guide.html#user_L29
"WIN 7 PC shows up as "Not Authorized": On the AVR, set DHCP to OFF, then put in a manual address for the router and set DHCP back to ON."

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10283
This is a very nice and welcome addition.  Thanks Steven.

I'm looking for some guidance in getting it set up correctly.  My device is a Samsung BluRay/DVD player connected to my home network via a wired connection and a static IP.  And while MB is running on my Win7 desktop PC, the music tracks are on a NAS mapped as Z:\.  The device is currently able to see and play all my music tracks when served up from my Logitech Media Server.  

However, I cannot get the device to play tracks from the MB server.  The majority of my tracks are MP3s.  Right out of the box, the Samsung sees the MB library.  I can browse through Artists, Albums, etc.  But when I select any track and attempt to play it, the device tells me "Not Supported File Format."  Which is kind of hard to believe since it's playing the same track via my Logitech Media Server.

My initial attempt was with setting the plugin device profile to the Generic Device which resulted in the file format not supported message.  Then I created a Samsung device profile with the user agent as "[BD]HM57C" which is the device name showing directly on the Samsung.  That had the same result.  I then worked my way down the list of profiles in the plugin and none of them worked.  I have not changed any of the options in the top two sections of the config window.

Any suggestions?

Thanks.
Last Edit: November 14, 2014, 04:04:55 PM by phred
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
However, I cannot get the device to play tracks from the MB server.  The majority of my tracks are MP3s.  Right out of the box, the Samsung sees the MB library.  I can browse through Artists, Albums, etc.  But when I select any track and attempt to play it, the device tells me "Not Supported File Format."
Firstly, for the purpose of debugging this make sure anything that forces transcoding is not ticked: "use equaliser...", "level playback volume..." and "network is bandwidth constrained..."
Also tick "enable debug logging" and send me the file if it still doesnt work

I have two ideas what it might be. The easiest, could you redownload the plugin link only which has been updated.
If that doesnt work, i have a more involved 2nd idea of what to do
Last Edit: November 14, 2014, 06:07:25 PM by Steven

hiccup

  • Hero Member
  • *****
  • Posts: 9166
Thanks for investing time and effort and creating this plugin!

In my setup it is not working yet.
I try to control my Squeezebox Classic. In preferences it is shown and I can select it, but when I start playback I get:
"Error, Unable to start playback (error=BASS_OK)"
The same error is show when I try to play to my Panasonic television.

Also MB crashes when I select DirectSound, and then press 'Configure'.

"MusicBee has stopped working"
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   MusicBee.exe
  Application Version:   2.5.5430.39091
  Application Timestamp:   5465262e
  Fault Module Name:   MusicBeeBass.dll
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   54651804
  Exception Code:   c0000005
  Exception Offset:   00001ad5
  OS Version:   6.3.9600.2.0.0.256.48
  Locale ID:   1043
  Additional Information 1:   5861
  Additional Information 2:   5861822e1919d7c014bbb064c64908b2
  Additional Information 3:   84a0
  Additional Information 4:   84a09ea102a12ee665c500221db8c9d6

Let me know if you need more information or have me try something.

PS
With foobar it's working, so I am assuming the problem is not in my network or my Squeezebox.
(LMS, Logitech Media Server)

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
anyone who has issues, please as instructed tick the "log debug information" option in the plugin settings and send me a link to the "UpnpErrorLog.dat" file

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10283
Steven-

Downloaded the updated plugin with the same results.  Tried the Generic Device profile along with my custom Samsung DVD profile.  Nothing relating to transcoding is ticked.
Config screenshot: https://www.mediafire.com/?itxtm9vr77npiab
UPnP error log: http://www.mediafire.com/view/t4z3xmnhyzq3g8i/UpnpErrorLog.dat

Thanks.
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
@phred, could you redownload the plugin and then resend me the log again. There is a small chance it might work

@hiccup, its a pretty weird error but there seems to a lot of occurances from a google search so hopefully i can find a solution. As a test, can you disable replay gain, and any equaliser/ dsp in musicbee and ensure "continuous output" is not ticked in the plugin prefs