Bug 15691 - Audio::Scan is out of date and buggy in the 7.4.1 build
: Audio::Scan is out of date and buggy in the 7.4.1 build
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.4.1
: PC Ubuntu Linux
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-12 10:53 UTC by squeeze
Modified: 2010-02-12 16:33 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 squeeze 2010-02-12 10:53:29 UTC
This is from 7.4.1 which is the version pointed to by http://www.mysqueezebox.com/download

The current bundled version of Audio::Scan crashes on certain files. I downloaded and built the latest version from:
  http://search.cpan.org/dist/Audio-Scan/lib/Audio/Scan.pm
and it fixes the problem:

==
srp@diskbox:~/squeezebox_death$ uname -a
Linux diskbox 2.6.31-19-server #56-Ubuntu SMP Thu Jan 28 03:40:48 UTC 2010 x86_64 GNU/Linux
srp@diskbox:~/squeezebox_death$ perl --version

This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi

Copyright 1987-2007, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

srp@diskbox:~/squeezebox_death$ wget -q http://www.archive.org/download/romeo_juliet_1001_librivox/romeo_0_shakespeare_64kb.mp3

srp@diskbox:~ $ grep 'VERSION =' /usr/share/squeezeboxserver/CPAN/Audio/Scan.pm
our $VERSION = '0.44';
srp@diskbox:~ $ perl -I/usr/share/squeezeboxserver/CPAN -I/usr/share/squeezeboxserver/CPAN/arch/5.10/x86_64-linux-thread-multi -MAudio::Scan -e 'print Audio::Scan->scan("/home/srp/squeezebox_death/romeo_0_shakespeare_64kb.mp3")->{tags}->{TIT2} . "\n";'
Segmentation fault

srp@diskbox:~/src/downloads/Audio-Scan-0.59$ perl -Ilib -Iblib/arch -MAudio::Scan -e 'print Audio::Scan->scan("/home/srp/squeezebox_death/romeo_0_shakespeare_64kb.mp3")->{tags}->{TIT2} . "\n";'
0 - Prologue
srp@diskbox:~/src/downloads/Audio-Scan-0.59$ grep 'VERSION =' lib/Audio/Scan.pm
our $VERSION = '0.59';
==

Can the latest version be pushed to the release?

Thanks!

srp
Comment 1 KDF 2010-02-12 16:11:04 UTC
I believe 0.58 is already being used in the nightly 7.4.2 builds.  Please try that. 7.4.1 is a released package, so no changes will be done to that.

http://downloads.slimdevices.com/nightly/?ver=7.4
Comment 2 squeeze 2010-02-12 16:33:39 UTC
Cool bananas, 7.4.2 works for me! Thanks very much.

(Not that I now care but I did see others experiencing this in various forums so the release of 7.4.2 will make them happy.)

srp