<!doctype html public "-//W3C//DTD W3 HTML//EN">
<head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [slimp3-dev] Scan
problems...</title></head><body>
<div>Uh, I haven't looked lately, but at one point you had commented
out a stat on directories:</div>
<div><br></div>
<div><x-tab>
</x-tab><x-tab> </x-tab>#
check the cache for the item...<br>
<x-tab>
</x-tab><x-tab> </x-tab>if
(!$recursive) {<br>
<x-tab>
</x-tab><x-tab>
</x-tab><x-tab> </x-tab>if
(defined $playlistCache{ $playlisturl }) {<br>
<x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab>$::d_f && print "*** found $playlisturl in
playlistCache ***\n";<br>
<x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab> </x-tab><br>
<x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab>#check the modification time...<br>
<x-tab> </x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab> </x-tab>if
((stat($playlistpath))[9] < $playlistCacheAge{$playlisturl}) {<br>
<x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab>return @{ $playlistCache{ $playlisturl } };<br>
<x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab> </x-tab>}
else {<br>
<x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab>$::d_f && print "*** but the cache entry is out
of date... ***\n";<br>
<x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab>}<br>
<x-tab>
</x-tab><x-tab>
</x-tab><x-tab> </x-tab>}
else {<br>
<x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab><x-tab>
</x-tab>$::d_f && print "*** didn't find $playlisturl in
playlistCache ***\n";<br>
<x-tab> </x-tab><x-tab>
</x-tab><x-tab>
</x-tab>}<br>
<x-tab>
</x-tab><x-tab>
</x-tab>}<br>
</div>
<div><br></div>
<div>I don't see any calls to stat now, but maybe it's in there.</div>
<div><br></div>
<div>The web interface still doesn't work for me:</div>
<div><br></div>
<div>print() on closed filehandle Symbol::GEN3 at </div>
<div>/Users/dean/slimp3/server/lib/SliMP3/HTTP.pm line 222.</div>
<div><br></div>
<div><br></div>
<div><br></div>
<blockquote type="cite" cite>huh, where?<br>
<br>
There's almost nothing left of the original playlistget logic - it's
all<br>
been rewritten (and it's not complete yet). Which bit are you
referring<br>
to?<br>
<br>
Also, do another update - the server should be sorta working now.<br>
<br>
<br>
<br>
On Sun, 3 Feb 2002, dean blackketter wrote:<br>
<br>
> One more thing sean:<br>
><br>
> Can you fix the problem where you commented out the stat'ing
of<br>
> directories when scanning them? New music and directories
should be<br>
> found on the fly...<br>
><br>
> -dean<br>
><br>
> >I know - it's a lot of changes. It was working at one point,
but then when<br>
> >I went to check it in there were some conflicts. I'm trying
to sort it out<br>
> >now.<br>
> ><br>
> ><br>
> >On Sun, 3 Feb 2002, dean blackketter wrote:<br>
> ><br>
> >> Sean,<br>
> >><br>
> >> I start up the server and get lots of these:<br>
> >><br>
> >> Use of uninitialized value in numeric comparison
(<=>) at<br>
> >> /Users/dean/slimp3/server/lib/SliMP3/Scan.pm line
187, <DATA> line 36.<br>
> >><br>
> >> And then a whole bunch of these:<br>
> >><br>
> >> Use of uninitialized value in concatenation (.)
at<br>
> >> /Users/dean/slimp3/server/lib/SliMP3/Animation.pm
line 79, <DATA><br>
> >> line 36.<br>
> >><br>
> >> I don't want to mess with your stuff (although I
am turning off your<br>
> >> debugging messages...) Can you take a look at
this?<br>
> >><br>
> >> -dean<br>
> >><br>
> >><br>
> >> To unsubscribe from this group, send an email
to:<br>
> >> slimp3-dev-unsubscribe-***@public.gmane.org<br>
> >><br>
> >><br>
> >><br>
> >> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/<br>
> >><br>
> >><br>
> >><br>
> ><br>
> ><br>
> ><br>
> >To unsubscribe from this group, send an email to:<br>
> >slimp3-dev-unsubscribe-***@public.gmane.org<br>
> ><br>
> ><br>
> ><br>
> >Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/<br>
><br>
><br>
><br>
> To unsubscribe from this group, send an email to:<br>
> slimp3-dev-unsubscribe-***@public.gmane.org<br>
><br>
><br>
><br>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/<br>
><br>
><br>
><br>
<br>
<br>
------------------------ Yahoo! Groups Sponsor
---------------------~--><br>
Sponsored by VeriSign - The Value of Trust<br>
Secure all your Web servers now - with a proven 5-part<br>
strategy. The FREE Server Security Guide shows you how.<br>
http://us.click.yahoo.com/iWSNbC/VdiDAA/yigFAA/rIp0lB/TM<br>
---------------------------------------------------------------------<span </span>~-><br>
<br>
To unsubscribe from this group, send an email to:<br>
slimp3-dev-unsubscribe-***@public.gmane.org<br>
<br>
<br>
<br>
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/ </blockquote>
<div><br></div>
</body>
</html>