Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 6235

New scanner problem ?

$
0
0
Debugging what looks like a new problem with scanning. Just upgraded my server to OpenSuSe 15.2, Perl 5.26.1

The scanner was working, but only finding a few hundred files, and not of any particular type, just a random mix, but always the same few.
OK, so I'm using 7.9.0 which is a bit old, but the only one that works from an RPM in 15.1 and this was a direct upgrade. (The 7.9.2 RPM appears borked atm)

The LMS code is the same in git, so this may be relevant to all.

In Async.pm, on 90% of my files were coming up zero length here, which LMS thinks a directory. I commented out the conditional as shown. The existing comment suggests the code was possibly fishy already. My library is now working consistently. I'd suggest this change anyway, per the comment. AIO.pm might need looking at too.

Anyone else see the same issue ?

Code:

                # XXX Not sure why, but sometimes there is no cached stat data available?!
#                if ( !(stat _)[9] ) {
                        stat $file;
#                }


Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>