Package: mp32ogg
Version: 0.11-8
Severity: normal

A simple regexp problem.  First time I ran into some MP3 files rather
than the typical mp3 files I convert.  The regexp just needs to be
extended to cover the caps file extension.  I've already done this for
myself, working fine, just thought I'd pass on this 'patch':

diff /usr/bin/mp32ogg /home/bardia/bin/mp32ogg
151,152c151,152
<       ($name,$dir,$ext) = fileparse($file,'\.mp\d');
<       if((/\.mp\d/,$ext) && -f $file) {
---
>       ($name,$dir,$ext) = fileparse($file,'\.[mM][pP]\d');
>       if((/\.[mM][pP]\d/,$ext) && -f $file) {
220c220
<               ($filename,$dirname,$ext) =
fileparse($mp3file,'\.mp\d');
---
>               ($filename,$dirname,$ext) =
>               fileparse($mp3file,'\.[mM][pP]\d');

not sure if that's the best way to alter the regular expression, i'm not
a perl user, but i just tried this and it worked =)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mp32ogg depends on:
ii  libmp3-info-perl              1.22-1     Perl MP3::Info - Manipulate / fetc
ii  libstring-shellquote-perl     1.03-1     quote strings for passing through 
ii  mpg321 [mpg123]               0.2.10.3   A Free command-line mp3 player, co
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 
ii  vorbis-tools                  1.1.1-14   several Ogg Vorbis tools

mp32ogg recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to