Julien Cubizolles | 22 Apr 10:22 2016
Picon

emms mixing up mpd entries


I just noticed a very weird behaviour where emms-cache-set-from-mpd-all
sometimes misses a "title" field for a song and each of the following entries
get the title from the previous one...

To make it clearer, consider the following mpd tag_cache entries:

--8<---------------cut here---------------start------------->8---
song_begin: 13 Melody Dean.ogg
Time: 242.499000
Artist: Amanda Palmer & The Grand Theft Orchestra
ArtistSort: Palmer, Amanda & Grand Theft Orchestra, The
Album: Theatre Is Evil
AlbumArtistSort: Palmer, Amanda & Grand Theft Orchestra, The
Title: Melody Dean
Track: 13
Date: 2012-09-10
Disc: 1
MUSICBRAINZ_ARTISTID: 3c0eb318-d2ba-45aa-9077-b83746cc56da
MUSICBRAINZ_ALBUMID: 7acc4d65-7996-4909-b290-81c066926814
MUSICBRAINZ_ALBUMARTISTID: 3c0eb318-d2ba-45aa-9077-b83746cc56da
MUSICBRAINZ_TRACKID: a7c661ac-02e1-4f58-8aa7-f90b03a4a7a5
Date: 2012
AlbumArtist: Amanda Palmer & The Grand Theft Orchestra
mtime: 1461228248
song_end
song_begin: 14 Berlin.ogg
Time: 437.903000
Album: Theatre Is Evil
AlbumArtist: Amanda Palmer & The Grand Theft Orchestra
(Continue reading)

Ian Dunn | 14 Apr 14:08 2016
Picon

Two new EMMS functions


    I've created two interactive functions for EMMS that I think other people may find useful.  Both of them are
included in this email at the bottom, as well as a helper function for one of them.

    The first is 'emms-add-file-from-cache', which, as it sounds, adds a file from the EMMS cache database to
the 
current EMMS playlist.  The second is a function to interactively select and play one of the tracks in the
current EMMS playlist.

    Both of these functions use 'when-let' from subr-x, so I don't know if that creates a compatibility issue. 
If it does, I'd be happy to quickly fix them.

    I hope other people will find these as useful as I do.

--

-- 
Ian Dunn

;;;###autoload
(defun emms-add-file-from-cache ()
  "Interactively add a file from EMMS cache."
  ;; Marked as interactive-only because ‘completing-read’ is used, forcing
  ;; interaction with the user.
  (declare (interactive-only t))
  (interactive)
  (when-let (file-name (completing-read "File: " emms-cache-db))
    (emms-add-file file-name)))

(defun emms--collect-playlist-tracks (&optional playlist-buffer)
  "Collect a hash table of tracks from PLAYLIST-BUFFER.

(Continue reading)

Yoni Rabkin | 10 Apr 01:01 2016
Picon

Re: Please remove tq from emms


> Yoni Rabkin <yrk <at> gnu.org> writes:
>
>> Jonas Bernoulli <jonas <at> bernoul.li> writes:
>>
>>> Hello Yoni
>>>
>>> Since `tq' has been part of Emacs for 24 years, I don't think there is
>>> any good reason to track it in Emms' repository also.  ;-)
>>>
>>> Please consider removing it.
>>
>> I don't see an issue with that. But since I don't use emms-mpd (the only
>> part of Emms which requires tq) someone else might have an issue. I'd
>> rather forward this email to the list first. Are you OK with me just
>> forwarding your email verbatim over to the emms-help mailing list?
>
> Of course ;-)

I've posted it on the list. Let's see if anyone has an issue with
removing it.

>>> Additionally you should change the maintainer in the library headers.  I
>>> think I have contacted Jorgen at least twice about this issue already,
>>> only to be told that he isn't involved with the project anymore and
>>> hasn't been for years.
>>
>> Jorgen is one of the authors and therefore copyright holders of Emms. I
>> can't remove his copyright notices from the headers as per the
>> requirements of the GPL. Does it say that he is the maintainer of Emms
(Continue reading)

Yoni Rabkin | 10 Apr 00:50 2016
Picon

[Jonas Bernoulli] Please remove tq from emms

Picon Gravatar
From: Jonas Bernoulli <jonas <at> bernoul.li>
Subject: Please remove tq from emms
Date: 2016-04-08 18:48:59 GMT
Hello Yoni

Since `tq' has been part of Emacs for 24 years, I don't think there is
any good reason to track it in Emms' repository also.  ;-)

Please consider removing it.

Additionally you should change the maintainer in the library headers.  I
think I have contacted Jorgen at least twice about this issue already,
only to be told that he isn't involved with the project anymore and
hasn't been for years.

  Thanks,
  Jonas


-- 
   "Cut your own wood and it will warm you twice"

--

-- 
   "Cut your own wood and it will warm you twice"
Yoni Rabkin | 6 Apr 22:22 2016
Picon

[Martin Jesper Low Madsen] [PATCH] Correctly group reduced boolean operations

Picon Gravatar
From: Martin Jesper Low Madsen <martin <at> martinjlowm.dk>
Subject: [PATCH] Correctly group reduced boolean operations
Date: 2016-04-05 09:51:43 GMT

---
 rt-liberation.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt-liberation.el b/rt-liberation.el
index 4376f02..7dd61fe 100644
--- a/rt-liberation.el
+++ b/rt-liberation.el
 <at>  <at>  -259,7 +259,7  <at>  <at>  This variable is made buffer local for the ticket history")
   (if seq
       (reduce
        #'(lambda (a b)
-	   (format "%s %s %s" a op b))
+	   (format "(%s %s %s)" a op b))
        seq)
     ""))

-- 
2.3.3


-- 
   "Cut your own wood and it will warm you twice"

--

-- 
   "Cut your own wood and it will warm you twice"
Julien Cubizolles | 7 Mar 13:50 2016
Picon

Sample configuration for mpd+emms?

I'm having some trouble getting emms to use the mpd cache (atm it's
working only for mp3 files, neither ogg nor flac). Could someone using
emms-cache-set-from-mpd-all to populate the emms cache please post the
relevant parts of its .emacs file ?

Thanks in advance,

Julien.

_______________________________________________
Emms-help mailing list
Emms-help <at> gnu.org
https://lists.gnu.org/mailman/listinfo/emms-help
Yoni Rabkin | 4 Mar 19:57 2016
Picon

Re: Feature request

"Ivan Truskov <trus19 <at> gmail.com>" <trus19 <at> gmail.com> writes:

> Thanks for your work!
> I did think about one more thing (that i lacked when using emms).
> It seems emms-save-playlist saves playlist that is currently being
> played. While there is nothing wrong with that, sometimes one would like
> to save another playlist (which usually have to be in some renamed
> buffer).
> Use case: making several playlists from the album/collection
> you are listening to for the first time.
> Suggested solution: when emms-save-playlist has an argument, suggest a
> choice of emms playlist buffers to save
>
> What do you think?

It would look something like the following (untested), which you would
run when you are on the playlist you wanted to save. This version would
have the side effect of making the saved playlist current, so perhaps a
better version would save and restore the current playlist:

(defun emms-playlist-save-buffer (format file)
  (interactive (list (emms-source-playlist-read-format)
                     (read-file-name "Store as: "
                                     emms-source-file-default-directory
                                     emms-source-file-default-directory
                                     nil)))
  (emms-playlist-set-playlist-buffer)
  (emms-playlist-save format file))

--

-- 
   "Cut your own wood and it will warm you twice"

Yoni Rabkin | 28 Feb 22:03 2016
Picon

online manual updated


The online version of the manual has been updated
(http://www.gnu.org/software/emms/manual/). I'll be trying to keep it
better synced in future.

If anyone spots it lagging behind, please holler!

--

-- 
   "Cut your own wood and it will warm you twice"

Julien Cubizolles | 25 Feb 11:17 2016
Picon

Can't get metadata info from music files other than mp3

I'm using:
--8<---------------cut here---------------start------------->8---
(emms-cache-set-from-mpd-all)
--8<---------------cut here---------------end--------------->8---

The mp3 files are correctly accessibles in emms-smart-browse under the
right artist/album branch, but for the off and flac files, they are
under misc/album/01. 01misc...

I'm using emms-20160207.420 from elpa. Please feel free to share your
configuration for emms if you don't experience this problem :-)

Julien.

Here are some entries from tag_cache for mp3 and flac and the
corresponding ones in the emms cache:

mp3 entry in tag_cache
--8<---------------cut here---------------start------------->8---
AlbumArtistSort: alt-J
MUSICBRAINZ_ALBUMARTISTID: fc7bbf00-fbaa-4736-986b-b3ac0266ca9b
MUSICBRAINZ_ALBUMID: 76dc617f-2000-4a2b-86b6-196ea99c5ae5
MUSICBRAINZ_ARTISTID: fc7bbf00-fbaa-4736-986b-b3ac0266ca9b
MUSICBRAINZ_TRACKID: 1915a499-6e16-4fe3-93db-01dca52ce0e6
mtime: 1453824177
song_end
song_begin: 02 ❦.mp3
Time: 72.097000
Artist: alt-J
AlbumArtist: alt-J
ArtistSort: alt-J
Title: ❦
Album: An Awesome Wave
Track: 2/13
Date: 2012-09-17
Disc: 1/1
AlbumArtistSort: alt-J
MUSICBRAINZ_ALBUMARTISTID: fc7bbf00-fbaa-4736-986b-b3ac0266ca9b
MUSICBRAINZ_ALBUMID: 76dc617f-2000-4a2b-86b6-196ea99c5ae5
MUSICBRAINZ_ARTISTID: fc7bbf00-fbaa-4736-986b-b3ac0266ca9b
MUSICBRAINZ_TRACKID: 875bad60-ef81-42aa-b719-b97455092e45
mtime: 1453824164
song_end
--8<---------------cut here---------------end--------------->8---

corresponding entry in the emms cache:

flac entry in tag_cache
--8<---------------cut here---------------start------------->8---
begin: NAS/Synology/BEETS/alt-J/This Is All Yours
song_begin: 01 Intro.flac
Time: 278.346000
Album: This Is All Yours
AlbumArtist: alt-J
AlbumArtist: alt-J
AlbumArtistSort: alt-J
Artist: alt-J
ArtistSort: alt-J
Date: 2014-09-19
Disc: 1
Disc: 1
MUSICBRAINZ_ALBUMARTISTID: fc7bbf00-fbaa-4736-986b-b3ac0266ca9b
MUSICBRAINZ_ALBUMID: e6f60da3-1d37-4aba-a309-6e65b84ffe66
MUSICBRAINZ_ARTISTID: fc7bbf00-fbaa-4736-986b-b3ac0266ca9b
MUSICBRAINZ_TRACKID: 620af73f-b5b7-44fd-9a11-7cc9c688057e
Title: Intro
Track: 1
Track: 1
mtime: 1453818627
song_end
--8<---------------cut here---------------end--------------->8---

corresponding entry in the emms cache:

--8<---------------cut here---------------start------------->8---
(puthash "/var/lib/mpd/music/NAS/Synology/BEETS/alt-J/This Is All Yours/01 Intro.flac" '(*track*
(type . file) (name . "/var/lib/mpd/music/NAS/Synology/BEETS/alt-J/This Is All Yours/01
Intro.flac") (info-album . "This Is All Yours") (info-playing-time . 278)) emms-cache-db)
--8<---------------cut here---------------end--------------->8---
notice that there is no info-artist field.

_______________________________________________
Emms-help mailing list
Emms-help <at> gnu.org
https://lists.gnu.org/mailman/listinfo/emms-help
Ivan Truskov | 20 Feb 21:07 2016
Picon

Feature request

Good evening!
I want to submit a feature request for Emms.

Feature overview: show full information (title, album, artist, length)
in pretty form for currently selected (or playing) song. Should probably
be displayed in separate buffer that would close quickly easily.

Rationale: one cannot remember all about all songs in his collection, so
looking up might be useful

Current state of affairs: one CAN get that info by invoking E (edit
tags). However, this nets editable buffer that has to be killed (many
keystrokes!) when curiosity is satisfied. I posit that it is not
sufficient

Thanks for all your hard work!

Alex Vong | 18 Dec 14:09 2015
Picon

emms manual is not accessible in emacs

Hi,

I notice the emms manual is not accessible in emacs from the info
buffer. I think it is because the emms manual has the file name `emms',
instead of `emms.info'. Can anyone confirm this?

Cheers,
Alex


Gmane