-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I've been wanting to keep per track cdparanoia logs as part of the archive action I'd like to develop and also to use for reporting if any tracks have ripping issues. There is some example from the mailing list:
[Abcde-users] Updated How to get cdparanoia log?
From: Casey Crockett via Abcde-users
Date: Sun Sep 10 07:34:40 BST 2017
So I have the cdparanoia log output working, but I had to change some code
in abcde. I would prefer to only make changes in the config, but I
couldn't make that work. If you have any suggestions, I would still like
to see them.
Since I was changing code anyway, I made a couple minor modifications as
well. The config file has the following line for output of the log file:
CDPARANOIAOPTS='--log-summary=/tmp/track${UTRACKNUM}.cdparanoia_log'
Next is a diff of abcde version 2.8.1 and my changes. The command was like
"diff /usr/bin/abcde ./custom_abcde" and the output of that follows:
804c804
< run_command '' echo "Tagging track $1 of $TRACKS: $TRACKNAME..."
---
> #run_command '' echo "Tagging track $1 of $TRACKS: $TRACKNAME..."
811a812
> run_command '' echo "Tagging $OUTPUT track $1 of $TRACKS: $TRACKNAME..."
1176c1177
< run_command '' echo "Encoding track $1 of $TRACKS: $TRACKNAME..."
---
> run_command '' echo "Encoding $OUTPUT track $1 of $TRACKS: $TRACKNAME..."
1639a1641,1642
> # custom command to copy cdparanoia log since the OUTPUT variables do not
exist when post_read and post_encode are run
> cp /tmp/track$1.cdparanoia_log "$(dirname "$OUTPUTDIR/$OUTPUTFILE")"
3338c3341
< nice $READNICE $CDROMREADER -$CDPARANOIACDROMBUS "$CDROM"
${READTRACKNUMS:-$UTRACKNUM} "$FILEARG" >&2
---
> nice $READNICE $CDROMREADER $(eval echo "$CDROMREADEROPTS")
-$CDPARANOIACDROMBUS "$CDROM" ${READTRACKNUMS:-$UTRACKNUM} "$FILEARG" >&2
4793c4796
< CDROMREADER="$CDROMREADER $CDROMREADEROPTS"
---
> #CDROMREADER="$CDROMREADER $CDROMREADEROPTS"
5253a5257
> rm /tmp/track??.cdparanoia_log
Thanks.
Casey Crockett
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request