PDA

View Full Version : Choosing ShoutCast on Squeezebox causes connection loss



Roger Mitchell
2004-06-17, 12:17
I have exactly the same problem - cant use Shoutcast at all but everything
else is Ok. Gone back to V.23 5.1.6 but problem is still there. - Roger

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of kdf
Sent: 17 June 2004 18:00
To: Slim Devices Discussion
Subject: [slim] Choosing ShoutCast on Squeezebox causes connection loss

What I get is a message saying shoutcast web site is unavailable, then
pressing right after that will crash teh server:
Can't use an undefined value as an ARRAY reference at
D:/slim/server/Plugins/ShoutcastBrowser.pm line 699.
-kdf

Quoting Steve Pingry <spingry (AT) hotmail (DOT) com>:

> Hello,
>
> When I choose ShoutCast on the Squeezebox it attempts to connect but
> it gives an error message that the connection to the slim server was
> lost about
>
> 10 seconds later. Has anyone else seen this problem or know how to fix
it?
>
> I'm running Windows XP Pro, and I downloaded and installed the nightly
> build
>
> from June 16th (5.1.6). The Squeezebox is working OK other than that...
>
> Thanks,
>
> Steve
>
>
>

Jason Holtzapple
2004-06-17, 12:33
Shoutcast does play fine here (latest CVS), but I do get warnings
in my log when playing streams:

Use of uninitialized value in concatenation (.) or string at /home/slimp3/slim/server/Plugins/ShoutcastBrowser.pm line 347.

and a little later:

Use of uninitialized value in pattern match (m//) at /home/slimp3/perl/lib/5.8.4/File/Spec/Unix.pm line 255.
2004-06-17 12:30:09.2117 pathFromFileURL: http://www.shoutcast.com/sbin/tunein-station.pls?id=4022&amp;filename=playlist.pls isn't a file URL...
2004-06-17 12:30:09.2136 Backtrace:

frame 0: Slim::Utils::Misc::pathFromFileURL (/home/slimp3/slim/server/Slim/Utils/Scan.pm line 436)
frame 1: Slim::Utils::Scan::readList (/home/slimp3/slim/server/Slim/Utils/Scan.pm line 124)
frame 2: Slim::Utils::Scan::addToList (/home/slimp3/slim/server/Slim/Control/Command.pm line 380)
frame 3: Slim::Control::Command::execute (/home/slimp3/slim/server/Plugins/ShoutcastBrowser.pm line 1063)
frame 4: Plugins::ShoutcastBrowser::__ANON__ (/home/slimp3/slim/server/Slim/Hardware/IR.pm line 545)
frame 5: Slim::Hardware::IR::executeButton (/home/slimp3/slim/server/Slim/Control/Command.pm line 207)
frame 6: Slim::Control::Command::execute (/home/slimp3/slim/server/Slim/Hardware/IR.pm line 569)
frame 7: Slim::Hardware::IR::processCode (/home/slimp3/slim/server/Slim/Hardware/IR.pm line 429)
frame 8: Slim::Hardware::IR::releaseCode (/home/slimp3/slim/server/Slim/Hardware/IR.pm line 327)
frame 9: Slim::Hardware::IR::checkRelease (/home/slimp3/slim/server/Slim/Utils/Timers.pm line 52)
frame 10: Slim::Utils::Timers::checkTimers (slim/server/slimserver.pl line 394)
frame 11: main::idle (slim/server/slimserver.pl line 364)
frame 12: main::main (slim/server/slimserver.pl line 821)

--Jason

Roger Mitchell wrote:
> I have exactly the same problem - cant use Shoutcast at all but everything
> else is Ok. Gone back to V.23 5.1.6 but problem is still there. - Roger
>
> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of kdf
> Sent: 17 June 2004 18:00
> To: Slim Devices Discussion
> Subject: [slim] Choosing ShoutCast on Squeezebox causes connection loss
>
> What I get is a message saying shoutcast web site is unavailable, then
> pressing right after that will crash teh server:
> Can't use an undefined value as an ARRAY reference at
> D:/slim/server/Plugins/ShoutcastBrowser.pm line 699.
> -kdf
>
> Quoting Steve Pingry <spingry (AT) hotmail (DOT) com>:
>
>
>>Hello,
>>
>>When I choose ShoutCast on the Squeezebox it attempts to connect but
>>it gives an error message that the connection to the slim server was
>>lost about
>>
>>10 seconds later. Has anyone else seen this problem or know how to fix
>
> it?
>
>>I'm running Windows XP Pro, and I downloaded and installed the nightly
>>build
>>
>>from June 16th (5.1.6). The Squeezebox is working OK other than that...
>>
>>Thanks,
>>
>>Steve
>>
>>
>>

kdf
2004-06-17, 12:38
Quoting Jason Holtzapple <jasonholtzapple (AT) yahoo (DOT) com>:


> Use of uninitialized value in pattern match (m//) at
> /home/slimp3/perl/lib/5.8.4/File/Spec/Unix.pm line 255.
>
This one, I'm familiar with. Its a catdir or catfile call on an undefined value.
Sadly, not exactly a good message for saying exactly WHICH catdir/catfile call
is the problem :)

-kdf

dean
2004-06-17, 12:54
Thanks Jason, those warnings are harmless, but we'll get them fixed.

On Jun 17, 2004, at 12:33 PM, Jason Holtzapple wrote:

> Shoutcast does play fine here (latest CVS), but I do get warnings
> in my log when playing streams:
>
> Use of uninitialized value in concatenation (.) or string at
> /home/slimp3/slim/server/Plugins/ShoutcastBrowser.pm line 347.
>
> and a little later:
>
> Use of uninitialized value in pattern match (m//) at
> /home/slimp3/perl/lib/5.8.4/File/Spec/Unix.pm line 255.
> 2004-06-17 12:30:09.2117 pathFromFileURL:
> http://www.shoutcast.com/sbin/tunein-station.pls?id=4022&amp;
> filename=playlist.pls isn't a file URL...
> 2004-06-17 12:30:09.2136 Backtrace:
>
> frame 0: Slim::Utils::Misc::pathFromFileURL
> (/home/slimp3/slim/server/Slim/Utils/Scan.pm line 436)
> frame 1: Slim::Utils::Scan::readList
> (/home/slimp3/slim/server/Slim/Utils/Scan.pm line 124)
> frame 2: Slim::Utils::Scan::addToList
> (/home/slimp3/slim/server/Slim/Control/Command.pm line 380)
> frame 3: Slim::Control::Command::execute
> (/home/slimp3/slim/server/Plugins/ShoutcastBrowser.pm line 1063)
> frame 4: Plugins::ShoutcastBrowser::__ANON__
> (/home/slimp3/slim/server/Slim/Hardware/IR.pm line 545)
> frame 5: Slim::Hardware::IR::executeButton
> (/home/slimp3/slim/server/Slim/Control/Command.pm line 207)
> frame 6: Slim::Control::Command::execute
> (/home/slimp3/slim/server/Slim/Hardware/IR.pm line 569)
> frame 7: Slim::Hardware::IR::processCode
> (/home/slimp3/slim/server/Slim/Hardware/IR.pm line 429)
> frame 8: Slim::Hardware::IR::releaseCode
> (/home/slimp3/slim/server/Slim/Hardware/IR.pm line 327)
> frame 9: Slim::Hardware::IR::checkRelease
> (/home/slimp3/slim/server/Slim/Utils/Timers.pm line 52)
> frame 10: Slim::Utils::Timers::checkTimers
> (slim/server/slimserver.pl line 394)
> frame 11: main::idle (slim/server/slimserver.pl line 364)
> frame 12: main::main (slim/server/slimserver.pl line 821)
>
> --Jason
>
> Roger Mitchell wrote:
>> I have exactly the same problem - cant use Shoutcast at all but
>> everything
>> else is Ok. Gone back to V.23 5.1.6 but problem is still there. -
>> Roger -----Original Message-----
>> From: discuss-bounces (AT) lists (DOT) slimdevices.com
>> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of kdf
>> Sent: 17 June 2004 18:00
>> To: Slim Devices Discussion
>> Subject: [slim] Choosing ShoutCast on Squeezebox causes
>> connection loss
>> What I get is a message saying shoutcast web site is unavailable, then
>> pressing right after that will crash teh server:
>> Can't use an undefined value as an ARRAY reference at
>> D:/slim/server/Plugins/ShoutcastBrowser.pm line 699.
>> -kdf
>> Quoting Steve Pingry <spingry (AT) hotmail (DOT) com>:
>>> Hello,
>>>
>>> When I choose ShoutCast on the Squeezebox it attempts to connect but
>>> it gives an error message that the connection to the slim server was
>>> lost about
>>>
>>> 10 seconds later. Has anyone else seen this problem or know how to
>>> fix
>> it?
>>> I'm running Windows XP Pro, and I downloaded and installed the
>>> nightly build
>>>
>>> from June 16th (5.1.6). The Squeezebox is working OK other than
>>> that...
>>>
>>> Thanks,
>>>
>>> Steve
>>>
>>>
>>>

dean
2004-06-17, 14:42
I"ve got a fix for this, need to contemplate whether it's worth putting
in 5.2. See bug 383.

On Jun 17, 2004, at 12:38 PM, kdf wrote:

> Quoting Jason Holtzapple <jasonholtzapple (AT) yahoo (DOT) com>:
>
>
>> Use of uninitialized value in pattern match (m//) at
>> /home/slimp3/perl/lib/5.8.4/File/Spec/Unix.pm line 255.
>>
> This one, I'm familiar with. Its a catdir or catfile call on an
> undefined value.
> Sadly, not exactly a good message for saying exactly WHICH
> catdir/catfile call
> is the problem :)
>
> -kdf
>

Jason Holtzapple
2004-06-17, 15:42
It isn't breaking anything on my end, so probably safer to hold off
for post 5.2.

my 2 cents...
--Jason

dean blackketter wrote:
> I"ve got a fix for this, need to contemplate whether it's worth putting
> in 5.2. See bug 383.
>
> On Jun 17, 2004, at 12:38 PM, kdf wrote:
>
>> Quoting Jason Holtzapple <jasonholtzapple (AT) yahoo (DOT) com>:
>>
>>
>>> Use of uninitialized value in pattern match (m//) at
>>> /home/slimp3/perl/lib/5.8.4/File/Spec/Unix.pm line 255.
>>>
>> This one, I'm familiar with. Its a catdir or catfile call on an
>> undefined value.
>> Sadly, not exactly a good message for saying exactly WHICH
>> catdir/catfile call
>> is the problem :)
>>
>> -kdf
>>