How do I prevent my cd ripper from overwriting Unknown Album when metadata can't be found
How to pronounce 'C++' in Spanish
How did Captain America manage to do this?
Will tsunami waves travel forever if there was no land?
Critique of timeline aesthetic
US visa is under administrative processing, I need the passport back ASAP
Why do Computer Science majors learn Calculus?
Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?
How can I change the color of a part of a line?
Apply MapThread to all but one variable
What happened to Captain America in Endgame?
How come there are so many candidates for the 2020 Democratic party presidential nomination?
Packing rectangles: Does rotation ever help?
Is contacting this expert in the field something acceptable or would it be discourteous?
The Defining Moment
Why was Germany not as successful as other Europeans in establishing overseas colonies?
Examples of subgroups where it's nontrivial to show closure under multiplication?
How to stop co-workers from teasing me because I know Russian?
Don’t seats that recline flat defeat the purpose of having seatbelts?
Who is the Umpire in this picture?
What is the difference between `command a[bc]d` and `command `a{b,c}d`
Does Gita support doctrine of eternal samsara?
Binary Numbers Magic Trick
Are Boeing 737-800’s grounded?
Shrinkwrap tetris shapes without scaling or diagonal shapes
How do I prevent my cd ripper from overwriting Unknown Album when metadata can't be found
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm starting the longish process of ripping my CD collection. I've got abcde installed with the config from Andrew's Corner. It seems to be working ok but when the metadata fetch fails, the MP3s get written as Unknown Artist and Unknown Album. Which isn't a problem until the second metadata fetch fails. Then the tracks get overwritten. What would be ideal is that the second album gets a number on the name like "Unknown Album 2". Any suggestions on how to accomplish this? Or how to keep the directories from being ovewritten?
multimedia audio-cd ripping
add a comment |
I'm starting the longish process of ripping my CD collection. I've got abcde installed with the config from Andrew's Corner. It seems to be working ok but when the metadata fetch fails, the MP3s get written as Unknown Artist and Unknown Album. Which isn't a problem until the second metadata fetch fails. Then the tracks get overwritten. What would be ideal is that the second album gets a number on the name like "Unknown Album 2". Any suggestions on how to accomplish this? Or how to keep the directories from being ovewritten?
multimedia audio-cd ripping
Serge's answer is best, but a hack is to add the-W1
option. This treats discs as multi CD sets. If a duplicate disc set is found, then the current one is incremented to triple-digits (track 101 instead of 1, for example).
– Klaatu von Schlacker
Jun 6 '16 at 0:09
1
I think the intended usage is that when an unknown cd is found you are prompted to edit the cddb file with the right titles/artist, then abcde carries on with this new info. The altruistic thing to do is to also get abcde to submit the result to freedb which has provided you with info for all the other cds.
– meuh
Jun 6 '16 at 6:18
add a comment |
I'm starting the longish process of ripping my CD collection. I've got abcde installed with the config from Andrew's Corner. It seems to be working ok but when the metadata fetch fails, the MP3s get written as Unknown Artist and Unknown Album. Which isn't a problem until the second metadata fetch fails. Then the tracks get overwritten. What would be ideal is that the second album gets a number on the name like "Unknown Album 2". Any suggestions on how to accomplish this? Or how to keep the directories from being ovewritten?
multimedia audio-cd ripping
I'm starting the longish process of ripping my CD collection. I've got abcde installed with the config from Andrew's Corner. It seems to be working ok but when the metadata fetch fails, the MP3s get written as Unknown Artist and Unknown Album. Which isn't a problem until the second metadata fetch fails. Then the tracks get overwritten. What would be ideal is that the second album gets a number on the name like "Unknown Album 2". Any suggestions on how to accomplish this? Or how to keep the directories from being ovewritten?
multimedia audio-cd ripping
multimedia audio-cd ripping
asked Jun 5 '16 at 19:38
hofohofo
1032
1032
Serge's answer is best, but a hack is to add the-W1
option. This treats discs as multi CD sets. If a duplicate disc set is found, then the current one is incremented to triple-digits (track 101 instead of 1, for example).
– Klaatu von Schlacker
Jun 6 '16 at 0:09
1
I think the intended usage is that when an unknown cd is found you are prompted to edit the cddb file with the right titles/artist, then abcde carries on with this new info. The altruistic thing to do is to also get abcde to submit the result to freedb which has provided you with info for all the other cds.
– meuh
Jun 6 '16 at 6:18
add a comment |
Serge's answer is best, but a hack is to add the-W1
option. This treats discs as multi CD sets. If a duplicate disc set is found, then the current one is incremented to triple-digits (track 101 instead of 1, for example).
– Klaatu von Schlacker
Jun 6 '16 at 0:09
1
I think the intended usage is that when an unknown cd is found you are prompted to edit the cddb file with the right titles/artist, then abcde carries on with this new info. The altruistic thing to do is to also get abcde to submit the result to freedb which has provided you with info for all the other cds.
– meuh
Jun 6 '16 at 6:18
Serge's answer is best, but a hack is to add the
-W1
option. This treats discs as multi CD sets. If a duplicate disc set is found, then the current one is incremented to triple-digits (track 101 instead of 1, for example).– Klaatu von Schlacker
Jun 6 '16 at 0:09
Serge's answer is best, but a hack is to add the
-W1
option. This treats discs as multi CD sets. If a duplicate disc set is found, then the current one is incremented to triple-digits (track 101 instead of 1, for example).– Klaatu von Schlacker
Jun 6 '16 at 0:09
1
1
I think the intended usage is that when an unknown cd is found you are prompted to edit the cddb file with the right titles/artist, then abcde carries on with this new info. The altruistic thing to do is to also get abcde to submit the result to freedb which has provided you with info for all the other cds.
– meuh
Jun 6 '16 at 6:18
I think the intended usage is that when an unknown cd is found you are prompted to edit the cddb file with the right titles/artist, then abcde carries on with this new info. The altruistic thing to do is to also get abcde to submit the result to freedb which has provided you with info for all the other cds.
– meuh
Jun 6 '16 at 6:18
add a comment |
3 Answers
3
active
oldest
votes
#!/bin/bash
id=$cd-discid /dev/cdrom
abcde $@ || exit 1
if [ -d "Unknown Artist/Unknown Album" ]; then
mkdir "Unknown Artist/Unknown Album $id"
mv "Unknown Artist/Unknown Album"/* "Unknown Artist/Unknown Album $id"
fi
add a comment |
Using Serge's idea above, I edited the mungefilename function in the .abcde.conf configuration file.
I started with the configuration file supplied here:
Andew's Corner has a very helpful tutorial
I edited the function to append the first bit of string returned from cd-discid.
mungefilename ()
{
CDDISKIDENT=$(cd-discid "$CDROM")
FIRSTPARTID=$(echo $CDDISKIDENT | cut -d' ' -f1)
echo "$@" | sed "s/Unknown Album/Unknown Album$FIRSTPARTID/" | sed -e 's/^.*//' | tr -d ":><|*/"'?[:cntrl:]"
}
add a comment |
edward estlin's mungfilename function looks good but it means you can't remove the CD until after the FLAC files have been converted from WAV. Any way to keep eject=y?
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f287837%2fhow-do-i-prevent-my-cd-ripper-from-overwriting-unknown-album-when-metadata-cant%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
#!/bin/bash
id=$cd-discid /dev/cdrom
abcde $@ || exit 1
if [ -d "Unknown Artist/Unknown Album" ]; then
mkdir "Unknown Artist/Unknown Album $id"
mv "Unknown Artist/Unknown Album"/* "Unknown Artist/Unknown Album $id"
fi
add a comment |
#!/bin/bash
id=$cd-discid /dev/cdrom
abcde $@ || exit 1
if [ -d "Unknown Artist/Unknown Album" ]; then
mkdir "Unknown Artist/Unknown Album $id"
mv "Unknown Artist/Unknown Album"/* "Unknown Artist/Unknown Album $id"
fi
add a comment |
#!/bin/bash
id=$cd-discid /dev/cdrom
abcde $@ || exit 1
if [ -d "Unknown Artist/Unknown Album" ]; then
mkdir "Unknown Artist/Unknown Album $id"
mv "Unknown Artist/Unknown Album"/* "Unknown Artist/Unknown Album $id"
fi
#!/bin/bash
id=$cd-discid /dev/cdrom
abcde $@ || exit 1
if [ -d "Unknown Artist/Unknown Album" ]; then
mkdir "Unknown Artist/Unknown Album $id"
mv "Unknown Artist/Unknown Album"/* "Unknown Artist/Unknown Album $id"
fi
edited Jan 26 '17 at 13:43
Community♦
1
1
answered Jun 5 '16 at 22:47
SergeSerge
5,75521326
5,75521326
add a comment |
add a comment |
Using Serge's idea above, I edited the mungefilename function in the .abcde.conf configuration file.
I started with the configuration file supplied here:
Andew's Corner has a very helpful tutorial
I edited the function to append the first bit of string returned from cd-discid.
mungefilename ()
{
CDDISKIDENT=$(cd-discid "$CDROM")
FIRSTPARTID=$(echo $CDDISKIDENT | cut -d' ' -f1)
echo "$@" | sed "s/Unknown Album/Unknown Album$FIRSTPARTID/" | sed -e 's/^.*//' | tr -d ":><|*/"'?[:cntrl:]"
}
add a comment |
Using Serge's idea above, I edited the mungefilename function in the .abcde.conf configuration file.
I started with the configuration file supplied here:
Andew's Corner has a very helpful tutorial
I edited the function to append the first bit of string returned from cd-discid.
mungefilename ()
{
CDDISKIDENT=$(cd-discid "$CDROM")
FIRSTPARTID=$(echo $CDDISKIDENT | cut -d' ' -f1)
echo "$@" | sed "s/Unknown Album/Unknown Album$FIRSTPARTID/" | sed -e 's/^.*//' | tr -d ":><|*/"'?[:cntrl:]"
}
add a comment |
Using Serge's idea above, I edited the mungefilename function in the .abcde.conf configuration file.
I started with the configuration file supplied here:
Andew's Corner has a very helpful tutorial
I edited the function to append the first bit of string returned from cd-discid.
mungefilename ()
{
CDDISKIDENT=$(cd-discid "$CDROM")
FIRSTPARTID=$(echo $CDDISKIDENT | cut -d' ' -f1)
echo "$@" | sed "s/Unknown Album/Unknown Album$FIRSTPARTID/" | sed -e 's/^.*//' | tr -d ":><|*/"'?[:cntrl:]"
}
Using Serge's idea above, I edited the mungefilename function in the .abcde.conf configuration file.
I started with the configuration file supplied here:
Andew's Corner has a very helpful tutorial
I edited the function to append the first bit of string returned from cd-discid.
mungefilename ()
{
CDDISKIDENT=$(cd-discid "$CDROM")
FIRSTPARTID=$(echo $CDDISKIDENT | cut -d' ' -f1)
echo "$@" | sed "s/Unknown Album/Unknown Album$FIRSTPARTID/" | sed -e 's/^.*//' | tr -d ":><|*/"'?[:cntrl:]"
}
edited Aug 14 '16 at 14:28
answered Aug 14 '16 at 14:21
edward estlinedward estlin
11
11
add a comment |
add a comment |
edward estlin's mungfilename function looks good but it means you can't remove the CD until after the FLAC files have been converted from WAV. Any way to keep eject=y?
New contributor
add a comment |
edward estlin's mungfilename function looks good but it means you can't remove the CD until after the FLAC files have been converted from WAV. Any way to keep eject=y?
New contributor
add a comment |
edward estlin's mungfilename function looks good but it means you can't remove the CD until after the FLAC files have been converted from WAV. Any way to keep eject=y?
New contributor
edward estlin's mungfilename function looks good but it means you can't remove the CD until after the FLAC files have been converted from WAV. Any way to keep eject=y?
New contributor
New contributor
answered 9 mins ago
Onnie KoskiOnnie Koski
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f287837%2fhow-do-i-prevent-my-cd-ripper-from-overwriting-unknown-album-when-metadata-cant%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Serge's answer is best, but a hack is to add the
-W1
option. This treats discs as multi CD sets. If a duplicate disc set is found, then the current one is incremented to triple-digits (track 101 instead of 1, for example).– Klaatu von Schlacker
Jun 6 '16 at 0:09
1
I think the intended usage is that when an unknown cd is found you are prompted to edit the cddb file with the right titles/artist, then abcde carries on with this new info. The altruistic thing to do is to also get abcde to submit the result to freedb which has provided you with info for all the other cds.
– meuh
Jun 6 '16 at 6:18