Author Topic: UPNP  (Read 138937 times)

hiccup

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

Steven

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

hiccup

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

phred

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

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

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
@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
Last Edit: November 15, 2014, 04:18:32 PM by Steven

hiccup

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

phred

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

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

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 35001
@phred, link updated for your issue

phred

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

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

Steven

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

hiccup

  • Hero Member
  • *****
  • Posts: 9159
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.
Last Edit: November 15, 2014, 09:32:54 PM by hiccup

Steven

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

hiccup

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

Steven

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

hiccup

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