Discussion:
[emms-help] Emms Won't Play Files With CJK Names
Garden
2018-03-23 07:13:52 UTC
Permalink
Hi,When I use emms to play music files, it works fine with files that with a normal english name.When I tried to play files with Chinese characters, it quickly showed every file name and skiped to the next.But when I rename the file to english characters, it woks again.
The encoding seems correct, emms play list display correctly.
Here is my system details:OS: Windows 10 Pro 64bitEmacs Version: GNU Emacs 26.0.50 (build 4, x86_64-w64-mingw32)Emms Version: 20180319.1609
Yoni Rabkin
2018-03-26 22:24:46 UTC
Permalink
Post by Garden
Hi,
When I use emms to play music files, it works fine with files that
with a normal english name.
When I tried to play files with Chinese characters, it quickly showed
every file name and skiped to the next.
But when I rename the file to english characters, it woks again.
The encoding seems correct, emms play list display correctly.
OS: Windows 10 Pro 64bit
Emacs Version: GNU Emacs 26.0.50 (build 4, x86_64-w64-mingw32)
Emms Version: 20180319.1609
I don't have access to any windows machines, but I would like to test
this on my system. Can you please reply with a few titles (just the
filenames not the files) so I can rename some tracks here and see how
they play?

Also please specify the backend and info methods used.

Thank you.
--
"Cut your own wood and it will warm you twice"
Garden
2018-03-28 02:34:48 UTC
Permalink
Thank you for your concern!
These are some example file names:1. 攟牛班的春倩 - Compere Guilleri.mp3
2. 厔健 - 快让我圚雪地䞊撒点野.mp33. 零点乐队 - 粉墚人生.mp3
I'm using mplayer as backend player.I couldn't get the current version of mplayer I'm using, so I got the latest version of mplayer from the official website and test again.The same thing happend.The mplayer version is: MPlayer-corei7-r38022+gdb2a7c947eAlso I tried a different version of emacs, it looks the same.
I'm not sure if "info method" is refering to the emms config, here are my emms config details down below: (require 'emms-setup) (require 'emms-player-mplayer) (require 'emms-source-file) (require 'emms-source-playlist) (emms-all) (emms-default-players) (setq emms-source-file-default-directory music-directory) 
Post by Garden
Hi,
When I use emms to play music files, it works fine with files that
with a normal english name.
When I tried to play files with Chinese characters, it quickly showed
every file name and skiped to the next.
But when I rename the file to english characters, it woks again.
The encoding seems correct, emms play list display correctly.
OS: Windows 10 Pro 64bit
Emacs Version: GNU Emacs 26.0.50 (build 4, x86_64-w64-mingw32)
Emms Version: 20180319.1609
I don't have access to any windows machines, but I would like to test
this on my system. Can you please reply with a few titles (just the
filenames not the files) so I can rename some tracks here and see how
they play?

Also please specify the backend and info methods used.

Thank you.
--
  "Cut your own wood and it will warm you twice"
Yoni Rabkin
2018-03-28 15:07:08 UTC
Permalink
Post by Garden
Thank you for your concern!
1. 放牛班的春天 - Compere Guilleri.mp3
2. 崔健 - 快让我在雪地上撒点野.mp3
3. 零点乐队 - 粉墨人生.mp3
I'm using mplayer as backend player.
I couldn't get the current version of mplayer I'm using, so I got the
latest version of mplayer from the official website and test again.
The same thing happend.
The mplayer version is: MPlayer-corei7-r38022+gdb2a7c947e
Also I tried a different version of emacs, it looks the same.
I renamed some Barbara Keith tracks with the names you provided:

-rw-rw-r-- 1 6.3M Aug 3 2017 崔健 - 快让我在雪地上撒点野.mp3
-rw-rw-r-- 1 6.7M Jan 24 16:43 放牛班的春天 - Compere Guilleri.mp3
-rw-rw-r-- 1 5.6M Aug 3 2017 零点乐队 - 粉墨人生.mp3

...and they play fine on my GNU/Trisquel box here with mplayer 1.1-4.8.

I forgot to ask, do those files play correctly with mplayer on the
command line, outside of Emacs?

I'll ask on irc as well if there is someone who can recreate this bug,
since I don't have a Windows machine I can test this on.
Post by Garden
I'm not sure if "info method" is refering to the emms config, here
(require 'emms-setup)
(require 'emms-player-mplayer)
(require 'emms-source-file)
(require 'emms-source-playlist)
(emms-all)
(emms-default-players)
(setq emms-source-file-default-directory music-directory)
道:
Post by Garden
Hi,
When I use emms to play music files, it works fine with files that
with a normal english name.
When I tried to play files with Chinese characters, it quickly
showed
Post by Garden
every file name and skiped to the next.
But when I rename the file to english characters, it woks again.
The encoding seems correct, emms play list display correctly.
OS: Windows 10 Pro 64bit
Emacs Version: GNU Emacs 26.0.50 (build 4, x86_64-w64-mingw32)
Emms Version: 20180319.1609
I don't have access to any windows machines, but I would like to test
this on my system. Can you please reply with a few titles (just the
filenames not the files) so I can rename some tracks here and see how
they play?
Also please specify the backend and info methods used.
Thank you.
--
"Cut your own wood and it will warm you twice"
--
"Cut your own wood and it will warm you twice"
Garden
2018-03-29 00:10:42 UTC
Permalink
I tried to play these files on command line, it works fine.
I test it again with emacs windows x64 version 25.3 and 27.0.50, they all have the same problem.
Post by Garden
Thank you for your concern!
1. 攟牛班的春倩 - Compere Guilleri.mp3
2. 厔健 - 快让我圚雪地䞊撒点野.mp3
3. 零点乐队 - 粉墚人生.mp3
I'm using mplayer as backend player.
I couldn't get the current version of mplayer I'm using, so I got the
latest version of mplayer from the official website and test again.
The same thing happend.
The mplayer version is: MPlayer-corei7-r38022+gdb2a7c947e
Also I tried a different version of emacs, it looks the same.
I renamed some Barbara Keith tracks with the names you provided:

  -rw-rw-r-- 1 6.3M Aug  3  2017 厔健 - 快让我圚雪地䞊撒点野.mp3
  -rw-rw-r-- 1 6.7M Jan 24 16:43 攟牛班的春倩 - Compere Guilleri.mp3
  -rw-rw-r-- 1 5.6M Aug  3  2017 零点乐队 - 粉墚人生.mp3

...and they play fine on my GNU/Trisquel box here with mplayer 1.1-4.8.

I forgot to ask, do those files play correctly with mplayer on the
command line, outside of Emacs?

I'll ask on irc as well if there is someone who can recreate this bug,
since I don't have a Windows machine I can test this on.
Post by Garden
I'm not sure if "info method" is refering to the emms config, here
(require 'emms-setup)
(require 'emms-player-mplayer)
(require 'emms-source-file)
(require 'emms-source-playlist)
(emms-all)
(emms-default-players)
(setq emms-source-file-default-directory music-directory)
道
Post by Garden
Hi,
When I use emms to play music files, it works fine with files that
with a normal english name.
When I tried to play files with Chinese characters, it quickly
showed
Post by Garden
every file name and skiped to the next.
But when I rename the file to english characters, it woks again.
The encoding seems correct, emms play list display correctly.
OS: Windows 10 Pro 64bit
Emacs Version: GNU Emacs 26.0.50 (build 4, x86_64-w64-mingw32)
Emms Version: 20180319.1609
I don't have access to any windows machines, but I would like to test
this on my system. Can you please reply with a few titles (just the
filenames not the files) so I can rename some tracks here and see how
they play?
Also please specify the backend and info methods used.
Thank you.
--
  "Cut your own wood and it will warm you twice"
--
  "Cut your own wood and it will warm you twice"
Garden
2018-03-29 00:25:29 UTC
Permalink
Problem solved!It's all about system code specification.While I was trying to play music on command line, I accidently found the file name mplayer displayed was a bunch of messy code.So I change the system coding to chinese-gbk, which usually being set to utf-8, it worked!This is only happening on windows because only windows using chinese-gbk coding since win95.
Post by Garden
Thank you for your concern!
1. 攟牛班的春倩 - Compere Guilleri.mp3
2. 厔健 - 快让我圚雪地䞊撒点野.mp3
3. 零点乐队 - 粉墚人生.mp3
I'm using mplayer as backend player.
I couldn't get the current version of mplayer I'm using, so I got the
latest version of mplayer from the official website and test again.
The same thing happend.
The mplayer version is: MPlayer-corei7-r38022+gdb2a7c947e
Also I tried a different version of emacs, it looks the same.
I renamed some Barbara Keith tracks with the names you provided:

  -rw-rw-r-- 1 6.3M Aug  3  2017 厔健 - 快让我圚雪地䞊撒点野.mp3
  -rw-rw-r-- 1 6.7M Jan 24 16:43 攟牛班的春倩 - Compere Guilleri.mp3
  -rw-rw-r-- 1 5.6M Aug  3  2017 零点乐队 - 粉墚人生.mp3

...and they play fine on my GNU/Trisquel box here with mplayer 1.1-4.8.

I forgot to ask, do those files play correctly with mplayer on the
command line, outside of Emacs?

I'll ask on irc as well if there is someone who can recreate this bug,
since I don't have a Windows machine I can test this on.
Post by Garden
I'm not sure if "info method" is refering to the emms config, here
(require 'emms-setup)
(require 'emms-player-mplayer)
(require 'emms-source-file)
(require 'emms-source-playlist)
(emms-all)
(emms-default-players)
(setq emms-source-file-default-directory music-directory)
道
Post by Garden
Hi,
When I use emms to play music files, it works fine with files that
with a normal english name.
When I tried to play files with Chinese characters, it quickly
showed
Post by Garden
every file name and skiped to the next.
But when I rename the file to english characters, it woks again.
The encoding seems correct, emms play list display correctly.
OS: Windows 10 Pro 64bit
Emacs Version: GNU Emacs 26.0.50 (build 4, x86_64-w64-mingw32)
Emms Version: 20180319.1609
I don't have access to any windows machines, but I would like to test
this on my system. Can you please reply with a few titles (just the
filenames not the files) so I can rename some tracks here and see how
they play?
Also please specify the backend and info methods used.
Thank you.
--
  "Cut your own wood and it will warm you twice"
--
  "Cut your own wood and it will warm you twice"
Loading...