* Abel Daniel <[EMAIL PROTECTED]> [2005-06-10 00:29]:
> (Am I right that this bug isn't closed?)
No, it's not a bug but user error.
> example:
...
> The above shows that "jack -d -R" has no effect, while "jack -R" has.
Yes, which is really what you would expect given that -d is defined in
the man page as:
-d, --dont-work
don’t do DAE, encoding, tagging or renaming. This may be useful
if
you only want to do a freedb query, e.g. while another jack is
running.
Note the "or renaming".
Anyway, let's look at the original bug report:
> [EMAIL PROTECTED]:/share/music/jack$ jack -R -d --workdir
> Eurythmics/Greatest\ Hits/
> This is jack 2.99.9 (C) 2002 Arne Zellentin <[EMAIL PROTECTED]>
> Traceback (most recent call last):
> File "/usr/bin/jack", line 1133, in gettoc
> exec(helpers[toc_prog]['toc_fkt'])
> File "<string>", line 3, in ?
> error: (5, 'Input/output error')
> Trouble reading the disk's TOC. If you already ripped the CD, you'll have to
> cd into the created directory which is either named after the CD's title
> or still called jack-xxxxxxxx (xxxxxxxx is a hex number).
As Michael pointed out, --workdir has nothing to do with the directory
of the current CD but simply specifies where jack creates those
directories. As you can see in the "Input/output error", the CD was
not in the CD drive and the user was in /share/music/jack. How should
jack figure out which album to work on - there might be several under
/share/music/jack. As the error message says, you either have to
- insert the CD
or
- go to the directory.
And this works well:
-> with CD in drive
1755:[EMAIL PROTECTED]: ~/tmp/jack] /usr/bin/jack -R -t 1
This is jack 3.1.1 (C)2004 Arne Zellentin <[EMAIL PROTECTED]>
*info* matching dir found: /home/tbm/tmp/jack/xzibit/restless
Tagging.
Done with "Xzibit - Restless".
Avg. bitrate: 142kbit
-> let's remove the CD from the drive
1756:[EMAIL PROTECTED]: ~/tmp/jack] /usr/bin/jack -R -t 2
This is jack 3.1.1 (C)2004 Arne Zellentin <[EMAIL PROTECTED]>
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/jack_functions.py", line 134,
in gettoc
exec(jack_helpers.helpers[toc_prog]['toc_fkt'])
File "<string>", line 4, in ?
error: (5, 'Input/output error')
Trouble reading the disk's TOC. If you already ripped the CD, you'll have to
cd into the created directory which is either named after the CD's title
or still called jack-xxxxxxxx (xxxxxxxx is a hex number).
zsh: exit 1 /usr/bin/jack -R -t 2
-> let's CD to the right directory
1757:[EMAIL PROTECTED]: ~/tmp/jack] cd xzibit/restless
1758:[EMAIL PROTECTED]: ~/tmp/jack/xzibit/restless] /usr/bin/jack -R -t 2
This is jack 3.1.1 (C)2004 Arne Zellentin <[EMAIL PROTECTED]>
Tagging.
Done with "Xzibit - Restless".
Avg. bitrate: 138kbit
So everything's working as it should.
--
Martin Michlmayr
http://www.cyrius.com/