summaryrefslogtreecommitdiff
path: root/audio/abcde/glyrc-locale.diff
diff options
context:
space:
mode:
Diffstat (limited to 'audio/abcde/glyrc-locale.diff')
-rw-r--r--audio/abcde/glyrc-locale.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/abcde/glyrc-locale.diff b/audio/abcde/glyrc-locale.diff
new file mode 100644
index 0000000000..3234ffa19b
--- /dev/null
+++ b/audio/abcde/glyrc-locale.diff
@@ -0,0 +1,14 @@
+glyrc may fail to find covers if the locale isn't English. Reported under
+https://abcde.einval.com/bugzilla/show_bug.cgi?id=83.
+
+--- abcde-2.9.1.orig/abcde 2018-03-10 00:03:50.000000000 +0100
++++ abcde-2.9.1/abcde 2018-05-21 15:13:59.789577384 +0200
+@@ -3244,7 +3244,7 @@
+ # use glyrc
+ if [ ! -s "${ABCDETEMPDIR}/$ALBUMARTFILE" ]; then
+ vecho "trying to get cover with glyrc for $ARTISTFILE / $ALBUMFILE" >&2
+- $GLYRC cover --artist "$ARTISTFILE" --album "$ALBUMFILE" --write "${ABCDETEMPDIR}/$ALBUMARTFILE" $GLYRCOPTS
++ env LC_ALL=C $GLYRC cover --artist "$ARTISTFILE" --album "$ALBUMFILE" --write "${ABCDETEMPDIR}/$ALBUMARTFILE" $GLYRCOPTS
+ if [ $? -ne 0 ]; then
+ vecho "could not download cover with glyrc" >&2
+ else