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?


On Wed, Dec 9, 2015 at 7:00 PM, Rasmus <[email protected]> wrote:

> Hi,
>
> Alex Schröder <[email protected]> writes:
>
> > I'm on Windows, so I installed mp3info and mpg123, no problem. Today I
> > noticed that EMMS would skip over files in the
> > folder c:/Users/asc/Music/Arvo Pärt. When I add the directory in question
> > to the playlist, it looks fine (but no mp3 info, which I find hard to
> > believe):
>
> For what it's worth, I'm happily playing "~/music/Arvo Pärt" on my linux
> setup.  Could you try another backend?  E.g. VLC, mplayer or mpv?
>
> I see that you are messing with encoding settings.  I don’t think that
> should be necessary, and might screw up thinks.
>
> I’d guess that you have other files with spaces in their names, right?
>
> Beet has an option to remove nasty characters, as far as I remember.  I
> don’t know if it works well on Windows, though.
>
> unfortunately, I don’t have access to a Windows dev-system.
>
> Rasmus
>
> --
> Even a three-legged dog has three good legs to lose
>
>
> _______________________________________________
> Emms-help mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/emms-help
>
_______________________________________________
Emms-help mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to