Discussion:
problems with cyrillic ID3 tags
Vladimir Todorov
2013-01-25 12:39:34 UTC
Permalink
Hi guys,

Today I installed cmus on my computer in the office (after re-install) and
I noticed that I cannot read the ID3 tags that are written in cyrillic.
They look weird - screenshots attached. I tried to change both charset
options available in the settings to UTF8, UTF-8, utf8, utf-8, cp1251,
Windows-CP1251 and some other options but this didn't help. It is perfectly
fine on my computer at home but it uses different cmus version and I may
have several packages installed that I do not have here (at the office).
cmus --version ~
cmus v2.5.0-8-g1f9b415
Copyright 2004-2006 Timo Hirvonen
Copyright 2008-2011 Various Authors

I am running debian squeeze 64 bit.
Can someone help me?

Regards,
Vladimir
Vladimir Todorov
2013-01-25 15:45:50 UTC
Permalink
Hi,

I installed cmus v2.3.3 from the official repository and everything is fine
now - I see titles in cyrillic and the music is divided properly ; )
I noticed something interesting though.
The 'artists' from the ID3 tags were not loaded correctly. My music was
divided into albums not artists. Maybe there is something wrong with my
installation I don't know.

Regards,
Vladimir
Post by Vladimir Todorov
Hi guys,
Today I installed cmus on my computer in the office (after re-install) and
I noticed that I cannot read the ID3 tags that are written in cyrillic.
They look weird - screenshots attached. I tried to change both charset
options available in the settings to UTF8, UTF-8, utf8, utf-8, cp1251,
Windows-CP1251 and some other options but this didn't help. It is perfectly
fine on my computer at home but it uses different cmus version and I may
have several packages installed that I do not have here (at the office).
cmus --version ~
cmus v2.5.0-8-g1f9b415
Copyright 2004-2006 Timo Hirvonen
Copyright 2008-2011 Various Authors
I am running debian squeeze 64 bit.
Can someone help me?
Regards,
Vladimir
Gregory Petrosyan
2013-01-28 06:34:56 UTC
Permalink
Today I installed cmus on my computer in the office (after re-install) and I
noticed that I cannot read the ID3 tags that are written in cyrillic. They
look weird - screenshots attached. I tried to change both charset options
available in the settings to UTF8, UTF-8, utf8, utf-8, cp1251,
Windows-CP1251 and some other options but this didn't help. It is perfectly
fine on my computer at home but it uses different cmus version and I may
have several packages installed that I do not have here (at the office).
cmus --version ~
cmus v2.5.0-8-g1f9b415
Can you please make sure that

1) when running `./configure` before building cmus, it does *not*
output "Your system doesn't have iconv!"
2) you have the line `set id3_default_charset=cp1251` in your ~/.cmus/rc

?

Gregory
Vladimir Todorov
2013-01-28 12:31:24 UTC
Permalink
FYI

---------- Forwarded message ----------
From: Vladimir Todorov <***@gmail.com>
Date: Mon, Jan 28, 2013 at 2:30 PM
Subject: Re: problems with cyrillic ID3 tags
To: Gregory Petrosyan <***@gmail.com>


Hi,

This is my ./configure:

checking for program gcc... /usr/bin/gcc
checking for program gcc... /usr/bin/gcc
checking for CFLAGS -std=gnu99 -pipe -Wall -Wshadow -Wcast-align
-Wpointer-arith -Wwrite-strings -Wundef -Wmissing-prototypes
-Wredundant-decls -Wextra -Wno-sign-compare -Wformat-security... yes
checking for CFLAGS -Wdeclaration-after-statement... yes
checking for CFLAGS -Wold-style-definition... yes
checking for CFLAGS -Wno-pointer-sign... yes
checking for CFLAGS -Werror-implicit-function-declaration... yes
checking for CFLAGS -Wno-unused-parameter... yes
checking if CC can generate dependency information... yes
checking byte order... little-endian
checking for DL_LIBS (-ldl -Wl,--export-dynamic)... yes
checking for PTHREAD_LIBS (-lpthread)... yes
checking for realtime scheduling... yes
checking for NCURSES_LIBS (-lncursesw)... no
checking for NCURSES_LIBS (-lncurses)... yes
*** Your ncurses does not support wide characters!
*** Install ncursesw if you need wide character support,
*** you can ignore this warning otherwise.
checking for working ncurses setup... yes
checking for function resizeterm... yes
checking for function use_default_colors... yes
checking for ICONV_LIBS (-liconv)... yes
taking iconv from libiconv
checking for working iconv... yes
checking for header <byteswap.h>... yes
checking for function strdup... yes
checking for function strndup... yes
checking for program pkg-config... /usr/bin/pkg-config
checking for CDDB_LIBS (pkg-config)... no
checking for CDDB_LIBS (-lcddb)... no
checking for CDIO_LIBS (pkg-config)... no
checking for CDIO_LIBS (-lcdio_cdio -lcdio -lm)... no
checking for FLAC_LIBS (pkg-config)... -lFLAC -lm
checking for FLAC_CFLAGS (pkg-config)... -I/usr/include/FLAC
checking for MAD_LIBS (pkg-config)... no
checking for MAD_LIBS (-lmad -lm)... no
checking for MODPLUG_LIBS (pkg-config)... no
checking for MODPLUG_LIBS (-lmodplug -lstdc++ -lm)... no
checking for header <mpc/mpcdec.h>... no `set id3_default_charset=cp1251`
checking for header <mpcdec/mpcdec.h>... no
checking for VORBIS_LIBS (pkg-config)... -lvorbisfile -lvorbis -lm -logg
checking for VORBIS_CFLAGS (pkg-config)...
checking for WAVPACK_LIBS (pkg-config)... -lwavpack -lm
checking for WAVPACK_CFLAGS (pkg-config)...
checking for header <mp4v2/mp4v2.h>... no
checking for header <mp4.h>... no
checking for header <neaacdec.h>... no
checking for FFMPEG_LIBS (pkg-config)... -lavformat
checking for FFMPEG_CFLAGS (pkg-config)...
checking for header <libavcodec/avcodec.h>... yes
checking for successful build of ffmpeg.c... yes
checking for CUE_LIBS (pkg-config)... -lcue
checking for CUE_CFLAGS (pkg-config)... -I/usr/include/libcue-1.4
checking for PULSE_LIBS (pkg-config)... -lpulse
checking for PULSE_CFLAGS (pkg-config)... -D_REENTRANT
checking for ALSA_LIBS (pkg-config)... no
*** Package alsa was not found in the pkg-config search path.
*** Perhaps you should add the directory containing `alsa.pc'
*** to the PKG_CONFIG_PATH environment variable
*** No package 'alsa' found
checking for AO_LIBS (pkg-config)... no
checking for AO_LIBS (-lao)... no
checking for program artsc-config... no
checking for header <sys/soundcard.h>... yes `set
id3_default_charset=cp1251`
checking for header <sys/audioio.h>... no
checking for ROAR_LIBS (pkg-config)... no
*** Package libroar was not found in the pkg-config search path.
*** Perhaps you should add the directory containing `libroar.pc'
*** to the PKG_CONFIG_PATH environment variable
*** No package 'libroar' found


./configure | grep iconv
checking for ICONV_LIBS (-liconv)... yes
taking iconv from libiconv
checking for working iconv... yes


At first I didn't have iconv libraries but I installed them. After that
`make clean`, .`/configure`, `make` and I still have the same problems.
Note: I run cmus from the directory where I built it.
I also didn't have `set id3_default_charset=cp1251` in the rc file but I
had that specified in the options (view 7).
And another thing - the version from the pu branch does not order the
library as it should - screenshot attached.
Note: cmus v2.3.3 from the official repo shows the cyrillic tags and orders
the library as expected.
cmus-remote -Q
~/lib/cmus
status playing
file /media/usb/mp3/Alice In Chains/Angry Chair (1993)/Alice In Chains -
Angry Chair.mp3
duration 291
position 0
tag artist Alice in Chains
tag album Angry Chair
tag title Angry Chair
tag date .
tag genre Grunge
tag tracknumber 01
tag albumartist Alice in Chains
set aaa_mode all
set continue true
set play_library true
set play_sorted false
set replaygain disabled
set replaygain_limit true
set replaygain_preamp 6.000000
set repeat false
set repeat_current false
set shuffle false
set softvol false
set vol_left 100
set vol_right 100


while cmus from pu branch is playing:
status playing
file /media/usb/mp3/Alice In Chains/Angry Chair (1993)/Alice In Chains -
Angry Chair.mp3
duration 291
position 3
tag title Angry Chair
tag album Angry Chair
tag comment h8me..as alwayz
tag tracknumber 1
tag genre Grunge
set aaa_mode all
set continue true
set play_library true
set play_sorted false
set replaygain disabled
set replaygain_limit true
set replaygain_preamp 6.000000
set repeat false
set repeat_current false
set shuffle false
set softvol false
set vol_left 100
set vol_right 100

In the later case there is no "tag artist Alice in Chains".

Ideas?

Thanks,
Vladimir
Gregory Petrosyan
2013-01-29 15:16:21 UTC
Permalink
Post by Vladimir Todorov
./configure | grep iconv
checking for ICONV_LIBS (-liconv)... yes
taking iconv from libiconv
checking for working iconv... yes
Looks OK.
Post by Vladimir Todorov
And another thing - the version from the pu branch does not order the
library as it should - screenshot attached.
Note: cmus v2.3.3 from the official repo shows the cyrillic tags and orders
the library as expected.
cmus-remote -Q
~/lib/cmus
status playing
file /media/usb/mp3/Alice In Chains/Angry Chair (1993)/Alice In Chains -
Angry Chair.mp3
duration 291
position 0
tag artist Alice in Chains
tag album Angry Chair
tag title Angry Chair
tag date .
tag genre Grunge
tag tracknumber 01
tag albumartist Alice in Chains
set aaa_mode all
set continue true
set play_library true
set play_sorted false
set replaygain disabled
set replaygain_limit true
set replaygain_preamp 6.000000
set repeat false
set repeat_current false
set shuffle false
set softvol false
set vol_left 100
set vol_right 100
status playing
file /media/usb/mp3/Alice In Chains/Angry Chair (1993)/Alice In Chains -
Angry Chair.mp3
duration 291
position 3
tag title Angry Chair
tag album Angry Chair
tag comment h8me..as alwayz
tag tracknumber 1
tag genre Grunge
set aaa_mode all
set continue true
set play_library true
set play_sorted false
set replaygain disabled
set replaygain_limit true
set replaygain_preamp 6.000000
set repeat false
set repeat_current false
set shuffle false
set softvol false
set vol_left 100
set vol_right 100
In the later case there is no "tag artist Alice in Chains".
Ideas?
Something is probably broken in cmus :-)

Can you please create 2 separate bugs on the GitHub issue tracker
(https://github.com/cmus/cmus/issues), with all the info you have?

You'll need to either provide the files on which cmus is not working
properly, or (highly recommended :-) run `git bisect`
(http://git-scm.com/book/en/Git-Tools-Debugging-with-Git#Binary-Search)
a few times in order to find the guilty commit — can you please try to
do that?

Thanks a lot for the bug report.

Gregory
Vladimir Todorov
2013-01-29 16:19:39 UTC
Permalink
Hi,

I tried several commits from 2011 but I still had the same problem.
I reported my findings here: https://github.com/cmus/cmus/issues/18 (this
is one of the issues) but now I think that the problem is probably in my
computer only. I think so because I went back to a commit which fixes an
issue that I reported and I had the same issues as described in previous
emails ( the cyrillic problem and the problem with the sorting of the
library). Now I know that I tested the commit but I am not sure if I tested
it with cyrillic names. I also think that cmus ordered the library as
expected then. I explained this in more details in the bug. Can someone
verify if the mp3 file is displayed correctly? This will give us a
direction.

Thanks,
Vladimir


On Tue, Jan 29, 2013 at 5:16 PM, Gregory Petrosyan <
Post by Gregory Petrosyan
Post by Vladimir Todorov
./configure | grep iconv
checking for ICONV_LIBS (-liconv)... yes
taking iconv from libiconv
checking for working iconv... yes
Looks OK.
Post by Vladimir Todorov
And another thing - the version from the pu branch does not order the
library as it should - screenshot attached.
Note: cmus v2.3.3 from the official repo shows the cyrillic tags and
orders
Post by Vladimir Todorov
the library as expected.
cmus-remote -Q
~/lib/cmus
status playing
file /media/usb/mp3/Alice In Chains/Angry Chair (1993)/Alice In Chains -
Angry Chair.mp3
duration 291
position 0
tag artist Alice in Chains
tag album Angry Chair
tag title Angry Chair
tag date .
tag genre Grunge
tag tracknumber 01
tag albumartist Alice in Chains
set aaa_mode all
set continue true
set play_library true
set play_sorted false
set replaygain disabled
set replaygain_limit true
set replaygain_preamp 6.000000
set repeat false
set repeat_current false
set shuffle false
set softvol false
set vol_left 100
set vol_right 100
status playing
file /media/usb/mp3/Alice In Chains/Angry Chair (1993)/Alice In Chains -
Angry Chair.mp3
duration 291
position 3
tag title Angry Chair
tag album Angry Chair
tag comment h8me..as alwayz
tag tracknumber 1
tag genre Grunge
set aaa_mode all
set continue true
set play_library true
set play_sorted false
set replaygain disabled
set replaygain_limit true
set replaygain_preamp 6.000000
set repeat false
set repeat_current false
set shuffle false
set softvol false
set vol_left 100
set vol_right 100
In the later case there is no "tag artist Alice in Chains".
Ideas?
Something is probably broken in cmus :-)
Can you please create 2 separate bugs on the GitHub issue tracker
(https://github.com/cmus/cmus/issues), with all the info you have?
You'll need to either provide the files on which cmus is not working
properly, or (highly recommended :-) run `git bisect`
(http://git-scm.com/book/en/Git-Tools-Debugging-with-Git#Binary-Search)
a few times in order to find the guilty commit — can you please try to
do that?
Thanks a lot for the bug report.
Gregory
Milan Pavkovic
2014-05-16 09:10:03 UTC
Permalink
Post by Vladimir Todorov
Hi guys,
Today I installed cmus on my computer in the office (after re-install) and
I noticed that I cannot read the ID3 tags that are written in cyrillic. They
look weird - screenshots attached. I tried to change both charset options
available in the settings to UTF8, UTF-8, utf8, utf-8, cp1251,
Windows-CP1251 and some other options but this didn't help. It is perfectly
fine on my computer at home but it uses different cmus version and I may
have several packages installed that I do not have here (at the office).
Post by Vladimir Todorov
cmus --version                                                   ~
cmus v2.5.0-8-g1f9b415
Copyright 2004-2006 Timo Hirvonen
Copyright 2008-2011 Various Authors
For those that may stumble upon this: In order to display non ASCII
characters properly in cmus you need to install libncursesw5-dev package and
recompile cmus.

Loading...