Playlist with multiple copies

Enrico Pirani <enrico.pirani <at> gmail.com>
2014-12-06 15:29:10 GMT

Hello,
I have a problem with Playlist from Music Player Daemon. When I try to
load the tracks in the playlist I have multiple copies of the same track
(3 copies). This is what appears: http://i.stack.imgur.com/H8idk.png
On the left is the `browse` panel and on the right the `playlist`. As
you can see there are three copies of the same song. I don't know where
is the problem. This is my emms-setup
<!-- language: elisp -->
(setq exec-path (append exec-path '("/usr/local/bin")))
(require 'emms-setup)
(require 'emms-player-mplayer)
(emms-all)
(emms-default-players)
(setq emms-directory (concat user-emacs-directory "/emms"))
(setq emms-cache-file (concat user-emacs-directory "/emms/cache"))
(setq emms-source-file-default-directory "/Volumes/MyShare/Music/iTunes/Music/")
(emms-standard)
(emms-default-players)
(define-emms-simple-player mplayer '(file url)
(regexp-opt '(".ogg" ".mp3" ".wav" ".mpg" ".mpeg" ".wmv" ".wma"
".mov" ".avi" ".divx" ".ogm" ".asf" ".mkv" "http://" "mms://"
".rm" ".rmvb" ".mp4" ".flac" ".vob" ".m4a" ".flv" ".ogv" ".pls"))
"mplayer" "-slave" "-quiet" "-really-quiet" "-fullscreen")
(require 'emms-player-mpd)
(setq emms-player-mpd-server-name "localhost")
(setq emms-player-mpd-server-port "6600")

emms-player-mpd: current song not highlighted, playlist not consumed

Alexis <flexibeast <at> gmail.com>
2014-11-08 09:00:12 GMT

Hi all,
i use mpd in 'consume mode' - i add songs to my playlist, which then get
deleted from the playlist once they've been played.
emms-player-mpd does not seem to work with consume mode. A track entry
in the EMMS playlist is not removed once that track has been played; nor
does the highlighting change so that the currently-playing track is
highlighted. Instead, the first track in the playlist remains
highlighted, although `emms-player-mpd-show` correctly displays the
currently-playing track.
Refreshing the playlist by pressing 'g' (`emms-player-mpd-connect`)
shows the played tracks deleted from the playlist, and the
currently-playing track at the top of the playlist, highlighted.
i could, of course, add some advice, or redefine a function, such
that `emms-player-mpd-connect` gets called upon track change; but this
brute-force approach seems to be papering over either a bug or a lack of
knowledge on my part about how to configure things correctly.
Any ideas?
Thanks in anticipation,
Alexis.

adding a playable filetype

An elementary question, but I am nonetheless stumped.
I have some .aif files in my collection that emms doesn't know how to
play. Some of my default players (mplayer, vlc) can play these, but the
filetype isn't currently included in the .el file for those players.
Thank you! I've been using Emms for about a year, and it's worked great.
steven

[patch] better kill-track

Rasmus <rasmus <at> gmx.us>
2014-10-25 12:10:21 GMT

Hi,
If I don't do C-a C-k I will not kill the entire line in *EMMS
Playlist*. This is nonsense.
Also, I often have to do C-k C-k since an empty line remains. This
patch fixes both of these issue and makes C-k in *EMMS Playlist* more
pleasant IMO.
The patch should apply against master.
Thanks,
Rasmus
--
--
Need more coffee. . .

Hi,
If I don't do C-a C-k I will not kill the entire line in *EMMS
Playlist*. This is nonsense.
Also, I often have to do C-k C-k since an empty line remains. This
patch fixes both of these issue and makes C-k in *EMMS Playlist* more
pleasant IMO.
The patch should apply against master.

[patch, *WIP*] add as next track to play

Rasmus <rasmus <at> gmx.us>
2014-10-25 11:42:50 GMT

Hi,
[I wanted to sent this message to the .patch ML, but I got a message
from gmane about needing to sign-up for the list above-and-beyond the
"normal" gmane requirement (proving one have access to the email one
is sending from). . . I'll thus stick with this list].
Often I get the urge to hear a certain track as next track (cause I
never want to interrupt the current song). EMMS-browser currently
does not support this and I think it's an important function.
However, the patch is pretty naïve about how it inserts stuff in terms
of the looks. Basically it does not care about its surroundings. I
have attached a screenshot of the patch in action. Maggie Björklund
and Pink Floyd have been inserted using
`emms-browser-add-track-as-next-track' in the patch.
I think maybe the naïve way is OK for single tracks, since indention
is different, but it's a bit confusing when Led Zep starts playing
again towards the end of the screenshot. Perhaps the led Zep header
should be inserted again?
WDYT?
Thanks,
Rasmus
--
--
With monopolies the cake is a lie!

void-function mapcan

I trashed my old emms and grabbed today the current one from Melpa (I
think it was Melpa?). Now when I start up emacs (24.4 or 24.3.1), I'm getting an
error: "void-function mapcan."
In my init.el I have the following for emms:
;; ====emms====
(require 'emms-setup)
(require 'emms-tag-editor)
(require 'emms-playlist-sort)
(emms-devel)
(emms-default-players)
(add-to-list 'emms-info-functions 'emms-info-mp3info)
And starting emacs with ---Debug-init gives me the following epic
landslide of information, which I do not have the background to
understand! Thanks for any ideas.
-s
Debugger entered--Lisp error: (void-function mapcan)
mapcan(#[(x) "\301\302\"\205