Bug 17211 - Division Error Prevents Streaming MP3 Files to Browser
: Division Error Prevents Streaming MP3 Files to Browser
Status: UNCONFIRMED
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming From SlimServer
: 7.5.x
: PC MacOS X 10.6
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-09 20:22 UTC by Hal Vaughan
Modified: 2011-05-09 20:22 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hal Vaughan 2011-05-09 20:22:45 UTC
Previously, when Squeezebox Server (or an older version of the program) was running on a server of mine under Debian, I could open http://server:9000/stream.mp3 and play an MP3 stream in my browser.  (One reason I liked this was because I could set up port forwarding on my firewall and router and I could have full access to my entire music library from any Internet connection.)

I had not used this setup on OS X before.

I opened Google Chrome (Version 11.0.696.65) on my workstation (an iMac running 10.6.6) and set the URL in one tab to http://myserver:9000/stream.mp3, then opened another tab to http://myserver:9000.  In the Squeezebox Server interface, I could see it "saw" the browser trying to read the stream.  I found an MP3 file and tried to play it and got this error:

[11-05-09 23:12:24.1945] Slim::Utils::Misc::msg (1165) Warning: [23:12:24.1942] Use of uninitialized value in division (/) at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Player/StreamingController.pm line 875.

Here is the line:

my $stillToPlay = master($self)->outputBufferFullness() / (44100 * 8);

This bug showed in an earlier version and I upgraded and found it's still active.

I also get a totally different error when trying to play a FLAC file through a browser with streaming -- but that's another bug report.