Hi Rasmus
At the time I needed to mess with encodings because when I use Emacs, I want to edit UTF-8 files even though that's not the default on my Windows system. Once I set (prefer-coding-system 'utf-8) I need to undo this for the file system because Windows isn't using UTF-8 for its filenames even if the file content I'm writing is UTF-8 encoded, so that explains (setq default-file-name-coding-system 'cp1252).
But, just in case that really is the problem, I went back and started Emacs with -q:
"/cygdrive/c/Program Files/emacs-24.5/bin/runemacs.exe" -q
In my *scratch* buffer, I added the EMMS directory to my load-path:
(add-to-list 'load-path "c:/Users/asc/AppData/Roaming/.emacs.d/elpa/emms-20150810.832")
And I evaluated my regular EMMS config:
(dolist (dir '("C:/Program Files/mp3info-0.8.5-win"
"C:/Program Files (x86)/mpg123-1.22.0-x86-64"))
(when (file-directory-p dir)
(add-to-list 'exec-path dir)))
(dolist (dir (list (concat (getenv "USERPROFILE") "/Music")
"~/Music"))
(when (file-directory-p dir)
(setq emms-source-file-default-directory (expand-file-name dir))))
(run-with-idle-timer
10 nil
(lambda ()
(require 'emms-setup)
(emms-standard)
(if (executable-find "mpg321")
(setq emms-player-list '(emms-player-mpg321))
(define-emms-simple-player mpg123 '(file url)
(emms-player-simple-regexp "mp3" "mp2")
"mpg123")
(setq emms-player-list '(emms-player-mpg123)))))
I wated for a few seconds until it all loaded and used M-x emms-play-directory to play "c:/Users/asc/Music/Arvo Pärt/Miserere/" and nothing happened. I used M-x emms to show the playlist and found this:
c:/Users/asc/Music/Arvo Pärt/Miserere/01-01- Miserere.mp3
c:/Users/asc/Music/Arvo Pärt/Miserere/01-02- Festina Lente.mp3
c:/Users/asc/Music/Arvo Pärt/Miserere/01-03- Sarah Was Ninety Years Old.mp3
Perhaps this is a problem with how mp3info is being called? When hit RET on the first track, EMMS skips them all and says "No next track in playlist".
In any case, my messing with the encoding settings doesn't seem to have changed matters for the worse. Instead, something about the calling of mp3info and/or the mpg123 player is wrong. But what is it?