abcde encodes to a wrong directory

Bug #979228 reported by Antti Laiti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
abcde (Ubuntu)
New
Undecided
Unassigned

Bug Description

I ran into this weird situation with abcde:

When I set OUTPUTDIR to /media/ida/music/flac, a directory '/media/ida/music/flac/flac' is created and files go there.
When I set OUTPUTDIR to /media/ida/music, the files go to /media/ida/music.

So on the first case abcde creates an extra directory 'flac' into the OUTPUTDIR I’ve set and puts the files there.

So far I’ve found only this ugly workaround for the situation: $ cd /media/ida/music/flac && ln -s . flac.

Some more or less relevant information:

$ aptitude show abcde
Package: abcde
State: installed
Automatically installed: no
Version: 2.4.2-1ubuntu1
Priority: optional
Section: universe/sound

$ aptitude show flac
Package: flac
New: yes
State: installed
Automatically installed: no
Version: 1.2.1-6
Priority: optional
Section: sound

$ cat ~/.abcde.conf
CDDBPROTO=6
CDDBLOCALDIR=~/.cddb
CDDBCOPYLOCAL=y
FLACENCODERSYNTAX=flac
FLACOPTS='-8 -V'
CDROMREADERSYNTAX=cdparanoia
KEEPWAVS=n
CDSPEEDVALUE=8
SHOWCDDBFIELDS=year,genre
OUTPUTDIR=/media/ida/music/flac
WAVOUTPUTDIR=/home/files/nobackup/cache/cdrip
KEEPWAVS=n
OUTPUTTYPE=flac
OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}/${CDYEAR}_${ALBUMFILE}/${TRACKNUM}_-_${TRACKFILE}'
VAOUTPUTFORMAT='${OUTPUT}/kokoelmat/${YEARFILE}_${ALBUMFILE}/${TRACKNUM}_-_${TRACKFILE}'
MAXPROCS=2
COMMENT='abcde-flac'
EJECTCD=y
mungefilename ()
{
      echo "$@" | sed s,:,\ -,g | tr \ / __ | tr -d \'\"\?\[:cntrl:\] | tr "[:upper:]" "[:lower:]" | sed s/[Ää]/a/g | sed s/[Öö]/o/g
}

mungegenre ()
{
       echo $CDGENRE | tr "[:upper:]" "[:lower:]"
}

$ grep ida /proc/mounts
//ida/usb /media/ida cifs rw,nosuid,nodev,noexec,relatime,sec=ntlm,unc=\\ida\usb,username=admin,uid=1000,forceuid,gid=44,forcegid,addr=172.18.55.1,unix,posixpaths,serverino,acl,rsize=61440,wsize=65536,actimeo=1 0 0

$ uname -a
Linux ceicel 3.2.0-22-generic #35-Ubuntu SMP Tue Apr 3 18:33:15 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)"

Revision history for this message
Antti Laiti (pulk) wrote :

Reported also for Debian as it is the official bug reporting channel for abcde:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705670

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.