getmusicbee.com

General => MusicBee Wishlist => Topic started by: GHammer on March 04, 2010, 05:56:52 PM

Title: UPNP
Post by: GHammer on March 04, 2010, 05:56:52 PM
I'd like to see a UPNP server, it could/should be a plugin or addon as some would be interested some would not.
There are getting to be lots of devices like the WD HD TV Live! around now so I think it would be a good addition.

Something like foo_upnp, but easier to use.


Thanks for listening.
Title: Re: UPNP
Post by: Antonski on March 05, 2010, 03:17:23 PM
+1 ;)
Title: Re: UPNP
Post by: Steven on March 05, 2010, 04:08:08 PM
i imagine there are quite a few +1's out there!
I have started reading up about UPNP but it wont be a trivial task for me as i dont have any experience with this yet. I dont expect i will be able to something until a few months
Title: Re: UPNP
Post by: IMGrant on August 11, 2011, 09:06:08 AM
Sorry to drag up an old thread, but I think UPnP in MusicBee would be more useful as a client ('control point' and/or 'renderer') rather than a server. Like the 'Play To' feature in Windows Media Player or AirPlay in iTunes, it would be great to be able to easily direct the output from MusicBee to my DLNA/UPnP players at the click of a button.
Title: Re: UPNP
Post by: greenday1987 on August 11, 2011, 11:25:14 AM
Doesn't the subsonic thing render this obsolete now?
Title: Re: UPNP
Post by: IMGrant on August 11, 2011, 11:38:35 AM
Just had to look it (subsonic) up, but I don't think so - subsonic sounds like a server of some sort? DLNA/UPnP Renderer duplicates it in some ways maybe, but with Control Point functionality you would be able to use MusicBee to push audio (from wherever, local library, DLNA/UPnP server) to another Renderer, e.g. Linn DS, Naim players, and also Squeezeboxes (uses a proprietary system but there are ways to make them act as UPnP Renderers) and maybe Sonos (dunno about that, no first hand experience there).

Squeezeboxes (with the 'Whitebear' bridge to make them appear as DLNA players) is my setup - the Squeezebox Server web UI is slow, MusicBee is much better but there's no current way for them to talk to each other.
Title: Re: UPNP
Post by: p-mob on August 11, 2011, 01:24:38 PM
There are a lot of fine UPNP servers out there.
TVersity, Twonkymedia. Only to tell two of them. They can be run as service and work very good. So why another one?
Title: Re: UPNP
Post by: IMGrant on August 11, 2011, 01:37:57 PM
This is my point - not a UPnP *server*, but a *client* (specifically a Control Point and possibly Renderer in DLNA-speak).
Title: Re: UPNP
Post by: p-mob on August 12, 2011, 07:20:30 PM
A renderer would be nice, but no "must have".
If You have access to UPnP you can use a file share in the same network too.
So, no need for a UPnP client in Musicbee.
Just my 2 cents...
Title: Re: UPNP
Post by: Steven on August 12, 2011, 09:19:38 PM
IMGrant, does pushing the sound over the connection to the client suffice for your needs or do you need to view files/ control whats played from your client. If the 1st, then i saw something on hydrogenaudio that someone had developed that might work with MB
Title: Re: UPNP
Post by: IMGrant on August 12, 2011, 09:25:26 PM
p-mob, yes, your points are valid for Renderer and Server functionality, nice maybe but not must-haves. However, I think there's a stronger, valid case for Control Point functionality - MusicBee has great library control, search, filter and playlist features, it would be awesome to be able to use this to play audio on remote wireless streamers.

Steven, simple streaming would be great. Obviously full UPnP support would be the ideal to aim for (in my case to be able to see song titles on the client display and use the IR remote to pause, change volume). Can you direct me to the hydrogenaudio thread?
Title: Re: UPNP
Post by: Steven on August 12, 2011, 09:32:21 PM
i cant find it - i saw it a few weeks ago - its not foobar specific and was in the main forum. But i dont recall whether it required an changes for me to make. If you find it let me know so i can check it out
Title: Re: UPNP
Post by: joka on August 20, 2011, 07:17:55 PM
Have just found Musicbee. It's great except I cannot get it recognised by my wi-fi player. I am not technical at all. I need an all-in-one solution. Just install my music and sort it throu Musicbee then play it on my computer and my other devices around the home bu tuning in. I want something that works like Windows media but just for my music. If you can great not only for me but for non-techies like me. If not then we have to stay with Windows media or Twonky.
Title: Re: UPNP
Post by: Steven on August 21, 2011, 07:47:36 AM
unless a developer is interested to build a plugin, i cant see myself having the time to do this for quite some time
Title: Re: UPNP
Post by: sovereignty68 on August 06, 2012, 11:21:18 AM
pump this thread. I would like to see UPnP support as well.
Title: Re: UPNP
Post by: jistme on October 05, 2012, 05:50:41 PM
+1

(to use MusicBee as the source, and send music to my Logitech Squeezeboxes)


Title: Re: UPNP
Post by: houston on October 13, 2012, 03:05:30 PM
+1

(Streaming the music stored on my PC to my android)
Title: Re: UPNP
Post by: nicosch on October 28, 2012, 03:53:14 PM
+1

(to use MusicBee as the source, and send music to my Logitech Squeezeboxes)
Title: Re: UPNP
Post by: Steven on October 28, 2012, 05:45:43 PM
there is next to no chance i would be able to do this and the only way i see it happening is if another developer would be interested to create a plugin, although i would need to extend the API if anyone is interested
Title: Re: UPNP
Post by: virual on January 22, 2013, 06:04:57 PM
Just curious, What language is needed to make the plugin? any tutorials on how to make a plugin for musicbee?
Title: Re: UPNP
Post by: Curt on April 01, 2013, 12:53:45 AM
Yes, I wish a UPNP-Streaming-Server for Musicbee, too.

iTunes or Win Media Player or Twonky are really frustrating relative for the perfomance while scanning new files...

Unfortunably, I have any KnowHow to programming this feature under Win7.

Title: Re: UPNP
Post by: V4lve on April 01, 2013, 06:28:10 PM
Have you tried Serviio?  Been looking for a replacement for Firefly for long time and tried all of them.  Now using Serviio for for a week or so on a 15k library and it works pretty well.  Not as fast as Firefly but usable enough.
Title: Re: UPNP
Post by: sambice on July 03, 2013, 09:43:44 AM
Just an FYI +1 for this!

(e.g. I use BubblePNP app for Android, and can push/render playing music sourced from my NAS (stored as FLAC), from my tablet or phone to each other, to XBMC on the laptop/TV setup, to the Xbox.... The only thing missing from the setup being perfect is being able to render it to MusicBee.

Sure, I can push it to XBMC/or Media Center. But I MUCH prefer MusicBee. Also to push to them it uses the hdmi connection to the TV speakers, and I'd have to change the source every time to switch to using the Hi-Fi setup speakers. Just as an outline of why it would be bloody awesome if UPNP was integrated.)
Title: Re: UPNP
Post by: Stockinger on July 05, 2013, 07:47:21 AM
+1

(to use MusicBee as the source, and send music to my Logitech Squeezeboxes)
Title: Re: UPNP
Post by: so_la_la on August 15, 2013, 11:10:48 AM
Is there any way to have MusicBee set up its database on a NAS itself and then to access this database through a Windows 8 (Phone / Surface) or even Android device tthrough a MusicBee app?
That woud be awesome!
Title: Re: UPNP
Post by: Lappro on August 18, 2013, 06:06:39 PM
I am new to the MusicBee community, but I also think UPnP would be a great addition.
I have seen this on the foobar plugin section and it might make adding this funcionality easier: http://www.plutinosoft.com/platinum
This plugin uses it: http://www.foobar2000.org/components/view/foo_upnp
I don't know the details but using the SDK could make the work easier and therefore might bring it within reach.
In case you haven't seen it yet.
Title: Re: UPNP
Post by: poictesme on December 02, 2013, 12:04:45 PM
+1  :-\
Title: DLNA renderer / controller
Post by: mattbaker88 on September 27, 2014, 10:07:57 AM
Would love to see this feature added!
MusicBee is such an amazing bit of software for organizing music. This would be the icing on the cake (for now :D )

Time to donate some more money I think.
Title: Re: UPNP
Post by: Steven on September 27, 2014, 10:45:55 AM
i really would like someone else to develop a plugin for this but given this functionality has been requested repeatedly for the past few years and no one has taken it on board i will have a look at how much effort would be involved.
Its not something i have any experience with and i am not promising i will do this.
Perhaps there is someone willing to do this now?
Or perhaps someone can suggest a third party solution that could be used eg. MB can export an iTunes xml file. Perhaps another application is able to read such files and make the musicbee library accessible using that file
Title: Re: UPNP
Post by: Steven on October 04, 2014, 09:16:56 AM
i have had a look at what is involved with this and have the basics working for musicbee to act as a server so I am going to implement a plugin - probably only for music and not for videos.
However i have a very limited set of renderers to test this against so i expect it wont work for every case as even with the limited set of renderers i am testing against, each seems to have their own differences that need to be handled.
I do have a question for anyone interested in this. For now i am only planning for the plugin to have musicbee act as a server. Is there any good reason for the plugin to also implement rendering? eg. you have a DNLA server located on another machine and want musicbee to make those files accessible/ playable via this protocol
Title: Re: UPNP
Post by: poictesme on October 06, 2014, 11:44:58 AM
;D  THANK YOU SIR   ;D

Seriously, thank you.
I am dangling the carrot of a second donation in front of your tired but wise eyes,
and I strongly urge everybody else who's been pestering you about this issue to
donate to the cause.

I'd be push-streaming to a Pi running raspbmc,
so afaic no need for MB to act as a client.
Title: Re: UPNP
Post by: MichaelP on October 06, 2014, 09:02:02 PM
Very nice, that MB is going DLNA / UPNP  :)

The most important feature for MB is (I think) the distribution of music to clients, witch follows strictly the UPNP / DLNA standard.
So, - I think -Squeezeboxes are outside - good clients, but proprietary and nearly dead in support (I  don´t understand Logitech)

For me, the choice is using High-End Fidelity Equipment and different destinations, i.E. the Network Receiver in Living Room and his speakers  :P
My Library is on a Synology NAS, MB has great features to find, sort and visualize all my music, and now I hope of high Level sound output from Yamaha....  :D :D :D

Good luck und success for implementation and excuse my bad English  :(

Greetings from Monheim, Germany

Michael
Title: Re: UPNP
Post by: vzell on October 08, 2014, 02:17:31 PM
+1  (same setup, but latest Pioneer VXS-924 AV Receiver)
Title: Re: UPNP
Post by: blogonat on October 14, 2014, 08:12:05 PM
i'm so happy about it also, and can be beta testing if needed,
my setup :

RECEIVERS
Denon AVR 3311 with upnp/ariplay capacities
Freebox (internet box) with dlna capacity
Xbox360 / PS3 / PS4 / Wii  :D

SERVER
Musicbee running on windows7 64
REMOTE
Android retune (or musicbeeremote)

and of course, the magic would be to send msuci for MB server to the avr with my android as a remote ;)

Just can't wait for it
Title: Re: UPNP
Post by: Steven on October 21, 2014, 08:15:49 PM
just an update on this. I have completed the Upnp server so that Upnp client applications/ renderers can query and navigate the musicbee library (the known issues i am aware of are using MB from an Xbox or PS3 because they use non-standard protocols and i will need the help of testers for that).

To play to devices I also need to implement a controller. That is in progress but its not straight-forward to implement and according to the developer of the foobar upnp plugin there are a lot of quirks and bugs in upnp rendering devices that will need to be worked around.
Its taking me much longer than i was planning so i am going to put this on hold, probably for a few weeks, and then resume again.

I do have a question - how important is gapless playback when outputing to a Upnp device? I gather very few devices support it natively but it might be possible to implement on the musicbee side. I expect most other applications would have a 0.5/1 second gap between each track - is that true?
Title: Re: UPNP
Post by: blogonat on October 22, 2014, 12:00:14 PM
i do have ps3 + xbox360, so i can test them for you (even if i don't expect to use them as ragulars reveivers for musicbee)
for me, gapless is a great option, but i can deal without it. All the point for me would be to can access to MB library with with android phone/tab as a remote (with a way to order by recently added - retune don't do that... to bad) and send the audio to my avr (actually with airfoil)
I think with your upnp plugin for MB, i can to it directly bubbleupnp on my android phone, seen MB as a upnp server.
good luck with the dev
Title: Re: UPNP
Post by: donjulien on October 23, 2014, 11:48:37 PM
I just deleted a tl;dr post. Let me summarize.

Bravo Steve, for going for the DLNA beast! A wise programmer like you could do for DLNA what you've done for desktop media. And that's good. I imagine a new round of excellent reviews and happy users coming your way.

BUT if you find it easier/better to develop native controllers and renderers, go for it. I imagine the burden to comply with DLNA (done right) is quite heavy.

If you can pull it with
+ renderers and control points in Windows, Android and iOS
+ good multi-room sync (Squeezebox is like 85% there; they claim Sonos is 100%; haven't checked).
+ I'm afraid yes: gapless and even cross-fade are important. I know they're tricky.
You've got me. Even as a customer if you (and/or any other enthusiast who decides to join) decide to charge. My long loved Squeezebox would be gone. I'm afraid support for it dies before a worthy replacement is here.

If DLNA is the way, so be it; it's good to comply with industry standards. But for one, I want a solid audio platform first. Audio, I insist. In my experience, audio and video are 2 different masters, and one cannot serve 2 masters well. Plex is doing the trick in an elegant way for me video-wise.

Whichever way you want to do it, you'll do it well; your fame (and code) precedes you.
Title: Re: UPNP
Post by: Steven on November 09, 2014, 09:54:16 PM
this should be ready in the next couple of days - its done now but i want to give it some more solid testing before making it available.
As mentioned it supports playback to UPnP devices and allows UPnP renderers to browse and play from the MusicBee library and playlists.
It doesnt act as a UPnP renderer as I dont see the need for that but if someone comes up with a good reason i will consider it.
Title: Re: UPNP
Post by: hiccup on November 09, 2014, 10:09:49 PM
Just thinking, would that be maybe be convenient if you would have 2 pc's in your network, both running MusicBee, and then setting up one as 'master', and the other one as 'slave'?
I can imagine having use for that.
Title: Re: UPNP
Post by: Friday on November 10, 2014, 05:26:39 AM
Sorry for the potentially dumb question, but is what you're talking about something that would allow me to use an app on my Android device to play music stored on my PC?  I recently switched back to MediaMonkey from MusicBee to do this.  MediaMonkey is great, but I like MusicBee better.
Title: Re: UPNP
Post by: Zak on November 10, 2014, 06:01:51 AM
...is what you're talking about something that would allow me to use an app on my Android device to play music stored on my PC?
Yes, but the Android app you use for playback would also need to support it.
Title: Re: UPNP
Post by: blogonat on November 10, 2014, 02:05:02 PM
...is what you're talking about something that would allow me to use an app on my Android device to play music stored on my PC?
Yes, but the Android app you use for playback would also need to support it.

Have something in mind about this app Zak ? Bubble upnp ?
Great job on this, can't wait to test it...
Title: Re: UPNP
Post by: Zak on November 10, 2014, 03:00:12 PM
BubbleUPnP will do the job. The built-in Music app on my Galaxy S4 also connects to UPnP sources. At least I think it's built in app - I've tried so many I'm not sure. :/

Annoyingly, the best looking players (GoneMAD, PowerAmp...) don't support playback from UPnP, so I think it will be a trade off between convenience and appearance/features for the foreseeable future. What might suffice - if it exists - is an app that lets you select from a networked source and passes the file(s) to another app to play it.
Title: Re: UPNP
Post by: blogonat on November 10, 2014, 03:22:32 PM
BubbleUPnP will do the job. The built-in Music app on my Galaxy S4 also connects to UPnP sources. At least I think it's built in app - I've tried so many I'm not sure. :/

Annoyingly, the best looking players (GoneMAD, PowerAmp...) don't support playback from UPnP, so I think it will be a trade off between convenience and appearance/features for the foreseeable future. What might suffice - if it exists - is an app that lets you select from a networked source and passes the file(s) to another app to play it.

ok thanks,
isn't "air audio" able to do that ? Not sure at all and can't test it right now.
Title: Re: UPNP
Post by: Zak on November 10, 2014, 05:07:37 PM
Based on its description, AirAudio does the opposite. It streams the music from your Android device to another UPnP receiver, be it a console, AV receiver, television etc.
Title: Re: UPNP
Post by: Steven on November 10, 2014, 06:06:32 PM
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
Title: Re: UPNP
Post by: Steven on November 13, 2014, 10:01:57 PM
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.
Title: Re: UPNP
Post by: Bee-liever on November 13, 2014, 10:51:08 PM
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'
Title: Re: UPNP
Post by: Steven on November 14, 2014, 08:02:14 AM
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?
Title: Re: UPNP
Post by: vzell on November 14, 2014, 09:12:20 AM
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 ?
Title: Re: UPNP
Post by: Bee-liever on November 14, 2014, 10:39:01 AM
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.
Title: Re: UPNP
Post by: Steven on November 14, 2014, 10:51:57 AM
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
Title: Re: UPNP
Post by: blogonat on November 14, 2014, 01:19:33 PM
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 !
Title: Re: UPNP
Post by: Steven on November 14, 2014, 02:03:30 PM
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."
Title: Re: UPNP
Post by: phred on November 14, 2014, 03:24:31 PM
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.
Title: Re: UPNP
Post by: Steven on November 14, 2014, 06:00:12 PM
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
Title: Re: UPNP
Post by: hiccup on November 14, 2014, 06:26:11 PM
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)
Title: Re: UPNP
Post by: Steven on November 14, 2014, 06:31:31 PM
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
Title: Re: UPNP
Post by: phred on November 14, 2014, 06:48:23 PM
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.
Title: Re: UPNP
Post by: Steven on November 14, 2014, 07:58:08 PM
@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
Title: Re: UPNP
Post by: hiccup on November 14, 2014, 08:12:10 PM
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

I already had dsp's, most boxes in the player panel, and 'continuous stream' unchecked.
Only eq. had a slight pre-amp boost, and I had ReplayGain active. I now also unchecked those, but it still gives the same error.
Title: Re: UPNP
Post by: phred on November 14, 2014, 08:14:29 PM
@phred, could you redownload the plugin and then resend me the log again. There is a small chance it might work
No sir.  Same behavior as before.
Error log:  http://www.mediafire.com/view/t4z3xmnhyzq3g8i/UpnpErrorLog.dat
Title: Re: UPNP
Post by: Steven on November 14, 2014, 08:32:06 PM
could you both download the plugin again and re-run. I am not expecting it to be fixed but it has more info for me
Title: Re: UPNP
Post by: phred on November 14, 2014, 08:51:29 PM
could you both download the plugin again and re-run. I am not expecting it to be fixed but it has more info for me
Again (as you expected) no change with the latest download. 
Error log:  https://www.mediafire.com/?t4z3xmnhyzq3g8i

I won't pretend to know what the data in the error log means, but I did notice that the title of the track I tried to play is also now listed and wasn't before.  But perhaps that's just part of your debugging info.

Anyway, thanks for your time and I await further instructions. 

Title: Re: UPNP
Post by: hiccup on November 14, 2014, 08:59:52 PM
could you both download the plugin again and re-run. I am not expecting it to be fixed but it has more info for me

Done, the new log is in the same link as I pm'ed you earlier.
Title: Re: UPNP
Post by: Steven on November 14, 2014, 09:05:15 PM
Done, the new log is in the same link as I pm'ed you earlier.
i've deleted the old one, can you let me know what it is again

@phred, new debug version - same again please
Title: Re: UPNP
Post by: phred on November 14, 2014, 09:28:43 PM
@phred, new debug version - same again please
Error log:  https://www.mediafire.com/?t4z3xmnhyzq3g8i
Title: Re: UPNP
Post by: Steven on November 14, 2014, 09:39:25 PM
@hiccup, link is updated - hopefully this addresses the issue for your device
Title: Re: UPNP
Post by: Steven on November 14, 2014, 09:49:24 PM
@phred, link updated for you as well now.
If everything is ok, i recommend you turn off debug logging as the log will get huge
Title: Re: UPNP
Post by: phred on November 14, 2014, 11:28:31 PM
@phred, link updated for you as well now.
If everything is ok, i recommend you turn off debug logging as the log will get huge
I hate to dash your optimism, Steven, but there's no change with the updated .dll.
Error log: https://www.mediafire.com/?t4z3xmnhyzq3g8i
Title: Re: UPNP
Post by: Steven on November 15, 2014, 08:12:22 AM
i forgot to actually upload the zip - its there now
Title: Re: UPNP
Post by: hiccup on November 15, 2014, 09:05:03 AM
@hiccup, link is updated - hopefully this addresses the issue for your device

I am not able to test this one, since currently my Squeezeboxes aren't 'visible' at all anymore.
But my foobar upnp is also giving problems (remains buffering), so there is probably some problem in my network/LMS/firewall/correct ports, etc.
I'll report back when I have figured out what's wrong.
Title: Re: UPNP
Post by: phred on November 15, 2014, 01:44:50 PM
i forgot to actually upload the zip - its there now
Behavior is as it was.  Still no change.
This time I tried both the generic profile along with the self-created Samsung profile.
Error log: https://www.mediafire.com/?t4z3xmnhyzq3g8i

Title: Re: UPNP
Post by: hiccup on November 15, 2014, 01:56:36 PM
I've got foobar upnp playing to my Squeezebox working again.
But with MB I still get the same "error=BASS_OK".

When I try to play to my Panasonic TV, the TV first displays: "Request to play media was received...", and then "Cannot read file".
And MB then also displays "error=BASS_OK".

A new error log is in the same link I pm'ed you before.

PS
Do you have a suggestion to use either the 'Generic device' or the 'UPnPlay' setting in the plugin?
Title: Re: UPNP
Post by: Steven on November 15, 2014, 02:29:38 PM
@phred, somehow it still doesnt appear you are using the newer version. Here is the link just in case an old one is being used. I also changed some of the debug info so we can be absolutely sure it is the new one:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip

@hiccup, its still trying to transcode the files to LPCM - can you confirm you have musicbee itself set so Replay Gain is off, and no equaliser/ dsp is not enabled. Having said that i honestly cannot see anything wrong with the data being returned by musicbee
Title: Re: UPNP
Post by: hiccup on November 15, 2014, 03:08:36 PM
@hiccup, its still trying to transcode the files to LPCM - can you confirm you have musicbee itself set so Replay Gain is off, and no equaliser/ dsp is not enabled. Having said that i honestly cannot see anything wrong with the data being returned by musicbee

I'm very sure those were all disabled.
I just now even did a completely clean new portable installation, (un)checked all check-marks again, and it gives the exact same errors as before.
Title: Re: UPNP
Post by: Steven on November 15, 2014, 03:12:26 PM
i dont think you are understanding what i am saying. You need to disable replay gain and dsp/ sound effects in musicbee itself - i am not talking about the plugin. The settings you are refering to apply when other players and browsing/ playing from musicbee
Title: Re: UPNP
Post by: hiccup on November 15, 2014, 04:00:00 PM
i dont think you are understanding what i am saying. You need to disable replay gain and dsp/ sound effects in musicbee itself - i am not talking about the plugin. The settings you are refering to apply when other players and browsing/ playing from musicbee

I did understand correctly. With all testing I disabled those within MB itself.
Title: Re: UPNP
Post by: phred on November 15, 2014, 04:04:52 PM
@phred, somehow it still doesnt appear you are using the newer version. Here is the link just in case an old one is being used. I also changed some of the debug info so we can be absolutely sure it is the new one:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip
Downloaded and overwrote the dll with the link referenced and there is no change in the behavior.
Error log:  https://www.mediafire.com/?t4z3xmnhyzq3g8i
Title: Re: UPNP
Post by: Steven on November 15, 2014, 04:15:17 PM
@hiccup, please download again. I made a change that might address the problem. If it does work then also try with continuous output enabled

@phred, thanks - its clearer now what whacky thing is being done - just need to figure out how to work around it
Title: Re: UPNP
Post by: hiccup on November 15, 2014, 04:54:05 PM
This version shows only one difference from before.
Now when I try to play to my SqueezeBox, the display on the SB displays "Connecting..." for a few seconds, and then returns to default state.
(previously my SB display didn't react at all when trying to play from MB)
Another difference is that now MB does not display the error=BASS_OK error in this case. But still there is nothing playing.
(FYI, I am trying several mp3 bitrates and flac files in every testing)

When I tick 'continuous stream', the 'Connecting...' message on my SB does not come up, and MB again displays the 'error=BASS_OK'.

When I try to play to my Panasonic TV, everything is exactly as it was in the previous version.


And one small observation with the previous version:
When I changed the default plugin setting of 'when transcoding the source file data' from 'PCM-16 bit' to 'MP3', I also got the 'Connecting...' message on my SB.

I hope this helps a little bit, and I also updated the error log file link.
Title: Re: UPNP
Post by: phred on November 15, 2014, 04:56:24 PM
@phred, thanks - its clearer now what whacky thing is being done - just need to figure out how to work around it
Leave it to me to challenge you with an issue that's wacky!   :)  Nevertheless, I appreciate your time in trying to solve it and will wait patiently while you try to figure it out.  I know this is not the only thing on your plate, so take your time.

Thanks.
Title: Re: UPNP
Post by: Steven on November 15, 2014, 06:01:00 PM
@phred, link updated for your issue
Title: Re: UPNP
Post by: phred on November 15, 2014, 07:21:12 PM
@phred, link updated for your issue
NAILED IT!!  Works just fine.  I've made a small contribution to your beer fund via PayPal.  Go have a pint on me.

Can I delete the error log?

Thanks very (very!) much.
Title: Re: UPNP
Post by: Steven on November 15, 2014, 07:57:10 PM
Can I delete the error log?
yes and disable logging

@hiccup, it appears other apps have had problems with LPCM streams to SB devices. Would you mind trying foobar with transcoding enforced to LPCM see if it still works?
MB is getting further but the MP3 file has a 703 read error instead of a 713 illegal mime type for the LPCM encoding. Again its a mystery as to what that could be and it might be unsolveable for me unless i am able to find someone who has a device and can use a packet sniffer such as wireshark.
I retested all the apps/devices i have and still working fine for me so i dont think its a new introduced bug
Title: Re: UPNP
Post by: hiccup on November 15, 2014, 08:41:09 PM
When I force foobar to use lpcm, my Panasonic TV will play it fine (after app. 30 sec. of buffering), but my SqueezeBox won't play it at all.
So indeed lpcm seems to be a problem for the SB. But then couldn't transcoding to lpcm just be by-passed like foobar seems to be able to?
Just passing through MP3 and flac as they are would be enough for me.

I never used Wireshark or any of such utilities, but if you're patient, I'm willing to see if I can get that running and be of some help there.

And...  to be sure you won't waste your time looking in wrong directions;
Also be aware that Logitech's Squeezeboxes heavily rely (depend?) on "Logitech Media Server" software. (in the past called SlimServer or SqueezeCenter)
That will have to be installed to get the hardware running and configured. I have no clue however if or how it might interfere during controlling them with 3d party apps such as foobar or MB.
Title: Re: UPNP
Post by: Steven on November 15, 2014, 10:15:24 PM
@hiccup, i've uploaded a new version of the plugin which logs some more info that might help with the "read error" for mp3 files. I wont bother anymore about debugging the LPCM transcoding as it seems its a a squeeze box issue

for people just joining this topic, the instructions are located - i will eventually set up a new plugins topic
http://getmusicbee.com/forum/index.php?topic=800.msg85057#msg85057
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 12:32:52 PM
@hiccup, i've uploaded a new version of the plugin which logs some more info that might help with the "read error" for mp3 files.
New error log uploaded.
Title: Re: UPNP
Post by: Steven on November 16, 2014, 12:45:41 PM
I have an idea now what it could be.
If you have MB running, in your web-browser load this url:
http://169.254.151.249:49382/files/D6F7ABCC5CEFB896p.mpeg
does it play?
the link appears to be on a different sub-node on your network to the SB (192.168.2.52) - I am no expert in these matters so i might be talking rubbush!
i am thinking MB might need to change the network address its listening on/ publishing to eg:
http://192.168.2.52:49382/files/D6F7ABCC5CEFB896p.mpeg
after you give feedback i will need to give you another version to see what network interfaces musicbee is able to see
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 01:15:12 PM
Hm, that's funny. Yep, the url plays the same music in my browser.

192.168.2.52 is probably my Panasonic TV and falls into my routers dhcp range.
My Squeezeboxes have fixed ip's at 192.168.2.21 & 192.168.2.22

My TV still displays: 'request to play media... > Cannot read file'
MB displays error=BASS_OK

My SB displays 'Connecting', displays the correct filename, but doesn't play (and I once observed a very short 'timed-out' message)
MB shows no error, but also doesn't play.

And to be complete, this is some info from Logitech's LMS:

Logitech Media Server Versie: 7.7.4 - 1415167000 @ Wed Nov 5 07:56:16 CUT 2014
Hostnaam: i5
IP-adres van server: 192.168.2.2
HTTP-poortnummer van server: 9000
Besturingssysteem: Windows 8 - NL - cp1252
Platformarchitectuur: 8664
Perl-versie: 5.14.1 - MSWin32-x86-multi-thread
Databaseversie: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Totaalaantal herkende muzieksystemen: 2
Title: Re: UPNP
Post by: Steven on November 16, 2014, 02:00:47 PM
@hiccup, same link as before.
It might work now at least for the TV, but if not send me the new log as it has extra info in it.
If it does work, its possible MB might not respond to changes in the volume control (assuming foobar is able to respond) and i would need to make one further change for that
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 02:11:49 PM
Sorry to say, no changes in behavior at all.
New log upped.
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 02:18:30 PM
PS,
My personal motive is to get my Squeezeboxes playing through MB upnp.
The case of the Panasonic TV is only added as I happen to have it available, and it might help you ironing-out other related problems with the plugin.
So don't spend too much effort on this specific TV case on my account.
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 04:02:53 PM
Ignore this post if you feel it is more about foobar or my confusion about the matter, but I'm posting it in case it might be helpful to you.

With this setting in FB:
(http://i.imgur.com/ivzblJZs.jpg) (http://i.imgur.com/ivzblJZ.png)

mp3 files will play to my Squeezebox, but flac files won't.
When I change 'Decode' from 'always' to 'never', flac files play, but mp3's won't.
Might be semantics, but I don't really understand.
When I select 'always', and also add flac to the exceptions, both play fine.
When I select 'never', and remove both mp3 and flac from exceptions, both play fine.
Title: Re: UPNP
Post by: Steven on November 16, 2014, 04:18:21 PM
i believe the issue is the same for both devices - MB needs to instruct them to use a ip address that is visible to them and that MB is listening on.
I will give you a new version a bit later where for the purpose of this exercise you will be able to configure a specific IP address for MB to use - it will be one of these:
169.254.199.71
192.168.2.2
192.168.74.1
192.168.180.1

foobar has a "debug messages to console option" - if you choose ALL and then View/ Console. It might give some information thats useful to me for which addresses its using before i do the next version

edit:
looking at your log in detail, as far as i can tell it worked with one of your devices on 169.254.199.71
did it definitely not work?
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 04:26:01 PM
foobar has a "debug messages to console option" - if you choose ALL and then View/ Console. It might give some information thats useful to me for which addresses its using before i do the next version

Will do.
What actions on FB would you require me to perform?

Quote
looking at your log in detail, as far as i can tell it worked with one of your devices on 169.254.199.71
did it definitely not work?

I have no clue what's on that IP. I'm only aware of what's happening on 192.168.2.xxx
Title: Re: UPNP
Post by: Steven on November 16, 2014, 05:20:37 PM
play a song to each device
i would think 169.254.199.71 is the SB but the next version i will make the logging clearer for that
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 05:32:03 PM
With FB I played:
mp3 to TV > fine
flac to TV > 'Cannot read file' (edit: I now see that flac itself is not supported by this TV)
mp3 to SB > fine
flac to SB > fine

FB upnp log uploaded to familiar link.
Title: Re: UPNP
Post by: Steven on November 16, 2014, 05:54:32 PM
thanks - that was very helpful. It appears FB is using ip address 192.168.2.2 for both devices. Its not clear at the moment how it figures that out from the list of available network interfaces. For now i will probably just allow you to specify an override in a text file.
Also for the squeezebox its possible it requires special cookies to be set. I will need to further research that point as that is not a Upnp/DLNA requirement
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 05:56:54 PM
Ok. Enjoy the remains of your weekend!
Title: Re: UPNP
Post by: Steven on November 16, 2014, 06:29:21 PM
plugin link is updated
@hiccup, to force a specific ip address to be used, create a file: "UPnPaddress.dat" in the same folder as the log. In it. in your case enter one line
192.168.2.2
This is a temporary measure. Hopefully it will now work for both devices.
Also please send me the log afterwards as it has some extra info
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 07:04:56 PM
create a file: "UPnPaddress.dat" in the same folder as the log. In it. in your case enter one line
192.168.2.2
I did that, and it seems to be working very well.
mp3 to TV > playing well and also showing correct filename
mp3 to SB > playing well and also showing correct filename
flac to SB > playing well and also showing correct filename

Even volume adjustment seems to be working, but a bit erratic. The volume level and mute icon on MB don't always match what really sounds after some fiddling.
On my TV, volume or mute is not adjustable at all by MB, but that's probably some setting or limitation on the TV (it gives a 'volume locked' message)

new error log has been uploaded

Let me know when you want to take this further and have me also try with ReplayGain, gapless, eq etc.

Hats off to you again!
Title: Re: UPNP
Post by: Steven on November 16, 2014, 07:14:53 PM
link is updated
i figured out how to automate the correct IP address - could you rename that text file and restart MB using the new version.
you could try using anything that forces transcoding eg. continuous output is the easiest. It might be the SB works with LPCM and the invalid Mime type error was misleading
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 07:37:09 PM
With this version my TV is not shown or selectable at all in Player > Output preferences.
Trying to play to my SB immediately displays the error: 'Device 'xxx' is not ready for output'

new error log uploaded

Looking at the error log, I see a reference to VMware.
FYI; I do have VMware installed, but I don't have it actively running or ever had MusicBee installed there.
But I have seen a few virtual network adapters referencing to VMware showing in my Windows network properties.
This might be complicating things here?
Title: Re: UPNP
Post by: Steven on November 16, 2014, 07:44:30 PM
link updated with a correction to the ip address detection
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 07:54:35 PM
play to TV: 'Cannot read file', MB displays error=BASS_error
Squeezeboxes are not shown/selectable in MB Player > Output.
error log uploaded
Title: Re: UPNP
Post by: Steven on November 16, 2014, 08:06:18 PM
link updated - it should work this time


for people just joining this topic, the instructions are located at this post - i will eventually set up a new plugins topic
http://getmusicbee.com/forum/index.php?topic=800.msg85057#msg85057
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 08:13:30 PM
Plays to TV fine again.
But both my Squeezeboxes are not visible/selectable in Player > Output
new error log uploaded
Title: Re: UPNP
Post by: Steven on November 16, 2014, 08:40:34 PM
updated again - it had better work this time!
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 08:46:03 PM
If it doesn't, I'll punish myself by emptying this bottle in front of me in a record-breaking time.
Title: Re: UPNP
Post by: hiccup on November 16, 2014, 08:51:16 PM
Bad news.

You will have to empty the bottle.

Cheers!
Title: Re: UPNP
Post by: Steven on November 16, 2014, 08:57:20 PM
dont forget to test using replay gain enabled/ and/or equaliser.
It would be good to confirm the continuous output option separately
Title: Re: UPNP
Post by: hiccup on November 17, 2014, 08:33:34 AM
I started up my PC this morning, and MB does not 'see' the Squeezeboxes anymore.
FB does, and plays well.
new logs from both FB and MB uploaded
Title: Re: UPNP
Post by: Steven on November 17, 2014, 08:52:11 AM
did you try again after FB was working?
Title: Re: UPNP
Post by: hiccup on November 17, 2014, 09:21:31 AM
Yep, several times.
Title: Re: UPNP
Post by: Steven on November 17, 2014, 08:05:38 PM
well it doesnt appear MB received any messages at all from the SB so its a mystery. I have uploaded another version that will hopefully throw more light on that
Title: Re: UPNP
Post by: hiccup on November 17, 2014, 09:16:31 PM
New log uploaded.
Opened MB, SB not visible. Opened FB, SB visible and playing. Closed FB and opened MB again, SB not visible.
Tomorrow I'll restart router, PC etc. That might result in everything working again, but today I left it as it was for the sake of bug-hunting.
Title: Re: UPNP
Post by: Steven on November 17, 2014, 09:45:01 PM
it would be better if you dont reset everything just yet if thats ok
going through the foobar log you sent it appears foobar is detecting it via 127.0.0.1 which is the local pc and not an address MB is listening on.
and looking at yesterday's log, it was via 169.254.151.249 which MB is listening on for your setup
Title: Re: UPNP
Post by: hiccup on November 17, 2014, 09:52:46 PM
No problem, I'll leave everything running as it is. No hurries, take all the time you need.
Title: Re: UPNP
Post by: Steven on November 17, 2014, 09:58:08 PM
i've added 127.0.0.1 at least for now. I am not completely comfortable with that but lets see if it resolves the problem
same link
Title: Re: UPNP
Post by: hiccup on November 17, 2014, 10:15:11 PM
That seems to work. At first MB startup it only saw my wireless attached SB (i5 Eet), after the second startup MB also saw my wired SB (i5 Woon).
On a side-note for now, MP3's are playing well, but flac playback is very bad; silences, ugly noise bursts, etc.
I'll try to give some sensible feedback on this with different files and settings in the coming days. I'll also then try ReplayGain, Continuous stream, etc.
Title: Re: UPNP
Post by: Steven on November 18, 2014, 07:58:37 PM
i've put in some more buffering/concurrency so that should improve things. I'll make it available after a bit more testing.
However I dont see how MB would cause long silences/ noise bursts etc. Normally the rendering device has its own buffering to smooth fluctuations in network traffic. If it still happens i am struggling to see how i could improve it.
Title: Re: UPNP
Post by: hiccup on November 18, 2014, 08:07:59 PM
I haven't been testing today, but the silences/bursts happened only in the last version, where I believe you added 127.0.0.1.
Before that, when it played, it played well.
I'll begin experimenting again probably tomorrow.
Title: Re: UPNP
Post by: Steven on November 18, 2014, 09:24:31 PM
updated musicbee - unzip and replace the existing files where MB is installed:
http://musicbee.niblseed.com/V2_5/MusicBee_Exe_Patched.zip

and updated plugin to be unzipped and placed in the plugins folder:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip

Now has more buffering for sending data over the network.
Also i have made some changes and had confirmation it works with a PS3.
Title: Re: UPNP
Post by: vzell on November 19, 2014, 07:42:50 AM
With the latest version of the plugin from 18.11.2014 all the UPNP/DLNS functionality is gone. "Server Mode" with Fritz!App Media as a controller doesn't see the MusicBee library at all and Pioneer VSX-924 as a player in Preferences-Player-audio player-output is gone too. The last version from 16.11.2014 worked fine in server and controller mode. :-(

I'm using Muscibee 2.5.5435
Title: Re: UPNP
Post by: Steven on November 19, 2014, 08:50:32 AM
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).
Then post a link to the file
Title: Re: UPNP
Post by: hiccup on November 19, 2014, 09:10:24 AM
The first time after installing both updates and restarting my pc and MB, both TV and SB wouldn't play.
It did after first starting up and playing and closing FB once, and then starting MB again.
After following restarts this doesn't seem to happen anymore, and both TV and SB play fine with MB.

Playing FLAC gives the same problem playing to SB. Starting with silence, and then only repeating noise bursts every few periods.
I notice the time indicator on MB going back and forth between 0:00 and 0:01 sec.

I uploaded two new logs.
The first when trying to play MB the first time after restart, and it wouldn't play.
The second as it's working now, with the flac problem.

Title: Re: UPNP
Post by: vzell on November 19, 2014, 11:53:37 AM
I get

19.11.2014 12:35:23; 1 SyncNewPlayState - Stopped,mb=Paused
19.11.2014 12:36:42; 1 GetNetworkAdresseses - id=Local Area Connection,speed=1000000000
19.11.2014 12:36:42; 2 GetNetworkAddresses - 192.168.2.11,dns=True,trans=False
19.11.2014 12:36:42; 3 GetNetworkAdresseses - id=VirtualBox Host-Only Network,speed=100000000
19.11.2014 12:36:42; 4 GetNetworkAddresses - 169.254.77.107,dns=False,trans=False
19.11.2014 12:36:42; 5 GetNetworkAdresseses - id=Loopback Pseudo-Interface 1,speed=1073741824
19.11.2014 12:36:42; 6 GetNetworkAddresses - 127.0.0.1,dns=False,trans=False

and the following popup after replacing the upnp dll with the latest one

(http://i.imgur.com/5a8cvbg.jpg)

I had my Pioneer VSX-924 as the output device. When switching to DirectSound Output and restarting I get these additional lines in the logfile

19.11.2014 12:44:06; 1 GetNetworkAdresseses - id=Local Area Connection,speed=1000000000
19.11.2014 12:44:06; 2 GetNetworkAddresses - 192.168.2.11,dns=True,trans=False
19.11.2014 12:44:06; 3 GetNetworkAdresseses - id=VirtualBox Host-Only Network,speed=100000000
19.11.2014 12:44:06; 4 GetNetworkAddresses - 169.254.77.107,dns=False,trans=False
19.11.2014 12:44:06; 5 GetNetworkAdresseses - id=Loopback Pseudo-Interface 1,speed=1073741824
19.11.2014 12:44:06; 6 GetNetworkAddresses - 127.0.0.1,dns=False,trans=False

but as already noted in my last message no UPNP/DLNA functionality at all
Title: Re: UPNP
Post by: vzell on November 19, 2014, 11:58:11 AM
And this is the output with the plugin from 16.11.2014:
Code
19.11.2014 12:35:23; 1 SyncNewPlayState - Stopped,mb=Paused
19.11.2014 12:36:42; 1 GetNetworkAdresseses - id=Local Area Connection,speed=1000000000
19.11.2014 12:36:42; 2 GetNetworkAddresses - 192.168.2.11,dns=True,trans=False
19.11.2014 12:36:42; 3 GetNetworkAdresseses - id=VirtualBox Host-Only Network,speed=100000000
19.11.2014 12:36:42; 4 GetNetworkAddresses - 169.254.77.107,dns=False,trans=False
19.11.2014 12:36:42; 5 GetNetworkAdresseses - id=Loopback Pseudo-Interface 1,speed=1073741824
19.11.2014 12:36:42; 6 GetNetworkAddresses - 127.0.0.1,dns=False,trans=False
19.11.2014 12:44:06; 1 GetNetworkAdresseses - id=Local Area Connection,speed=1000000000
19.11.2014 12:44:06; 2 GetNetworkAddresses - 192.168.2.11,dns=True,trans=False
19.11.2014 12:44:06; 3 GetNetworkAdresseses - id=VirtualBox Host-Only Network,speed=100000000
19.11.2014 12:44:06; 4 GetNetworkAddresses - 169.254.77.107,dns=False,trans=False
19.11.2014 12:44:06; 5 GetNetworkAdresseses - id=Loopback Pseudo-Interface 1,speed=1073741824
19.11.2014 12:44:06; 6 GetNetworkAddresses - 127.0.0.1,dns=False,trans=False
19.11.2014 12:55:24; 1 ProcessMessage - device 'uuid:44243a99-7446-46f5-867d-3074979b467c:Xbox-SystemOS',valid=True
19.11.2014 12:55:25; 2 ProcessMessage - device 'uuid:5F9EC1B3-ED59-79BB-4530-745e1c7901e3:VSX-924',valid=True
19.11.2014 12:55:28; 3 ProcessRequest:Exception - Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt)
   at MusicBeePlugin.Plugin.UpnpService.ProceedEventSubcribe(HttpRequest request)
   at MusicBeePlugin.Plugin.HttpServer.ProcessRequest(Object parameters)
19.11.2014 12:55:28; 4 ProcessRequest:Exception - Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt)
   at MusicBeePlugin.Plugin.UpnpService.ProceedEventSubcribe(HttpRequest request)
   at MusicBeePlugin.Plugin.HttpServer.ProcessRequest(Object parameters)
19.11.2014 12:55:28; 5 ProcessRequest:Exception - Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt)
   at MusicBeePlugin.Plugin.UpnpService.ProceedEventSubcribe(HttpRequest request)
   at MusicBeePlugin.Plugin.HttpServer.ProcessRequest(Object parameters)
19.11.2014 12:56:50; 6 Activate - 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/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,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/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/m4a:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-caf:*,http-get:*:audio/x-aiff:*,http-get:*:audio/aiff:*,http-get:*:audio/x-mp4:*,http-get:*:audio/dsd:*,http-get:*:audio/x-dsd:*
19.11.2014 12:56:51; 7 PostSoapRequest - 500,send=POST /AVTransport/ctrl HTTP/1.1
Host: 192.168.2.31:8080
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Content-Length: 288

<?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:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:Stop></s:Body></s:Envelope>
19.11.2014 12:56:54; 8 Play - D:\media\music\T. Rex\Greatest Hits\CD1\02 Get It On.mp3
19.11.2014 12:56:57; 9 StateTimer - Loading,old=Stopped
19.11.2014 12:56:57; 10 GetLibraryFile - request=GET,url=D:\media\music\T. Rex\Greatest Hits\CD1\02 Get It On.mp3
19.11.2014 12:57:00; 11 StateTimer - Playing,old=Loading
19.11.2014 12:57:10; 12 GetLibraryFile - exitcode=10054, playtime=12291,url=D:\media\music\T. Rex\Greatest Hits\CD1\02 Get It On.mp3
Title: Re: UPNP
Post by: Steven on November 19, 2014, 06:59:06 PM
@vzell, the plugin link is updated to address the number parsing issue
@hiccup, the log looks completely normal. My only suggestion is as an experiment to force encoding to PCM (using continious output or alternatively replay gain enabled in musicbee itself and the flac song has a replay gain value) as see what happens. As to initially not seeing the device i have an idea what it might be but if it was the case it would take foobar 30 seconds or so before it can see the device. Is that the case?
Title: Re: UPNP
Post by: hiccup on November 19, 2014, 08:00:28 PM
I can't remember for sure, but I don't believe FB took time to find the players. I wouldn't worry about that for now since I am not able to replicate that behavior at the moment.

I uploaded two new logs.
One is called 'erratic', since I kind of erratically tried several settings, but none of them giving any improvement, and all the earlier mentioned errors.
The other one is one with a shorter more thought-through exercise: I set continuous streaming to 'off', set MB to use smart gain, then first played a flac with ReplayGain value, and then the same flac song without RG value.
The one with RG did not play at all, and the one without RG played (with silence/noise problem though)

edit,
I'm loosing my mind, now suddenly flac is playing well without any stutters.
....unless I set MB to use Smart Gain, then nothing plays anymore, without any errors displaying. (error log #3 added... )

Can you also see my plugin preferences settings in the logs? I'd hate it if I complicate stuff because of settings I changed there.
When my head is a bit clearer then tonight I'll see if I can think of some systematic testing and feedback. I'm getting a bit to confused now.
Title: Re: UPNP
Post by: Steven on November 19, 2014, 08:26:55 PM
i forgot that you were having problems before with LPCM data being played so there is no point to that test as it wont work in your case - the player strangely reports an "Illegal mime type" error even though it reports LPCM as a supported format.
I was just trying to determine if it is something specific about flac files causing the weird playback. I am pretty close to giving up for your setup but i will do one last thing - could you play a flac file in foobar and send me the foobar log
Title: Re: UPNP
Post by: vzell on November 20, 2014, 07:24:08 AM
@vzell, the plugin link is updated to address the number parsing issue
@hiccup, the log looks completely normal. My only suggestion is as an experiment to force encoding to PCM (using continious output or alternatively replay gain enabled in musicbee itself and the flac song has a replay gain value) as see what happens. As to initially not seeing the device i have an idea what it might be but if it was the case it would take foobar 30 seconds or so before it can see the device. Is that the case?


Still the same problem with the latest version (mb_Upnp.dll ?213504?19.11.14?19:54)

20.11.2014 08:22:20; 1 GetNetworkAdresseses - id=Local Area Connection,speed=1000000000
20.11.2014 08:22:20; 2 GetNetworkAddresses - 192.168.2.11,dns=True,trans=False
20.11.2014 08:22:20; 3 GetNetworkAdresseses - id=VirtualBox Host-Only Network,speed=100000000
20.11.2014 08:22:20; 4 GetNetworkAddresses - 169.254.77.107,dns=False,trans=False
20.11.2014 08:22:20; 5 GetNetworkAdresseses - id=Loopback Pseudo-Interface 1,speed=1073741824
20.11.2014 08:22:20; 6 GetNetworkAddresses - 127.0.0.1,dns=False,trans=False
Title: Re: UPNP
Post by: Steven on November 20, 2014, 07:40:50 AM
@vzell, the plugin is receiving no messages from the device. I cant help any further in your case
Title: Re: UPNP
Post by: vzell on November 20, 2014, 07:47:06 AM
But how comes that the version from 16.11.2014 works fine ?
Title: Re: UPNP
Post by: hiccup on November 20, 2014, 08:50:31 AM
could you play a flac file in foobar and send me the foobar log

Do you require specific settings in FB when I test this?

(http://i.imgur.com/164Z3ibl.jpg) (http://i.imgur.com/164Z3ib.png)
Title: Re: UPNP
Post by: Steven on November 20, 2014, 09:09:12 AM
But how comes that the version from 16.11.2014 works fine ?
please redownload all the files

unzip and replace the existing files where MB is installed:
http://musicbee.niblseed.com/V2_5/MusicBee_Exe_Patched.zip

and updated plugin to be unzipped and placed in the plugins folder:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip
Title: Re: UPNP
Post by: hiccup on November 20, 2014, 09:09:37 AM
What I don't understand, with this settings:

(http://i.imgur.com/1zvljncs.jpg) (http://i.imgur.com/1zvljnc.png)

shouldn't MB transcode flac files to mp3 on the fly, and then shouldn't lpcm be any issue at all?
If we can't get flac to work, I would be happy to have flacs transcoded to mp3 on the fly.

fyi,
With this setting flac does not play, but there are no errors displaying, no silence/bursts, but to my slight surprise the Squeezebox is displaying the correct file info on it's display.
Title: Re: UPNP
Post by: hiccup on November 20, 2014, 09:10:33 AM
Will do, probably tonight or tomorrow.
Cheers.
Title: Re: UPNP
Post by: Steven on November 20, 2014, 09:15:10 AM
fyi,
With this setting flac does not play, but there are no errors displaying, no silence/bursts, but to my slight surprise the Squeezebox is displaying the correct file info on it's display.
in your logs, you had replay gain enabled - some files had replay gain tags and were being transcoded and some didnt and played. So for the purpose of the test you need to make sure replay gain is disabled in MB. Transcoding to MP3 would probably work though
Title: Re: UPNP
Post by: Bee-liever on November 20, 2014, 10:50:18 AM
What I don't understand, with this settings:

(http://i.imgur.com/1zvljncs.jpg) (http://i.imgur.com/1zvljnc.png)

@ hiccup
I noticed in your settings, you have your device rendering settings set at 44100. The Squeezebox Classic supports 44100 and 48000 Hz and 24bit.
I found when testing for the PS3, that if I had my settings locked at 44100, than FLAC files wouldn't play.  Changed the range 44100 to 48000 and all FLAC's (except the 24/96 ones) worked.  Put the full PS3 range in, 44100 to 176400, and my 24/96 files were playable too.

Maybe this setting needs to be changed for you as well.

edited for typo  ::)
Title: Re: UPNP
Post by: hiccup on November 20, 2014, 11:23:05 AM
Wow, thank you!

That indeed helps. Without using RG, flac is now playing indeed!
I don't understand though, the flac file is 44100, and also I set the MB plugin to 44100.

Probably later today I will start experimenting more, then using the new versions Steven uploaded today.
Thanks to you we might be making some good progress here!
Title: Re: UPNP
Post by: Bee-liever on November 20, 2014, 11:30:12 AM
your 41000 is a typo?

doh!  yes it was
post edited   :)

I don't understand though, the flac file is 44100, and also I set the MB plugin to 44100. (your 41000 is a typo?)

since FLAC support is native for Squeezebox, it might only accept them at 48kHz?
Title: Re: UPNP
Post by: Steven on November 20, 2014, 11:43:41 AM
@bee-liever, in your case because the PS3 doesnt support flac then transcoding will be applied by the plugin and hence the transcode settings kick in
@hiccup, in your case the flac file is sent as a raw file for the device itself to decode and the transcode settings shouldnt make any difference unless the sample rate of the flac file exceeds the configured min/max value in the device capabilities section. But in that case as with RG, trancoding to LPCM (or what ever the transcode format is) will apply
Title: Re: UPNP
Post by: vzell on November 20, 2014, 12:07:50 PM
But how comes that the version from 16.11.2014 works fine ?
please redownload all the files

unzip and replace the existing files where MB is installed:
http://musicbee.niblseed.com/V2_5/MusicBee_Exe_Patched.zip

and updated plugin to be unzipped and placed in the plugins folder:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip


Now I get one more line, but still nothing works :-(

20.11.2014 13:05:09; 1 GetNetworkAdresseses - id=Local Area Connection,speed=1000000000
20.11.2014 13:05:09; 2 GetNetworkAddresses - 192.168.2.11,dns=True,trans=False
20.11.2014 13:05:09; 3 GetNetworkAdresseses - id=VirtualBox Host-Only Network,speed=100000000
20.11.2014 13:05:09; 4 GetNetworkAddresses - 169.254.77.107,dns=False,trans=False
20.11.2014 13:05:09; 5 GetNetworkAdresseses - id=Loopback Pseudo-Interface 1,speed=1073741824
20.11.2014 13:05:09; 6 GetNetworkAddresses - 127.0.0.1,dns=False,trans=False
20.11.2014 13:05:09; 7 Initialise - Object reference not set to an instance of an object.
Title: Re: UPNP
Post by: Steven on November 20, 2014, 12:31:31 PM
@vzell, redownload the plugin now
Title: Re: UPNP
Post by: Bee-liever on November 20, 2014, 01:19:26 PM
@bee-liever, in your case because the PS3 doesnt support flac then transcoding will be applied by the plugin and hence the transcode settings kick in

Yes, that's how it is now.  When you/we started out getting the PS3 settings to work, I had to set the device sample rate to 48kHz for the PS3 to not show "unsupported format" for normal flac files, but 24/96 flac still didn't show.  I then searched for the PS3 specs and found the upper limit was 176400, set the device properties to match, and the 24/96 files were recognised as well.

As you were still working on Squeezebox problems, I thought that a similar change may not yet have taken place for those circumstances. hiccup reporting that changing those settings with RG off did make flac files start playing for him sort of suggests this could be the case.
Title: Re: UPNP
Post by: vzell on November 20, 2014, 02:02:33 PM
@vzell, redownload the plugin now

Yap...now it works again :-)

20.11.2014 15:01:25; 1 GetNetworkAdresseses - id=Local Area Connection,speed=1000000000
20.11.2014 15:01:25; 2 GetNetworkAddresses - 192.168.2.11,dns=True,trans=False
20.11.2014 15:01:25; 3 GetNetworkAdresseses - id=VirtualBox Host-Only Network,speed=100000000
20.11.2014 15:01:25; 4 GetNetworkAddresses - 169.254.77.107,dns=False,trans=False
20.11.2014 15:01:25; 5 GetNetworkAdresseses - id=Loopback Pseudo-Interface 1,speed=1073741824
20.11.2014 15:01:25; 6 GetNetworkAddresses - http://192.168.2.11:49382
20.11.2014 15:01:25; 7 ProcessMessage - device 'uuid:5F9EC1B3-ED59-79BB-4530-745e1c7901e3:VSX-924',valid=True
20.11.2014 15:01:25; 8 Activate - VSX-924: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/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,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/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/m4a:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-caf:*,http-get:*:audio/x-aiff:*,http-get:*:audio/aiff:*,http-get:*:audio/x-mp4:*,http-get:*:audio/dsd:*,http-get:*:audio/x-dsd:*
20.11.2014 15:01:50; 9 Play - D:\media\music\Suzi Quatro\The Wild One  The Greatest Hits\11 Roxy Roller.mp3
20.11.2014 15:01:51; 10 GetLibraryFile - request=GET,url=D:\media\music\Suzi Quatro\The Wild One  The Greatest Hits\11 Roxy Roller.mp3
20.11.2014 15:01:51; 11 StateTimer - Loading,old=Stopped
20.11.2014 15:01:54; 12 StateTimer - Playing,old=Loading
Title: Re: UPNP
Post by: vzell on November 20, 2014, 02:03:33 PM
Yap...now it works again :-)

What was the problem ?

By the way ...thanks a lot
Title: Re: UPNP
Post by: hiccup on November 20, 2014, 09:41:07 PM
Tried again with latest updates.
(and set 'device rendering capabilities' from 22050 to 48000 to be sure)

Back to the old flac problems.
Flac won't play. Only silence/noise bursts.
foobar plays the same file without any problem.
Tried again with MB, still the same problem.

In my testing efforts, once even foobar didn't play anymore after some unsuccessful tries with MB, and had to restart my pc to get it playing again.

new logs from fb & mb uploaded
Title: Re: UPNP
Post by: Steven on November 20, 2014, 09:45:49 PM
@hiccup, i am really confused by your comments from earlier where you were saying the flac files played ok. What that because you forced transcoding to MP3?

for the foobar log, it says it sending a flac file but the file size is: 4,476,904 bytes
for D:\foobar library temp\Glenn Gould - 1 - Variation - Flac - no RG.flac
is that the correct file size for that file? It seems more like the size i would expect for a MP3 file
Title: Re: UPNP
Post by: hiccup on November 20, 2014, 10:03:27 PM
I'm even more confused (and probably frustrated) than you.
It once played with previous versions after Beeliever's suggestions about device capabilities bitrate range.
Now it doesn't, trying out the same and other settings.
Also at one moment I noticed MB had 'smart gain' activated again, while I was pretty certain I had disabled it before.

Maybe it would be better if I first take a vacation, see a shrink, start testing all over again, and only re-appear in this topic when I found something that makes better sense and is repetitively reproducible.

I'll let you know when that moment arrived. Thanks for all your efforts up until know.
Title: Re: UPNP
Post by: hiccup on November 20, 2014, 10:06:25 PM
for the foobar log, it says it sending a flac file but the file size is: 4,476,904 bytes
for D:\foobar library temp\Glenn Gould - 1 - Variation - Flac - no RG.flac
is that the correct file size for that file? It seems more like the size i would expect for a MP3 file

It's correct.
Especially for this testing purposes I used a 1:03 track, and made copies as flac with, and without RG, and MP3 with, and without RG.

Hey, let's have some short musical comfort during this hard work, I uploaded the file to the familiar link.
(and maybe a little bit for the purpose of when you have doubts about the quality of the file....)
Title: Re: UPNP
Post by: Steven on November 21, 2014, 06:26:56 PM
@hiccup, hopefully this update to MusicBeeBass.dll will address the issue of sound chopping for your environment
http://musicbee.niblseed.com/V2_5/MusicBee_Exe_Patched.zip

as to not seeing the device, the only thing i can suggest is to give it 30 seconds or so as sometimes the protocol can take a little while.
If you do find it still doesnt see the devices without using foobar first i will need to put in some more debug code but i dont see the foobar plugin doing anything special (as much as i can tell from whats logged)
As to transcoding to LPCM or WAV, apparently it is the case its not supported which is quite astonishing and at least LPCM is a DLNA requirement, so you would need to set your transcode settings to MP3 if you wanted to use replay gain/ equaliser etc
Title: Re: UPNP
Post by: hiccup on November 21, 2014, 08:24:11 PM
@hiccup, hopefully this update to MusicBeeBass.dll will address the issue of sound chopping for your environment

Yes!
Flac is now playing indeed.
I still have some unexplainable things happening, but I will see if I can pinpoint those later on.

For now I have two observations and one question:

1.
I mentioned before that I suspected that MB had changed ReplayGain setting from 'off' to 'on' by itself.
I now know what happened. After your suspicion it was still on (while it wasn't), I clicked on 'off' again from the drop down 'Controls' menu to be very certain. But what happens then, is when clicking 'off' again, that closes the drop down menu, but invisibly has changed the setting to 'Smart Gain'. I assume that's probably behavior that should be changed?

2.
A flac file with no ReplayGain values plays fine, but an identical copy of that track, but with RG values calculated won't play and gives the silence/noise burst error. And this happens when the MB RG playback setting is set to 'off'. So somehow RG/transcoding seems to be forced even by only having RG tagfields filled-in.

And a question:
I still have some other unexplainable errors in this area that are difficult to repeat.
Could that maybe be due to the fact that I have installed MB portable on a drive that is encrypted, and is manually attached after Windows has started up completely?
Title: Re: UPNP
Post by: Steven on November 22, 2014, 10:14:02 AM
1. is fixed for the next v2.5 update
2, i really cant see how it wouldnt work (other than you no realising Smart Gain was enabled by point 1). The plugin uses the current Replay Gain mode at the time playback starts for the track. If replay gain is on in musicbee itself and the song has track or album gain values then it will be transcoded. If replay gain is off or the song has no gain values then that by itself wont trigger transcoding. Other things that might trigger transcoding include the sample rate of the track exceeding the configured sample rate range of the device, forced trancoding because the low bandwidth option is ticked, equaliser and/or dsp being enabled. Continuous output option being enabled
3. you will need to explain what the issues were and are they still happening with the latest version
Title: Re: UPNP
Post by: hiccup on November 22, 2014, 11:27:13 AM
2, i really cant see how it wouldnt work (other than you no realising Smart Gain was enabled by point 1). The plugin uses the current Replay Gain mode at the time playback starts for the track. If replay gain is on in musicbee itself and the song has track or album gain values then it will be transcoded. If replay gain is off or the song has no gain values then that by itself wont trigger transcoding. Other things that might trigger transcoding include the sample rate of the track exceeding the configured sample rate range of the device, forced trancoding because the low bandwidth option is ticked, equaliser and/or dsp being enabled. Continuous output option being enabled

And yet it does somehow. My previous statement about flac with rg values (often) not playing is still 100% correct. (but not always, see below)
I have had all the settings and tick boxes as you required them. Only during 1 test of the dozens I have done by now, RG was accidentally on, as I explained to you.

Quote
3. you will need to explain what the issues were and are they still happening with the latest version

I can only do that when I can put it in wordings describing performed actions that might make some sense to you.
Currently I can only say, sometimes MB won't play flac at all, sometimes also foobar won't play anymore after using MB, sometimes MB will play  flac with rg values, sometimes not. Sometimes MB will play a flac without RG, but not an identical but differently named file.
To me it feels like maybe somewhere some buffer is filled or overflowed, or maybe some process held hostage by another part of an application.
I have no clue.
I think it is not sensible to burden you with more error logs or 'not workings' before I get some better idea of what and when this exactly happens.
Title: Re: UPNP
Post by: Bee-liever on November 22, 2014, 11:31:14 AM
@ hiccup
MB and foo are not using the same port?
Title: Re: UPNP
Post by: hiccup on November 22, 2014, 11:48:14 AM
@ hiccup
MB and foo are not using the same port?

No, they are set differently, but I also never have them active at the same time, I always close one before I try the other.
As I mentioned somewhere before, what might very well be the complicating and hindering factor here, is that to use the Squeezeboxes at all, Logitech Media Server has to be started and running in the background. But I have no insight in the exact workings and possible influence that might have on these problems. Hopefully some other Squeezebox users will step in with other insights and feedback.
Title: Re: UPNP
Post by: Steven on November 22, 2014, 11:59:13 AM
could you run using this version (not the usual link):
http://www.mediafire.com/download/gl5hncldo3lzqfq/mb_Upnp.zip

it will add info to the log to see what is triggering the transcoding
Title: Re: UPNP
Post by: hiccup on November 22, 2014, 12:59:33 PM
I ran it again.
First, (with my pc have had running for a long time and having done lots of experimenting) I played flac, with, and flac without rg values. Both played fine. (while at that moment foobar wasn't playing any files at all anymore)
Then I restarted my computer, and tried to play mb again. mp3's played fine, but flacs (with or without rg values) didn't play at all.

edit,
Now, a couple of minutes later, just before wanting to post this and check mb one more time, now flac without rg values play, but flac with rg values won't.
(during this testing fb has not been started up once)

I uploaded the error log from before 'edit', and a second one including what is happening now. Hopefully this is going to give some clues.
Title: Re: UPNP
Post by: Steven on November 22, 2014, 01:30:28 PM
there were a couple of Network changed events while the plugin was running so i assume that would not be when you rebooted your PC and in those cases there was a new IP address "10.3.0.1" in the active list of network addresses that was the primary address. Perhaps you know what that address might be?
I dont see any cases of transcoding or failing to play. So i guess in the cases where it failed to play it was because MB hadnt received any message to activate the device at that point in time. I have added some extra logging to confirm that piece of information
Title: Re: UPNP
Post by: hiccup on November 22, 2014, 03:13:27 PM
I am not aware of 10.3.0.1, but some googling points to Cisco and/or VMware.
The cable modem behind my router/firewall is a Cisco, but in it's settings I see no 10.x.x.x anywhere.
As I mentioned before, I do have VMware installed on my PC, but not running at startup. Yet even-though in the background VMware processes are running. I once read that is known behavior of VMware that not everybody is happy about.


1. MB played all formats with no problems.
2. Restarted PC, started MB, but I forgot to first start LMS.
3. Started LMS, started MB again, mp3 plays, no flacs play.
4. Closed MB
5. Waited 5 minutes started MB, everything plays fine.
MB log uploaded

6. foobar won't play at all (only "Connecting" showing on SB display)
7. Restarted PC
8. foobar played flac
foobar log uploaded

9. MB won't play flac
10. Waited five minutes
11. restarted MB
12. flac without rg value plays, flac with rg value doesn't. (silence/noise bursts)
additional error log on steps 9-12 uploaded


Next week I have a cleanly installed laptop available.
I'll see how that one behaves with the same testing, without having VMware, foobar, etc. etc. installed.
Title: Re: UPNP
Post by: Steven on November 22, 2014, 03:25:53 PM
i dont see any log for steps 1-5

edit:
i'm sorry hiccup but i am spending way too much time on this and there really isnt anything that i can see that explains the behavior you experience.
In all cases there is no transcoding being done, so I cannot see how the RG version of the file has anything to do with musicbee ie. MB is just copying the file as any file to the device
Title: Re: UPNP
Post by: hiccup on November 22, 2014, 03:47:44 PM
No problem. Let's leave it for now. I believe we both spend too much time on this.
Hopefully all this effort invested also helped you and other potential users of this plugin.

If I get better and more consistent results on the clean installed laptop anytime soon, I'll let you know.
Title: Re: UPNP
Post by: Steven on November 22, 2014, 07:15:43 PM
the change i made for musicbeebass.dll should have been enough but i have made one further change that might help:
http://www.mediafire.com/download/y8pc4vt55ipga3d/MusicBeeBass.zip
also the plugin itself is updated to log something to check a condition i am assuming is true
Title: Re: UPNP
Post by: Boile on November 23, 2014, 06:41:25 AM
Hi!
Sorry for my bad English!
Server Mode is ok
as Controller Mode not  (with WMP and Media Monkey on Win 8.1 works)
My device is Onkyo TX-8050 and appears under Output.
I get the message: Device "TX 8050" is not ready for output

Please can you help me?
MusicBee is the best

23.11.2014 07:39:13; 1 GetNetworkAdresseses - id=Ethernet,speed=1000000000
23.11.2014 07:39:13; 2 GetNetworkAddresses - 192.168.0.2,dns=True,trans=False
23.11.2014 07:39:13; 3 GetNetworkAdresseses - id=Loopback Pseudo-Interface 1,speed=1073741824
23.11.2014 07:39:13; 4 GetNetworkAddresses - 127.0.0.1,dns=False,trans=False
23.11.2014 07:39:13; 5 GetNetworkAddresses -
23.11.2014 07:39:13; 6 ProcessMessage - device '
23.11.2014 07:39:13; 7 Activate - TX-8050:http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=1: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/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMALSL,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/wav:*,
23.11.2014 07:39:13; 8 Activate:True - Der Index war außerhalb des Arraybereichs.
23.11.2014 07:39:14; 9 Browse - 0,BrowseDirectChildren,0,1,sort=

Title: Re: UPNP
Post by: Steven on November 23, 2014, 08:48:23 AM
@Boile, you appear to be using an older version. Before i can investigate further can you use the latest version and send me the log if it still happens
unzip and place in the Plugins folder:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip

unzip and replace the existing musicbee application files:
http://musicbee.niblseed.com/V2_5/MusicBee_Exe_Patched.zip
Title: Re: UPNP
Post by: hiccup on November 23, 2014, 09:33:20 AM
On a clean pc, without VMware or foobar etc., I installed the same versions of MB/Bass/UPnP plugin/LMS as I have been testing with on my main system last days.

That new system gave the exact same behavior and errors as my main system, so it's safe to assume VMware and foobar play no role in the current problems I am experiencing.

1. started pc.
2. played mp3 and flac without rg values. mp3 played, flac didn't (silence/noise bursts)
3. restarted mb couple of times, same problem.
4. waited couple of minutes
5. started mb, both flacs play fine

error log uploaded

This is replicable. I also tried to start up this new pc and LMS, and then wait 5 minutes before starting mb, but that makes no difference.
So it seems I have to start mb, errors occur, close mb, wait a couple of minutes, restart mb, and then it plays.


After this I tested some more, with comparable results.
But with one difference, at the latest try flac w/o rg values played, flac with rg values did not.

You can find that occurrence at the end of the second, extended log I also uploaded, with the last two flac playings being what I just described.

Well at least now I can get it playing when following these steps and some patience.
Title: Re: UPNP
Post by: Steven on November 23, 2014, 09:40:19 AM
the change i made for musicbeebass.dll should have been enough but i have made one further change that might help:
http://www.mediafire.com/download/y8pc4vt55ipga3d/MusicBeeBass.zip
also the plugin itself is updated to log something to check a condition i am assuming is true
did you use this version?
Title: Re: UPNP
Post by: hiccup on November 23, 2014, 10:43:58 AM
did you use this version?
I'm pretty sure I did.
The created date gives no clue (march 19 2014), but size is 105.472 bytes.
Correct?
Title: Re: UPNP
Post by: Steven on November 23, 2014, 11:57:49 AM
yes thats correct. I'll leave it at that unless i discover something new about sending data over sockets
Title: Re: UPNP
Post by: Boile on November 23, 2014, 12:16:55 PM
Hi Steven!
I used already the newest version but i replace now the old one!
Here you are.

3; 1 Initialise - 23.11.2014 13:11:49
49; 2 GetNetworkAddresses - 192.168.0.2,dns=True,name=Ethernet,speed=1000000000
49; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
49; 4 GetNetworkAddresses - http://192.168.0.2:49382
284; 5 ProcessMessage 192.168.0.9 - device 'uuid:14b0ad7d-b5ad-7db9-6ca4-7d09b5b9bc05:TX-8050',valid=True
306; 6 Activate - TX-8050:http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=1: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/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMALSL,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/wav:*,
310; 7 Activate:True - Der Index war außerhalb des Arraybereichs.
1115; 8 Browse - 0,BrowseDirectChildren,0,1,sort=
Title: Re: UPNP
Post by: Steven on November 23, 2014, 12:24:08 PM
this should fix that error - unzip and replace the existing plugin dll
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip
Title: Re: UPNP
Post by: Boile on November 23, 2014, 12:36:12 PM
Hi!
Yes, it played 5 sec, then the Volume Button go alone left (faded out)!
On next Start i get the message : Unable to start playback (error=BASS_OK)
Title: Re: UPNP
Post by: Boile on November 23, 2014, 12:37:34 PM
Sorry, the error log:
3; 1 Initialise - 23.11.2014 13:31:24
21; 2 GetNetworkAddresses - 192.168.0.2,dns=True,name=Ethernet,speed=1000000000
21; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
22; 4 GetNetworkAddresses - http://192.168.0.2:49382
361; 5 ProcessMessage 192.168.0.9 - device 'uuid:14b0ad7d-b5ad-7db9-6ca4-7d09b5b9bc05:TX-8050',valid=True
418; 6 Activate - TX-8050:http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=1: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/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMALSL,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/wav:*,
1078; 7 Browse - 0,BrowseDirectChildren,0,1,sort=
11120; 8 Play - stream (http://192.168.0.2:49382/encode/continuousstream-1342177276.L16)
11533; 9 PostSoapRequest - 500,send=POST /upnp_control_2 HTTP/1.1
Host: 192.168.0.9:8888
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Content-Length: 304

<?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:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>
11534; 10 SoapRequest:Play:urn:schemas-upnp-org:service:AVTransport:1:InstanceID=0,Speed=1 - <?xml version="1.0" encoding="utf-8"?><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>705</errorCode><errorDescription>Transport is locked</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
11534; 11 Play - status=500,url=http://192.168.0.2:49382/encode/continuousstream-1342177276.L16
17722; 12 Play - stream (http://192.168.0.2:49382/encode/continuousstream-1342177268.L16)
18136; 13 PostSoapRequest - 500,send=POST /upnp_control_2 HTTP/1.1
Host: 192.168.0.9:8888
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Content-Length: 304

<?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:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>
18137; 14 SoapRequest:Play:urn:schemas-upnp-org:service:AVTransport:1:InstanceID=0,Speed=1 - <?xml version="1.0" encoding="utf-8"?><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>705</errorCode><errorDescription>Transport is locked</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
18137; 15 Play - status=500,url=http://192.168.0.2:49382/encode/continuousstream-1342177268.L16
248370; 16 Play - stream (http://192.168.0.2:49382/encode/continuousstream-1342177260.L16)
248798; 17 PostSoapRequest - 500,send=POST /upnp_control_2 HTTP/1.1
Host: 192.168.0.9:8888
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Content-Length: 304

<?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:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>
248799; 18 SoapRequest:Play:urn:schemas-upnp-org:service:AVTransport:1:InstanceID=0,Speed=1 - <?xml version="1.0" encoding="utf-8"?><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>705</errorCode><errorDescription>Transport is locked</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
248799; 19 Play - status=500,url=http://192.168.0.2:49382/encode/continuousstream-1342177260.L16
255425; 20 Play - stream (http://192.168.0.2:49382/encode/continuousstream-1342177252.L16)
255837; 21 PostSoapRequest - 500,send=POST /upnp_control_2 HTTP/1.1
Host: 192.168.0.9:8888
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Content-Length: 304

<?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:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>
255837; 22 SoapRequest:Play:urn:schemas-upnp-org:service:AVTransport:1:InstanceID=0,Speed=1 - <?xml version="1.0" encoding="utf-8"?><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>705</errorCode><errorDescription>Transport is locked</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
255837; 23 Play - status=500,url=http://192.168.0.2:49382/encode/continuousstream-1342177252.L16
Title: Re: UPNP
Post by: Boile on November 23, 2014, 12:49:27 PM
Hi!
I got it!
the stream is ok only the volume faded out, i make it again louder bud it goes to minimum and so goes on!
3; 1 Initialise - 23.11.2014 13:45:23
21; 2 GetNetworkAddresses - 192.168.0.2,dns=True,name=Ethernet,speed=1000000000
21; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
21; 4 GetNetworkAddresses - http://192.168.0.2:49382
61; 5 ProcessMessage 192.168.0.9 - device 'uuid:14b0ad7d-b5ad-7db9-6ca4-7d09b5b9bc05:TX-8050',valid=True
95; 6 Activate - TX-8050:http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=1: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/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMALSL,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/wav:*,
1073; 7 Browse - 0,BrowseDirectChildren,0,1,sort=
5095; 8 Play - stream (http://192.168.0.2:49382/encode/continuousstream-1342177276.L16)
5317; 9 GetEncodedFile[1] 192.168.0.2 - GET  to 192.168.0.9; mime=audio/L16;rate=44100;channels=2,rate=44100,channels=2
8044; 10 StateTimer - Playing,old=Stopped
8047; 11 SyncNewPlayState - Playing,mb=Loading
Title: Re: UPNP
Post by: Steven on November 23, 2014, 12:51:19 PM
it seems other applications have had the same issue with Onkyo devices.

I will keep looking for the solution but one bit of advice i found:
"Concering "Transport is locked (Code: 705)"... I need to select NET -> DNLA manually (e.g. using the Remote or Onkyo App) before using Bubble UPNP. But then all is working as expected."
Title: Re: UPNP
Post by: Boile on November 23, 2014, 01:01:17 PM
Now the playback is ok, only the volume goes alone always to min!
Thanx
Title: Re: UPNP
Post by: Steven on November 23, 2014, 01:10:51 PM
can you explain that more. Does it start normally and then by itself lower the volume? What is the volume set to in musicbee and does the device react when you change the volume in musicbee.
When the device is initialised MusicBee attempts to set the volume level the same as what is current in musicbee,
Title: Re: UPNP
Post by: Boile on November 23, 2014, 01:17:38 PM
Yes, i start the MB, i have sound but immediately itself  lower the volume on both MB and Onkyo to zero,
I turn the volume higher either on MB or Onkyo but it itself goest to null!
Title: Re: UPNP
Post by: Steven on November 23, 2014, 01:53:08 PM
can you use this version of the plugin so i can see what is happening with the volume:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip
Title: Re: UPNP
Post by: Boile on November 23, 2014, 01:59:43 PM
Its the same!
I tried hold the Volume Button but to no avail!
Title: Re: UPNP
Post by: Steven on November 23, 2014, 02:02:31 PM
i need the log file
Title: Re: UPNP
Post by: Boile on November 23, 2014, 02:08:36 PM
Here you are!
Code
3; 1 Initialise - 23.11.2014 15:07:24
20; 2 GetNetworkAddresses - 192.168.0.2,dns=True,name=Ethernet,speed=1000000000
21; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
21; 4 GetNetworkAddresses - http://192.168.0.2:49382
58; 5 ProcessMessage 192.168.0.9 - device 'uuid:14b0ad7d-b5ad-7db9-6ca4-7d09b5b9bc05:TX-8050',valid=True
101; 6 Activate - TX-8050:http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=1: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/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMALSL,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/wav:*,
129; 7 SetVolume - from=0 to=0,5072
1380; 8 Browse - 0,BrowseDirectChildren,0,1,sort=
2235; 9 GetVolume - 0,51
2241; 10 GetMute - False
2248; 11 GetVolume - 0,51
2250; 12 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><PresetNameList val="FactoryDefaults,InstallationDefaults"/><Mute channel="Master" val="0"/><Volume channel="Master" val="51"/><VolumeDB channel="Master" val="0"/><Loudness channel="Master" val="0"/><Mute channel="LF" val="0"/><Volume channel="LF" val="0"/><VolumeDB channel="LF" val="0"/><Loudness channel="LF" val="0"/><Mute channel="RF" val="0"/><Volume channel="RF" val="0"/><VolumeDB channel="RF" val="0"/><Loudness channel="RF" val="0"/></InstanceID></Event>
2254; 13 SetVolume - from=0,51 to=0
2254; 14 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="51"/></InstanceID></Event>
2433; 15 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="0"/></InstanceID></Event>
2445; 16 GetVolume - 0
3283; 17 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="0"/></InstanceID></Event>
4498; 18 SetVolume - from=0 to=0,4202
4507; 19 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="42"/></InstanceID></Event>
4528; 20 GetVolume - 0,42
5282; 21 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="32"/></InstanceID></Event>
5285; 22 SetVolume - from=0,42 to=0,3199
5495; 23 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="32"/></InstanceID></Event>
5504; 24 GetVolume - 0,32
6308; 25 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="25"/></InstanceID></Event>
6311; 26 SetVolume - from=0,32 to=0,25
6518; 27 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="25"/></InstanceID></Event>
6531; 28 GetVolume - 0,25
7282; 29 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="20"/></InstanceID></Event>
7284; 30 SetVolume - from=0,25 to=0,1999
7485; 31 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="20"/></InstanceID></Event>
7497; 32 GetVolume - 0,2
8276; 33 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="15"/></InstanceID></Event>
8279; 34 SetVolume - from=0,2 to=0,1499
8487; 35 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="15"/></InstanceID></Event>
8498; 36 GetVolume - 0,15
9281; 37 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="11"/></InstanceID></Event>
9285; 38 SetVolume - from=0,15 to=0,1099
9496; 39 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="11"/></InstanceID></Event>
9506; 40 GetVolume - 0,11
10282; 41 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="8"/></InstanceID></Event>
10284; 42 SetVolume - from=0,11 to=0,0799
10493; 43 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="8"/></InstanceID></Event>
10506; 44 GetVolume - 0,08
11121; 45 SetVolume - from=0,08 to=0,5072
11129; 46 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="51"/></InstanceID></Event>
11139; 47 GetVolume - 0,51
11338; 48 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="6"/></InstanceID></Event>
11341; 49 SetVolume - from=0,51 to=0,0599
11541; 50 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="6"/></InstanceID></Event>
11552; 51 GetVolume - 0,06
12274; 52 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="3"/></InstanceID></Event>
12276; 53 SetVolume - from=0,06 to=0,0299
12490; 54 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="3"/></InstanceID></Event>
12500; 55 GetVolume - 0,03
13306; 56 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="1"/></InstanceID></Event>
13308; 57 SetVolume - from=0,03 to=0,0099
13518; 58 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="1"/></InstanceID></Event>
13530; 59 GetVolume - 0,01
14278; 60 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="0"/></InstanceID></Event>
14281; 61 SetVolume - from=0,01 to=0
14483; 62 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="0"/></InstanceID></Event>
14492; 63 GetVolume - 0
14598; 64 SetVolume - from=0 to=0,5941
14690; 65 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="59"/></InstanceID></Event>
14699; 66 GetVolume - 0,59
15304; 67 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="46"/></InstanceID></Event>
15306; 68 SetVolume - from=0,59 to=0,4599
15515; 69 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="46"/></InstanceID></Event>
15526; 70 GetVolume - 0,46
16276; 71 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="36"/></InstanceID></Event>
16279; 72 SetVolume - from=0,46 to=0,3599
16488; 73 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="36"/></InstanceID></Event>
16498; 74 GetVolume - 0,36
17270; 75 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="28"/></InstanceID></Event>
17273; 76 SetVolume - from=0,36 to=0,28
17473; 77 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="28"/></InstanceID></Event>
17483; 78 GetVolume - 0,28
18274; 79 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="21"/></InstanceID></Event>
18277; 80 SetVolume - from=0,28 to=0,2099
18487; 81 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="21"/></InstanceID></Event>
18497; 82 GetVolume - 0,21
19296; 83 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="16"/></InstanceID></Event>
19299; 84 SetVolume - from=0,21 to=0,1599
19511; 85 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="16"/></InstanceID></Event>
19520; 86 GetVolume - 0,16
20265; 87 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="12"/></InstanceID></Event>
20268; 88 SetVolume - from=0,16 to=0,1199
20480; 89 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="12"/></InstanceID></Event>
20490; 90 GetVolume - 0,12
21275; 91 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="8"/></InstanceID></Event>
21278; 92 SetVolume - from=0,12 to=0,0799
21487; 93 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="8"/></InstanceID></Event>
21496; 94 GetVolume - 0,08
22262; 95 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="6"/></InstanceID></Event>
22265; 96 SetVolume - from=0,08 to=0,0599
22438; 97 Play - stream (http://192.168.0.2:49382/encode/continuousstream-1342177276.L16)
22475; 98 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="6"/></InstanceID></Event>
22486; 99 GetVolume - 0,06
22675; 100 GetEncodedFile[1] 192.168.0.2 - GET  to 192.168.0.9; mime=audio/L16;rate=44100;channels=2,rate=44100,channels=2
23304; 101 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="3"/></InstanceID></Event>
23306; 102 SetVolume - from=0,06 to=0,0299
23517; 103 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="3"/></InstanceID></Event>
23526; 104 GetVolume - 0,03
23880; 105 SetVolume - from=0,03 to=0,4347
23888; 106 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="43"/></InstanceID></Event>
23897; 107 GetVolume - 0,43
24650; 108 GetMute - False
24765; 109 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="33"/></InstanceID></Event>
24767; 110 SetVolume - from=0,43 to=0,3299
24777; 111 GetVolume - 0,33
24971; 112 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="33"/></InstanceID></Event>
25180; 113 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="33"/></InstanceID></Event>
25512; 114 StateTimer - Playing,old=Stopped
25514; 115 SyncNewPlayState - Playing,mb=Loading
25536; 116 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="33"/></InstanceID></Event>
25547; 117 GetVolume - 0,33
26268; 118 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="26"/></InstanceID></Event>
26270; 119 SetVolume - from=0,33 to=0,2599
26473; 120 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="26"/></InstanceID></Event>
26482; 121 GetVolume - 0,26
27305; 122 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="20"/></InstanceID></Event>
27308; 123 SetVolume - from=0,26 to=0,1999
27531; 124 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="20"/></InstanceID></Event>
27542; 125 GetVolume - 0,2
28265; 126 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="15"/></InstanceID></Event>
28268; 127 SetVolume - from=0,2 to=0,1499
28482; 128 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="15"/></InstanceID></Event>
28496; 129 GetVolume - 0,15
29273; 130 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="11"/></InstanceID></Event>
29275; 131 SetVolume - from=0,15 to=0,1099
29474; 132 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="11"/></InstanceID></Event>
29484; 133 GetVolume - 0,11
30266; 134 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="8"/></InstanceID></Event>
30268; 135 SetVolume - from=0,11 to=0,0799
30494; 136 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="8"/></InstanceID></Event>
30512; 137 GetVolume - 0,08
31265; 138 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="6"/></InstanceID></Event>
31268; 139 SetVolume - from=0,08 to=0,0599
31479; 140 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="6"/></InstanceID></Event>
31490; 141 GetVolume - 0,06
32268; 142 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="3"/></InstanceID></Event>
32270; 143 SetVolume - from=0,06 to=0,0299
32472; 144 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="3"/></InstanceID></Event>
32483; 145 GetVolume - 0,03
33278; 146 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="1"/></InstanceID></Event>
33281; 147 SetVolume - from=0,03 to=0,0099
33492; 148 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="1"/></InstanceID></Event>
33505; 149 GetVolume - 0,01
33685; 150 SetVolume - from=0,01 to=0,6956
33694; 151 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="70"/></InstanceID></Event>
33704; 152 GetVolume - 0,7
34762; 153 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="55"/></InstanceID></Event>
34764; 154 SetVolume - from=0,7 to=0,55
34979; 155 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="55"/></InstanceID></Event>
35065; 156 GetVolume - 0,55
35780; 157 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="43"/></InstanceID></Event>
35783; 158 SetVolume - from=0,55 to=0,4299
35983; 159 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="43"/></InstanceID></Event>
35994; 160 GetVolume - 0,43
36757; 161 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="33"/></InstanceID></Event>
36760; 162 SetVolume - from=0,43 to=0,3299
36971; 163 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="33"/></InstanceID></Event>
37058; 164 GetVolume - 0,33
37757; 165 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="26"/></InstanceID></Event>
37792; 166 SetVolume - from=0,33 to=0,2599
37992; 167 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="26"/></InstanceID></Event>
38003; 168 GetVolume - 0,26
38757; 169 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="20"/></InstanceID></Event>
38758; 170 SetVolume - from=0,26 to=0,1999
38968; 171 Volume - <Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="20"/></InstanceID></Event>
38991; 172 GetVolume - 0,2
Title: Re: UPNP
Post by: Steven on November 23, 2014, 02:35:42 PM
i can see why its going to 0 to start with and this should fix that:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip

however it appears after that the device is telling musicbee to lower the volume by itself. Hopefully the fix for the first issue also resolves that
Title: Re: UPNP
Post by: Boile on November 23, 2014, 02:40:56 PM
Nope, the same!
Code
2; 1 Initialise - 23.11.2014 15:39:37
20; 2 GetNetworkAddresses - 192.168.0.2,dns=True,name=Ethernet,speed=1000000000
20; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
21; 4 GetNetworkAddresses - http://192.168.0.2:49382
117; 5 ProcessMessage 192.168.0.9 - device 'uuid:14b0ad7d-b5ad-7db9-6ca4-7d09b5b9bc05:TX-8050',valid=True
139; 6 Activate - TX-8050:http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=1: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/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMALSL,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/wav:*,
176; 7 SetVolume - from=0 to=0,37
1402; 8 Browse - 0,BrowseDirectChildren,0,1,sort=
4078; 9 SetVolume - from=0,37 to=0,28
5068; 10 SetVolume - from=0,28 to=0,2099
6075; 11 SetVolume - from=0,21 to=0,1599
7069; 12 SetVolume - from=0,16 to=0,1199
8072; 13 SetVolume - from=0,12 to=0,0799
9062; 14 SetVolume - from=0,08 to=0,0599
10067; 15 SetVolume - from=0,06 to=0,0299
11059; 16 SetVolume - from=0,03 to=0,0099
12065; 17 SetVolume - from=0,01 to=0
29889; 18 SetVolume - from=0 to=0,7536
30559; 19 SetVolume - from=0,75 to=0,5999
31550; 20 SetVolume - from=0,6 to=0,4699
32531; 21 SetVolume - from=0,47 to=0,37
33537; 22 SetVolume - from=0,37 to=0,28
34532; 23 SetVolume - from=0,28 to=0,2099
35528; 24 SetVolume - from=0,21 to=0,1599
36544; 25 SetVolume - from=0,16 to=0,1199
37528; 26 SetVolume - from=0,12 to=0,0799
38527; 27 SetVolume - from=0,08 to=0,0599
39534; 28 SetVolume - from=0,06 to=0,0299
40528; 29 SetVolume - from=0,03 to=0,0099
41528; 30 SetVolume - from=0,01 to=0
Title: Re: UPNP
Post by: Steven on November 23, 2014, 02:45:31 PM
i have an idea what it might be but wont be able to look at this until tonight
Title: Re: UPNP
Post by: Boile on November 23, 2014, 02:52:00 PM
No problem!
Thanks
Title: Re: UPNP
Post by: Steven on November 23, 2014, 10:18:44 PM
hopefully this should address the volume issue:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip

I have also changed the behaviour so MB no longer synchronises the volume control  in MB when the volume control is changed on the device but if you change the volume in MB is also changes the volume on the device
Title: Re: UPNP
Post by: Boile on November 24, 2014, 01:36:55 PM
Hi!

Thanks, now works very well!
Time to donate
Title: Long winded one
Post by: poictesme on November 26, 2014, 11:02:42 AM
I hesitate to put my issue(s) forward as I am fairly sure
this is something you must have planned to fix sooner or
later... here it goes just in case:

I connect to the internet via a VPN service, which uses
openVPN, which creates a virtual network interface
with its own IP and MAC addresses on my PC;  while the
virtual interface connects to the internet, my regular
IP address is still active and I can connect to other
devices in my (NAT) network.
When I try to use MB's UPnP function, the programme
can't connect to its client -- a Raspberry Pi running
XBMC -- whereas when I disable OpenVPN, thus leaving
the regular connection as the only option, push-streaming
works very well.

Mediamonkey's UPnP works nicely with VPN on.
I guess the solution would be to offer a choice
of IPs to connect to.

I can send you MB's logs and Wireshark's traces
should you need them.


Just one more thing:

whenever MB starts playing or switches tracks it turns
my TV on from standby.
This happens only with MB.  Definitely not a feature.  ;)


My set-up:

  [router]
   (NAT)
       |
   _______
  |          |
  |          |
[PC]      [PI]----(hdmi)----[Receiver]----(hdmi)----[TV]
(vpn)    (xbmc)           (eth unplugged)         (no eth)

All connections are wired.  All devices on same subnet,
firewalls and similia are configured to let things happen.


Thank you very much for your patience!
Title: Re: UPNP
Post by: Steven on November 26, 2014, 11:50:43 AM
could you temporarily enable the debug logging in the plugin configuration and send me the log so i can see the connections
(with the VPN service and then again without the VPN service where MB works)
for the display switching on, that might be a very recent change made in the last couple of days. Was it doing it before a few days ago?
Title: Re: UPNP
Post by: poictesme on November 26, 2014, 09:26:24 PM
I am sending you the logs via PM (google drive).

Here's what I did in both scenarios: deleted old log, started
MB with logging enabled, played song for 20 seconds, quit MB.

The telly has been switching on from the first build I tried and
that must have been an early one I am afraid.
The PI uses CEC, to allow the TV's remote to control XBMC.
Title: Re: UPNP
Post by: Steven on November 26, 2014, 09:49:25 PM
This version sets you configure a specific IP address. As to the tv i dont know but i have modified the change i made that might affect it
unzip and replace the existing files:
http://www.mediafire.com/download/8oqz833v9z364da/mb_Upnp.zip
http://musicbee.niblseed.com/V2_5/MusicBee_Exe_Patched.zip
Title: Re: UPNP
Post by: poictesme on November 28, 2014, 09:46:24 PM
 ;D  Yes, that worked perfectly, Thanks a mil!

As for the TV issue, it may have something to do with the
HDMI pass-through function;  I don't much about that stuff
unfortunately. 
The TV is switched on by MB when I start the programme too,
if that is of any help.

An now for some positive reinforcement... 2048 monetary bits coming your way.
Thank you for all the hard work you're putting into this.
Title: Re: UPNP
Post by: Steven on November 29, 2014, 10:29:10 AM
i really have no idea what the TV thing could be, but could you confirm that if the plugin is disabled and you restart MB, does it still happen?
Title: Re: UPNP
Post by: sambice on November 30, 2014, 09:12:48 PM
Thankyou, thankyou, thankyou, Steven.

I just discovered UPnP had been implemented with the 2.5 beta (I was one of the people requesting it a few years ago).

On first try it works flawlessly out of the box (as I've come to expect, as even the beta's you release are so damn reliable), I'm in MusicBee DLNA paradise!

MB as DLNA server to a Nexus 5 and Asus Transformer tablet (via BubbleUPnP).
Rendering to TV/Hi-Fi setup (via XBMC)
Rendering to Xbox (360, but not the Xbox One)

Flac files even all have cover art, which is something I've been struggling with for ages; and MusicBee as a server is way faster than the Twonky server on a NAS I've been using, scrolling long playlists was lag city, now it's not. Geat stuff, mate, thanks.
Title: Re: UPNP
Post by: beastiegirl on December 01, 2014, 04:17:25 AM
First, thank you for DLNA in MusicBee. I have been coming back every few months for some time to see if it happens to work. :D

I have a WDTV and get an XML error in the Upnperrorlog when I guess it is trying to discover the device:

"""
73; 7 NewMediaRendererDevice:http://192.168.1.39:52844/ - Root element is missing.
73; 8 ControlListen - Root element is missing.
73; 9 ListenNotify - Root element is missing.
"""

Here is the exact XML response musicbee is receiving from the device: http://www39.zippyshare.com/v/94589493/file.html

Also in the Upnp log I found "Only one usage of each socket address (protocol/network address/port) is normally permitted." a few times. I use the awesome MusicBee Remote plugin by kelsos, and it listens on a port too so I'm not sure if that is the conflict or what. ???

Happy to re-beta-test if needed.
Title: Re: UPNP
Post by: Steven on December 01, 2014, 05:58:37 PM
@beastiegirl, the xml file you sent is valid but the error log indicates musicbee received no xml file at all. I assume you got the xml file by entering the web address in your browser.
I wont be able to help you any further with this
Title: Re: UPNP
Post by: poictesme on December 01, 2014, 10:44:26 PM
could you confirm that if the plugin is disabled and you restart MB, does it still happen?

It was happening only if the plug-in was enabled, but it does not seem to be happening
at all with build 2.5.5447.  Whatever you did, "do not touch the candle, Inga".
Now, I might have followed a slightly different power up sequence and I will let you know
if things change, but afaict all is good now.  ;D


Thanks again.
Title: Re: UPNP
Post by: MichaelP on December 02, 2014, 03:13:31 PM
UPNP & DLNA in MB 2.5.5447 plus UPNPlugin...

1. Serverfunctions nearly perfect, only a little restrictions i found: No Cover Album shown for current track, small pics in tracklist are o.k.).
For test I use Androit Tablet or iPhone with Yamaha-App and the Library ist structured \Interpret\Album\Tracks.mpg(s) plus Cover.jpg - perhaps my config is not o.k.?

2. Streaming audio direct from MB, Windows-PC to Yamaha Receiver don´t works in the moment for me -
I could select Player, device is found by MB as "RX-A2010". but play button in MB produces
message "Device ´RX-A2010´ is not ready for output" - was is wrong?
(of cource, the receiver is in "PC Input" mode and idle & without concurrent streaming).

I´m not really sure I made a correct Plugin config ::), I take some screenshots- send separate(?) - if wanted & helpful...

Thanks to Steven for his great work & greetings from Germany, Monheim

MichaelP

PS: Perhaps later it is useful, to implement a Device button for outputs in the Main Menü of MB.
In my opinion change client in Menu "Bearbeiten - Einstellungen -Player" is a little  inconvenient...
 
 

Title: Re: UPNP
Post by: Steven on December 02, 2014, 04:17:30 PM
can you enable debug logging at the bottom of the UPnP plugin configuration dialog and after restarting MB and attempting output to the device then send me the log information
Title: Re: UPNP
Post by: MichaelP on December 02, 2014, 05:15:48 PM
Thanks for reply  - I hope, these are the correct informations from UpnpErrorLog.dat:

....
02.12.2014 18:03:09; 1 GetNetworkAdresseses - id=LAN-Verbindung,speed=1000000000
02.12.2014 18:03:09; 2 GetNetworkAddresses - 192.168.100.111,dns=True,trans=False
02.12.2014 18:03:09; 3 GetNetworkAdresseses - id=Teredo Tunneling Pseudo-Interface,speed=100000
02.12.2014 18:03:09; 4 MediaRendererDevice - http://192.168.100.111:49382
02.12.2014 18:03:09; 5 ProcessMessage - device 'uuid:9ab0c000-f668-11de-9976-00a0de87b3ed:RX-A2010',valid=True
02.12.2014 18:03:09; 6 Activate - RX-A2010:http-get:*:audio/L16;channels=2;rate=44100:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=44100:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=48000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=48000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=32000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=32000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=88200:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=88200:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=96000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=96000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=64000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=64000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=22050:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=22050:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=24000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=24000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=16000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=16000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=11025:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=11025:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=12000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=12000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=8000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=8000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16: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/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMAFULL,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_192,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_192,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-mpeg:*,http-get:*:audio/x-aac:*,http-get:*:audio/x-mp3:*,http-get:*:audio/x-mp4:*,http-get:*:audio/x-mpg:*,http-get:*:audio/x-wav:*,http-get:*:audio/3gpp:*,http-get:*:audio/aacp:*,http-get:*:audio/flac:*,http-get:*:audio/mpeg:*,http-get:*:audio/aac:*,http-get:*:audio/m4a:*,http-get:*:audio/mp3:*,http-get:*:audio/mp4:*,http-get:*:audio/wav:*,
02.12.2014 18:03:09; 7 Activate:True - Der Index war außerhalb des Arraybereichs.
02.12.2014 18:03:09; 8 MediaRendererDevice - http://192.168.100.111:49382
02.12.2014 18:03:09; 9 NewMediaRendererDevice:http://192.168.100.181:10184/ - Das Stammelement ist nicht vorhanden.
02.12.2014 18:03:09; 10 ControlListen - Das Stammelement ist nicht vorhanden.
02.12.2014 18:03:10; 11 MediaRendererDevice - http://192.168.100.111:49382
02.12.2014 18:03:10; 12 ProcessMessage - device 'uuid:D5DFED3D-02D0-2E59-8496-930B6A142FE0:',valid=False
02.12.2014 18:03:10; 13 MediaRendererDevice - http://192.168.100.111:49382
02.12.2014 18:03:10; 14 ProcessMessage - device 'uuid:77758F5D-AF4C-FB98-129D-8CE20E2F1DD3:',valid=False
02.12.2014 18:03:10; 15 MediaRendererDevice - http://192.168.100.111:49382
02.12.2014 18:03:10; 16 ProcessMessage - device 'uuid:1C7640F2-B54A-6A68-DCEF-D85F79FF6F17:',valid=False
02.12.2014 18:03:13; 17 RegisterDevice - Not Supported
02.12.2014 18:03:14; 18 RegisterDevice - Not Supported
02.12.2014 18:03:23; 19 RegisterDevice - Not Supported
02.12.2014 18:03:24; 20 RegisterDevice - Not Supported

Greetings, Michael
Title: Re: UPNP
Post by: Steven on December 02, 2014, 05:23:37 PM
that looks like something already fixed last week. Could you re-download the plugin and also the latest version of musicbee itself from the 2.5 topic
Title: Re: UPNP
Post by: MichaelP on December 02, 2014, 05:37:27 PM
o.k., I try - but the install (update) MB and Plugin I made yesterday from the 2.5 DL-Page.
I don´t use links from "Wishlist"...

Michael
Title: Re: UPNP
Post by: MichaelP on December 02, 2014, 05:54:42 PM
 :D I´m wrong, after install mb_Upnp.dll has a newer timestamp (29.11.2014).
During I reply, I can hear MB-music from Yamaha  ;D ;D ;D

Thank yuou very much, Steven !!!
Title: Re: UPNP
Post by: Steven on December 21, 2014, 03:54:54 PM
@hiccup, in the latest UPnP plugin version i put a bit of extra debug code in to see if the issue you are having is related to chunked streams. So if you do try it and see "chunked stream" text in the debug log then let me know
Title: Re: UPNP
Post by: hiccup on December 21, 2014, 05:01:55 PM
Thnx, I'll try it out, probably the coming week.
Title: Re: UPNP
Post by: hiccup on December 27, 2014, 10:37:32 AM
@hiccup, in the latest UPnP plugin version i put a bit of extra debug code in to see if the issue you are having is related to chunked streams. So if you do try it and see "chunked stream" text in the debug log then let me know

To be certain I use the correct version, is the link in reply #194 the most recent one?
Title: Re: UPNP
Post by: Steven on December 27, 2014, 10:51:46 AM
use the link from the first post in the UPnP plugin topic
Title: Re: UPNP
Post by: wwulff on January 04, 2015, 06:40:03 PM
I've just started using MusicBee due to the new UPnP capability and am impressed by the general function and features of the software as a whole, so I'd love to get this plugin working fully for me. Now I'm not sure if its a set-up issue or perhaps a bug, but I'm having a few issues trying to get this to work with a Stream Magic 6. 

The issue occurs whenever the GetEncodedFile method is invoked. The SM6 will play the first couple of seconds of audio which then cuts out. The track timer on the SM6 continues to increase as if data is being received, and the track continues to play until the end in MB. The output works perfectly fine when the mp3 file is encoded with LAME and the GetFile method is used instead, but whenever the source file is encoded with anything other than stored Lame it runs into trouble.

I can push the same problematic tracks from a NAS using a combination of BubbleUPnP, and Plex to the SM6 without issue, but its not really a like for like comparison.

Here is the log and the config settings: http://we.tl/nkoHO2s6K3.
The first track plays though fine, the second track stumbles and fails until stopped in MB.

Any help greatly appreciated!
v. 2.5.5478
Title: Re: UPNP
Post by: Steven on January 05, 2015, 06:57:24 AM
did you try using the default of encoding to PCM?
There is some seeking restrictions when encoding to MP3 that the device might not handle
Title: Re: UPNP
Post by: wwulff on January 05, 2015, 11:24:52 PM
Hi Steven, thanks for getting back so soon.

I've tried with all the options and the closest I seem to get is using mp3 (with lame encoding), i.e. it starts to play sound on the SM6, albeit for a couple of seconds.  If I stop the track after a couple of minutes of silent playing in MB, the SM6 display updates the track to stopped but I don't think MB is quiting the task fully. I'm only guessing at that as if I then exit the program, I also have to forcibly close the application process via task manager which also closes lame.exe also left open.

I've retested each of the encoding options and attached the logs for each option. Weirdly (or not) the useragent value is populated using PCM 16. For AAC and OGG a different error is reported about the startIndex parameter.

Happy to be a guinea pig for the device if needs be and hope I'm using the correct plugin version!

I think you may be onto something with the seeking, I've not tried seeking a playing track with BubbleUPnP until now. BubbleUPnP tries the seek request but displays 'Internal Error (code: 400)' and continues to play the track from where it is up to (with SM6 also continuing to play the track).

Log files: http://we.tl/2TyevyG8sD
Title: Re: UPNP
Post by: plc on January 15, 2015, 01:10:30 PM
Since discovering MusicBee around a fortnight ago, I just want to say how much I really like (a) the software in general, and (b) the DNLA functionality - it communicates with my Neet AirStream (hi-fi dongle to allow music to be streamed from laptops, phones & tablets via wi-fi) really well.  I suffer the odd drop-out occasionally but I'm convinced that has more to do with the location of the AirStream in relation to my wi-fi router than anything to do with MusicBee.

I'm wondering if there's any way of being able to easily change the output device (e.g. from AirStream to my telly or computer) from the home screen without needing to go through Options - Player - Output ?
Title: Re: UPNP
Post by: hiccup on January 15, 2015, 01:37:33 PM
Welcome to the forum,

If you update MusicBee to the latest beta version, you will find the new option 'Output To' when right-clicking a track.

http://getmusicbee.com/forum/index.php?topic=13648.msg88157#msg88157
Title: Re: UPNP
Post by: plc on January 15, 2015, 02:05:34 PM
Many Thanks, hiccup.

Does that change the default 'Output' setting so that all music from thereafter is output to that device - or is that just to override the selected track?
Title: Re: UPNP
Post by: hiccup on January 15, 2015, 02:19:22 PM
Since on my particular system UPNP plugin is not working very well I'm not sure on the exact behaviour,
but I would assume this should only stick for the selected track and possible queued tracks.
To have the output setting changed globally by means of some shortcut, there will have to be posted a wish for that in the wish list topic.
Title: Re: UPNP
Post by: Ben6363 on January 17, 2015, 10:09:14 PM
Hello
I installed the plugin and now I got the message "device 'denon avr-x 1100w' is not ready for output", I have no Idea what I can do.

I try what I found on this forum, google leads me to this. But it still dosen't work.

Sorry for my bad english. 

Cam you please help me?

Does that help?:

703341; 1 RestartServer - Der Typeninitialisierer für "AudioEncoder" hat eine Ausnahme verursacht.
744636; 2 RestartServer - Der Typeninitialisierer für "AudioEncoder" hat eine Ausnahme verursacht.
3; 1 Initialise - 17.01.2015 23:12:32
68; 2 GetNetworkAddresses - 192.168.178.24,dns=True,name=Drahtlosnetzwerkverbindung,speed=65000000
70; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
73; 4 GetNetworkAddresses - http://192.168.178.24:49382
756; 5 ProcessMessage 192.168.178.31 - device 'uuid:5f9ec1b3-ff59-19bb-8530-0005cd49925c:Denon AVR-X1100W',valid=True
764; 6 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
769; 7 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
776; 8 Activate:True - Der Typeninitialisierer für "AudioEncoder" hat eine Ausnahme verursacht.
29217; 9 ProcessMessage 192.168.178.24 - device 'uuid:5a91605b-c53c-4778-9410-aca73eb5e32d:MediaMonkey Player',valid=True
29218; 10 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
29220; 11 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
29222; 12 Activate:True - Der Typeninitialisierer für "AudioEncoder" hat eine Ausnahme verursacht.
29403; 13 ProcessMessage 127.0.0.1 - device 'uuid:5a91605b-c53c-4778-9410-aca73eb5e32d:MediaMonkey Player' disconnected
29403; 14 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
29403; 15 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
29404; 16 Activate:True - Der Typeninitialisierer für "AudioEncoder" hat eine Ausnahme verursacht.
29445; 17 ProcessMessage 127.0.0.1 - device 'uuid:5a91605b-c53c-4778-9410-aca73eb5e32d:MediaMonkey Player',valid=True
29446; 18 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
29446; 19 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
29636; 21 Profile - Generic Device, useragent=
118386; 22 RestartServer - Der Typeninitialisierer für "AudioEncoder" hat eine Ausnahme verursacht.
253188; 23 Profile - Generic Device, useragent=FDSSDP
254956; 24 Profile - Generic Device, useragent=FDSSDP
258066; 25 Profile - Generic Device, useragent=FDSSDP
262135; 26 Profile - Generic Device, useragent=FDSSDP
421576; 27 RestartServer - Der Typeninitialisierer für "AudioEncoder" hat eine Ausnahme verursacht.
4; 1 Initialise - 17.01.2015 23:22:31
66; 2 GetNetworkAddresses - 192.168.178.24,dns=True,name=Drahtlosnetzwerkverbindung,speed=65000000
69; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
72; 4 GetNetworkAddresses - http://192.168.178.24:49382
100; 5 ProcessMessage 192.168.178.24 - device 'uuid:5a91605b-c53c-4778-9410-aca73eb5e32d:MediaMonkey Player',valid=True
341; 6 ProcessMessage 192.168.178.31 - device 'uuid:5f9ec1b3-ff59-19bb-8530-0005cd49925c:Denon AVR-X1100W',valid=True
349; 7 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
350; 8 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
354; 9 Activate:True - Der Typeninitialisierer für "AudioEncoder" hat eine Ausnahme verursacht.
1913; 10 Profile - Generic Device, useragent=
185554; 11 Profile - Windows Media Player, useragent=Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50
4; 1 Initialise - 17.01.2015 23:32:12
68; 2 GetNetworkAddresses - 192.168.178.24,dns=True,name=Drahtlosnetzwerkverbindung,speed=65000000
71; 3 GetNetworkAddresses - 127.0.0.1,dns=False,name=Loopback Pseudo-Interface 1,speed=1073741824
73; 4 GetNetworkAddresses - http://192.168.178.24:49382
103; 5 ProcessMessage 192.168.178.24 - device 'uuid:5a91605b-c53c-4778-9410-aca73eb5e32d:MediaMonkey Player',valid=True
408; 6 ProcessMessage 192.168.178.31 - device 'uuid:5f9ec1b3-ff59-19bb-8530-0005cd49925c:Denon AVR-X1100W',valid=True
415; 7 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
419; 8 Profile - Generic Device, useragent=AV SURROUND RECEIVER|
425; 9 Activate:True - Der Typeninitialisierer für "AudioEncoder" hat eine Ausnahme verursacht.
1912; 10 Profile - Generic Device, useragent=
Title: Re: UPNP
Post by: poictesme on February 20, 2015, 01:11:40 PM
Denon receivers have a chequered history when it comes to network functionalities.
Now, this probably does not apply to you case but I thought I should warn you.
I own a Denon and although I am very happy with the way it sounds, I had to unplug
it from my lan and I am now flawlessly streaming MB to a Pi running Kodi.

One thing you could try is to turn the Denon's dhcp on and off, and check that your firewall
isn't blocking whatever ports MB is using for streaming.
Title: Re: UPNP
Post by: Julien on March 22, 2015, 08:38:06 PM
Hi
I don't know what I'm doing wrong or just not doing, but I'm not able to stream to a blu ray player or a home cinema system. It seems that it's trying to start playing but then skips to the next track and so on until the next track and the device I'm sending the file to displays a message with something like file corrupted or not supported. It's strange that I'm also using jriver on the same devices and works flawlessly.
Here's the log>

242405; 454 GetEncodedFile[96] - exit=10004, playtime=163102
252498; 455 Play - D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# (http://192.168.1.2:49382/encode/407AA59B91EA3B28-2147483216.wav)
252518; 456 Profile - Generic Device, useragent=
252519; 457 Profile - Generic Device, useragent=
252520; 458 GetEncodedFile[97] 192.168.1.2 - HEAD D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
253420; 459 StateTimer - Loading,old=Stopped
254023; 460 Profile - Generic Device, useragent=
254023; 461 Profile - Generic Device, useragent=
254025; 462 GetEncodedFile[98] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254026; 463 GetEncodedFile[98] - exit=0, playtime=1
254243; 464 Profile - Generic Device, useragent=
254244; 465 Profile - Generic Device, useragent=
254245; 466 GetEncodedFile[99] 192.168.1.2 - HEAD D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254413; 467 Profile - Generic Device, useragent=
254416; 468 Profile - Generic Device, useragent=
254417; 469 GetEncodedFile[100] - npt=0.000-0.000
254419; 470 GetEncodedFile[100] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254426; 471 GetEncodedFile[100] - exit=10054, playtime=6
254435; 472 Profile - Generic Device, useragent=
254438; 473 Profile - Generic Device, useragent=
254439; 474 GetEncodedFile[101] - npt=0.000-0.000
254440; 475 GetEncodedFile[101] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254458; 476 GetEncodedFile[101] - exit=10054, playtime=17
254563; 477 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254563; 478 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254565; 479 GetEncodedFile[102] 192.168.1.2 - HEAD D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254675; 480 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254678; 481 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254679; 482 GetEncodedFile[103] - npt=0.000-0.000
254680; 483 GetEncodedFile[103] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254691; 484 GetEncodedFile[103] - exit=10054, playtime=10
254697; 485 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254700; 486 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254702; 487 GetEncodedFile[104] - npt=0.000-0.000
254703; 488 GetEncodedFile[104] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254720; 489 GetEncodedFile[104] - exit=10054, playtime=15
254728; 490 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254731; 491 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254732; 492 GetEncodedFile[105] - npt=40.000-0.000
254733; 493 GetEncodedFile[105] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254777; 494 GetEncodedFile[105] - exit=10054, playtime=42
254881; 495 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254882; 496 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254884; 497 GetEncodedFile[106] 192.168.1.2 - HEAD D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254894; 498 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254897; 499 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254899; 500 GetEncodedFile[107] - npt=0.000-0.000
254901; 501 GetEncodedFile[107] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254914; 502 GetEncodedFile[107] - exit=10054, playtime=11
254917; 503 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254920; 504 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254922; 505 GetEncodedFile[108] - npt=0.000-0.000
254923; 506 GetEncodedFile[108] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
254944; 507 GetEncodedFile[108] - exit=10054, playtime=19
254957; 508 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254960; 509 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
254961; 510 GetEncodedFile[109] - npt=40.000-0.000
254962; 511 GetEncodedFile[109] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#1# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
255345; 512 StateTimer - Stopped,old=Loading
255367; 513 Play - D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#2# (http://192.168.1.2:49382/encode/407AA63891EA3A8B-2147483158.wav)
255390; 514 Profile - Generic Device, useragent=
255391; 515 Profile - Generic Device, useragent=
255392; 516 GetEncodedFile[110] 192.168.1.2 - HEAD D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#2# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
257151; 517 PostSoapRequest - 500,send=POST /upnp/control/AVTransport HTTP/1.1
Host: 192.168.1.5:52323
User-Agent: MusicBee UPnP Plugin
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Content-Length: 304

<?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:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>
257152; 518 SoapRequest:Play:urn:schemas-upnp-org:service:AVTransport:1:InstanceID=0,Speed=1 - <?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 Play failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
257153; 519 Play - status=500,url=http://192.168.1.2:49382/encode/407AA63891EA3A8B-2147483158.wav
257198; 520 Play - D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# (http://192.168.1.2:49382/encode/407AA5D991EA3AEA-2147483153.wav)
257215; 521 Profile - Generic Device, useragent=
257216; 522 Profile - Generic Device, useragent=
257218; 523 GetEncodedFile[111] 192.168.1.2 - HEAD D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
258141; 524 StateTimer - Loading,old=Stopped
258345; 525 Profile - Generic Device, useragent=
258346; 526 Profile - Generic Device, useragent=
258348; 527 GetEncodedFile[112] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
258349; 528 GetEncodedFile[112] - exit=0, playtime=0
258575; 529 Profile - Generic Device, useragent=
258578; 530 Profile - Generic Device, useragent=
258579; 531 GetEncodedFile[113] 192.168.1.2 - HEAD D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
258689; 532 Profile - Generic Device, useragent=
258693; 533 Profile - Generic Device, useragent=
258694; 534 GetEncodedFile[114] - npt=0.000-0.000
258695; 535 GetEncodedFile[114] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
258704; 536 GetEncodedFile[114] - exit=10054, playtime=6
258711; 537 Profile - Generic Device, useragent=
258715; 538 Profile - Generic Device, useragent=
258716; 539 GetEncodedFile[115] - npt=0.000-0.000
258718; 540 GetEncodedFile[115] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
258751; 541 GetEncodedFile[115] - exit=10054, playtime=31
258848; 542 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
258850; 543 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
258851; 544 GetEncodedFile[116] 192.168.1.2 - HEAD D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
258963; 545 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
258966; 546 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
258968; 547 GetEncodedFile[117] - npt=0.000-0.000
258970; 548 GetEncodedFile[117] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
258983; 549 GetEncodedFile[117] - exit=10054, playtime=11
258986; 550 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
258989; 551 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
258990; 552 GetEncodedFile[118] - npt=0.000-0.000
258992; 553 GetEncodedFile[118] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
259010; 554 GetEncodedFile[118] - exit=10054, playtime=15
259015; 555 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
259019; 556 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
259021; 557 GetEncodedFile[119] - npt=40.000-0.000
259023; 558 GetEncodedFile[119] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
259077; 559 GetEncodedFile[119] - exit=10054, playtime=52
259179; 560 GetEncodedFile[109] - exit=10054, playtime=4214
259182; 561 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
259184; 562 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
259185; 563 GetEncodedFile[120] 192.168.1.2 - HEAD D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
259194; 564 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
259198; 565 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
259199; 566 GetEncodedFile[121] - npt=0.000-0.000
259200; 567 GetEncodedFile[121] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
259213; 568 GetEncodedFile[121] - exit=10054, playtime=11
259215; 569 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
259219; 570 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
259220; 571 GetEncodedFile[122] - npt=0.000-0.000
259222; 572 GetEncodedFile[122] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2
259233; 573 GetEncodedFile[122] - exit=10054, playtime=9
259241; 574 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
259245; 575 Profile - Generic Device, useragent=UPnP/1.0 DLNADOC/1.50
259246; 576 GetEncodedFile[123] - npt=40.000-0.000
259248; 577 GetEncodedFile[123] 192.168.1.2 - GET D:\Music\Therion-Theli (2014 Reissue)-2014\Therion - Theli (2014 Reissue).flac#3# to 192.168.1.5; mime=audio/wav,rate=44100,channels=2

Thank you!
Title: Re: UPNP
Post by: DoS on October 03, 2016, 12:40:11 AM
Hello, I switched from Foobar2000 to MusicBee (winamp in the early days). MusicBee can do everything I needed of Foobar2000, except one feature:

UPNP Local Render Server.

I'm using BubbleUPNP with AudioCast and want to play music with my music player on android smartphone on my computer monitors via musicbee. It would be nice, if the UPNP Plugin could be accordingly extended,

DoS
Title: Re: UPNP
Post by: cb154 on May 31, 2018, 05:30:12 PM
Hi,

I am new to MB and liking it already. However I am having a small issue with the uPnP. I have it working on my phone using myaudiostram app (iOS) and that is great. However if i restart the app on my phone I can no longer see my MB library. I can make it reappear simply by making a change to one of the settings in the uPnP plugin (such as name) then all is well again. Is anyone else suffering the same issue ?

Think it also worth noting that if i run music bee on my old windows 7 box this does not happen. it only happens on my windows 10 box.