[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[abcde] Bug#141576: abcde: separate CD track listing and cddb probing



On Sun, Apr 07, 2002 at 12:08:52AM -0500, Joey Hess wrote:
> - put in CD
> - abcde -a discid
> - put in wireless card
> - abcde -a cddb
> - put in CD
> - abcde

An invocation of 'abcde' makes no assumptions about what CD you *don't*
have in the drive.  How is the second 'abcde' to know which CD you want
to look up?  What if you've done several different 'abcde -a discid'
invocations before 'abcde -a cddb' ?

The only way for it to know is for you to tell it.  That's what the '-C'
option is for (continuing without the CD in the drive).  You can get the
discid by specifying 'none' as the action list.  So the following
sequence should work[0]:

  - put in CD
  - 'abcde -a none'
  - look at the discid reported in the directory name "abcde.d34db33f"
  - put in network card
  - 'abcde -C d34db33f -a cddb'
  - put in CD
  - 'abcde'

> I've hacked around it for now witch a grody pause in do_cddbquery()
> which works for me, but it less than idea.

Well, whatever "witch" gave you a "grody pause", I hope the above
solution is better.  I also hope your laptop keyboard stops giving you
such strange typos :-)

[0] To paraphrase a too-often quoted quote, I have only proven this
solution to be correct, I have not actually executed it.

-- 
 \       "bash awk grep perl sed, df du, du-du du-du, vi troff su fsck |
  `\                  rm * halt LART LART LART!"  -- The Swedish BOFH, |
_o__)                                            alt.sysadmin.recovery |
bignose@zip.com.au  F'print 9CFE12B0 791A4267 887F520C B7AC2E51 BD41714B

To unsubscribe: echo unsubscribe | mail abcde-request@whimsica.lly.org