You are not logged in.

#1 2011-01-12 15:05:52

silenc3r
Member
From: Poland
Registered: 2009-08-29
Posts: 149

[solved] Cmus - wrong artist name recognition in library view

I had recently discovered Cmus - great cli player that already replaced my mpd+ncmpcpp, but I've encountered one annoying issue. Some artist names are not recognized properly in library view. The weird thing is, it works fine in 'current playing' line. Here's how it looks:
Cmus with broken charset
Some artist name tags are not recognized at all (<No Name>) or replaced by Japanese(?) characters. *Most* artists are identified properly though.
I haven't had such problems with any other players I used before (ncmpcpp, moc, mplayer, deadbeef).

Easytag also reads the tags properly:
easytag

So far I've tried to delete all tags -> save files -> fill tags again, but it didn't worked.

Easytag is using UTF-8 and possibly ISO-8859-2, as shown on the screenshot above.
Setting in cmus id3_default_charset to ISO-8859-2, UTF-8 or any other charset doesn't help.

Does anyone experienced anything similar?

--------------------------
Edit:
I've found out, that cmus doesn't support id3v2.4, but only id3v2.3. Re-encoding 2761 mp3's with Easytag took "only" 2 hours, and vanished tags in approx 150 files.

I also had to delete ~/.cmus folder and reinstall application to get UTF-8 encoding working, but everything is fine now.

I hope it helps somebody, because I've seen many topics with the same issue on the internet, but no solution.

Dawid Z

ps. sorry for my english, it's not my native language

Last edited by silenc3r (2011-01-12 20:36:12)

Offline

#2 2011-01-13 09:09:28

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: [solved] Cmus - wrong artist name recognition in library view

Where did you get the information from, that cmus doesn't support id3v2.4? I only use v2.4 and cmus never had a problem reading all these tags...

Offline

#3 2011-01-13 10:22:23

silenc3r
Member
From: Poland
Registered: 2009-08-29
Posts: 149

Re: [solved] Cmus - wrong artist name recognition in library view

ber_t wrote:

Where did you get the information from, that cmus doesn't support id3v2.4? I only use v2.4 and cmus never had a problem reading all these tags...

I haven't found any to be honest, but here is some note (which I don't understand and still don't know how to add compilation album to library) about id3v2.3 I got inspired by.

I also forgot to mention that it happens only to tags which include non-english characters like: ó, ð, á, Í, ö, ø, ă, î and such.

I'm a little bit confused now. After converting the tracks back to v2.4 everything's fine. However the tracks that have not been converted to v2.3 and again are still not recognized properly.

I did some testing:
add new not edited album to the library (after checking in Easytag if tags are fine) -> tags not recognized  by cmus
change to v2.3 -> tags ok
change back to v2.4 -> tags ok

Of course every time I did change in tags I had to delete .cmus directory.

I don't get it. I guess the only solution is to convert tags to v2.3 and (optionally) back to v2.4 every time I have such problems...

Edit: typos

Last edited by silenc3r (2011-01-13 10:24:26)

Offline

#4 2011-01-13 11:44:22

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: [solved] Cmus - wrong artist name recognition in library view

silenc3r wrote:

I haven't found any to be honest, but here is some note (which I don't understand and still don't know how to add compilation album to library) about id3v2.3 I got inspired by.

It simply says, that cmus detects compilations by looking for the TCMP frame. I don't know Easytag, but there has to be some way, to insert this frame into the files' id3 v2.3/v2.4 tags. The other contents of the tags for tracks belonging to a compliation should be the same as for any other track.

I've never had any encoding problems after switching to cmus, although I have a lot umlauts in the tags. But that doesn't matter, because you already found a workaround...

Offline

#5 2011-01-13 12:07:56

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [solved] Cmus - wrong artist name recognition in library view

Sounds like it's probably not the tag format, but the character encoding format of the tag entries – some tags are in UTF-8 and others are not.

Offline

#6 2015-06-09 09:57:27

kursion
Member
Registered: 2013-10-22
Posts: 2

Re: [solved] Cmus - wrong artist name recognition in library view

I would suggest you to remove the cache after doing modifications. It worked for me.

rm ~/.config/cmus/cache

I could use 3.2.4 set on Unicode (UTF-8).

Last edited by kursion (2015-06-09 10:03:03)

Offline

#7 2015-06-10 22:15:13

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,373
Website

Re: [solved] Cmus - wrong artist name recognition in library view

I'm glad that worked for you, kursion, but this is a four and a half year old "solved" thread. Please don't necrobump.

https://wiki.archlinux.org/index.php/Fo … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB