Problem with non ascii chars and comments

73 views
Skip to first unread message

Ludovic Robinot

unread,
Oct 20, 2015, 7:56:12 AM10/20/15
to beets
Hi,

I'm new at using beets, what a wonderful tool! I encounter two small issues:

1) Problem with special characters (unicode) artist names

CHURCHES are a Scottish electronic band (pronounced as "churches" and stylised as CHVRCHΞS). As MusicBrainz.org uses the stylised name as artist name (note that it's only used for albums, not for EP, huh????)


As I do not want these kind of characters on disk, I used asciify_paths: yes in my configuration file, nice!

But the result is "CHVRCHKsS" ... not so nice.

My second idea was to add a new replace pattern

replace:
  'Ξ': E

But it fails again!

My question is: is there a way to fix MusicBrainz data ? Or at least a way to write CHVRCHES, instead of CHVRCHKsS on disk?

The first version of the fix should ease the beet search, the second option only ease the use of an USB drive for my car :)

2) Problem with comments

I am using the new zero plugin configuration parameter "keep_fields" with the scrub plugin:

scrub:
  auto: yes

zero:
  keep_fields: album albumartist artist disc disctitle disctotal genre grouping rg_album_gain rg_album_peak rg_track_gain rg_track_peak title track tracktotal year mb_trackid images

As you can see there is no comments in keep_fields, so all comments tags should be removed, but :

$ eyeD3 /music/CHVRCHKsS\ -\ 2015\ -\ Every\ Open\ Eye/01\ -\ CHVRCHKsS\ -\ Every\ Open\ Eye\ -\ Never\ Ending\ Circles.mp3 
01 - CHVRCHKsS - Every Open Eye - Never Ending Circles.mp3 [ 7.15 MB ]
-------------------------------------------------------------------------------
Time: 03:06 MPEG1, Layer III [ 320 kb/s @ 44100 Hz - Stereo ]
-------------------------------------------------------------------------------
ID3 v2.4:
title: Never Ending Circles
artist: CHVRCHΞS
album: Every Open Eye
album artist: CHVRCHΞS
recording date: 2015
track: 1/11
disc: 1/1
Unique File ID: [http://musicbrainz.org] : c1245555-22e8-4b1f-839e-0872c0abcef7
Comment: [Description: iTunNORM] [Lang: eng]
 00000502 00000502 00000C86 00000C86 00000000 00000000 000035B5 000035B5 00000000 00000000
UserTextFrame: [Description: REPLAYGAIN_ALBUM_GAIN]
-0.35 dB
UserTextFrame: [Description: REPLAYGAIN_ALBUM_PEAK]
0.544525
UserTextFrame: [Description: REPLAYGAIN_TRACK_GAIN]
-1.08 dB
UserTextFrame: [Description: REPLAYGAIN_TRACK_PEAK]
0.419586
FRONT_COVER Image: [Size: 20013 bytes] [Type: image/jpeg]
Description: 

-------------------------------------------------------------------------------

How to fix this?

Thank you very much for any answers :)

Adrian Sampson

unread,
Oct 20, 2015, 12:30:59 PM10/20/15
to beets...@googlegroups.com

> On Oct 20, 2015, at 4:56 AM, Ludovic Robinot <lrob...@gmail.com> wrote:
>
> I'm new at using beets, what a wonderful tool!

Fantastic!

> 1) Problem with special characters (unicode) artist names

You can change the artist name to anything you like with the `modify` command.

beet modify albumartist=CHVRCHES albumartist:CHVRCHΞS

> 2) Problem with comments

Are you referring to the iTunNORM field? That’s not considered a comment by beets; it’s an implementation of ReplayGain normalization. Unfortunately, eyed3 labels it as a “comment” for some reason.

Adrian


Ludovic Robinot

unread,
Oct 20, 2015, 9:01:21 PM10/20/15
to beets
Thanks for all ! It works ...
Reply all
Reply to author
Forward
0 new messages