Bugzilla – Bug 1421
Crash when attempting to play a radio station
Last modified: 2008-08-18 10:54:16 UTC
I have a playlist containing a url to stream the World Cafe Internet Music (http://wxpnsc.streamguys.com:80/). Using the nightly SlimServer_v2005-04- 22.exe, this crashes slimserver with the following message recorded in the event log: Can't call method "songBytes" on an undefined value at /PerlApp/Slim/Player/Protocols/HTTP.pm line 504.
This crash can be attributed to Dave's checkin: https://svn.slimdevices.com/trunk/server/Slim/Utils/Scan.pm?r1=3003&r2=3004 It's a bad idea to try to read the entire file in when we don't yet know whether it's a song or a list. If it's the former, we're going to get into trouble. Let's talk about this offline.
*** Bug 1419 has been marked as a duplicate of this bug. ***
Relocated the code of my earlier checkin. That code should no longer affect audio streams (it's still required for remote playlists).
This bug was marked resolved in Slimserver 6.1, which is several versions ago. If you're still seeing this bug, please re-open it. Thanks!