Author Topic: UPNP  (Read 138954 times)

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
@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
Last Edit: November 16, 2014, 02:05:51 PM by Steven

hiccup

  • Hero Member
  • *****
  • Posts: 9166
Sorry to say, no changes in behavior at all.
New log upped.

hiccup

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

hiccup

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


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.
Last Edit: November 16, 2014, 04:10:11 PM by hiccup

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
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?
Last Edit: November 16, 2014, 04:22:21 PM by Steven

hiccup

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

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
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
Last Edit: November 16, 2014, 05:30:05 PM by Steven

hiccup

  • Hero Member
  • *****
  • Posts: 9166
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.
Last Edit: November 16, 2014, 05:51:00 PM by hiccup

Steven

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

hiccup

  • Hero Member
  • *****
  • Posts: 9166

Steven

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

hiccup

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

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
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
Last Edit: November 16, 2014, 07:17:55 PM by Steven

hiccup

  • Hero Member
  • *****
  • Posts: 9166
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?

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
link updated with a correction to the ip address detection