Re: [PATCH 1/1] emms-source-playlist.el: add native playlist to cache

Leo Okawa Ericson <[email protected]>
Newsgroups gmane.emacs.emms.user
Message-ID <[email protected]>
I think I missed sending this to the list when I last tried to reply, so
I'm resending this:

Yoni Rabkin <[email protected]> writes:

> I don't see a problem with the patch in and of itself. But if some
> tracks were saved as a native playlist, doesn't that mean that they were
> already loaded and therefore already in the cache?

I don't know if tracks played by `emms-play-url` get saved in the cache,
but those are the cases I'm interested in.

> Are you referring a case where you import an Emms native playlist to an
> instance that has never seen those tracks before. Do I understand the
> use-case correctly?

Yes I think so.  I have some playlists that are hosted on the web that I
play with mpv, so I've created native playslists by saving the playlist
and adding metadata manually.  Something like this:

----------------------------------->8-------------------------------------------
;;; This is an EMMS playlist file Play it with M-x emms-play-playlist
((*track* (type . url)
          (name . "https://www.youtube.com/watch?v=fsTtegev-eA")
          (info-albumartist . "The Dear Hunter")
          (info-year . "2013")
          (info-album . "Migrant")
          (info-tracknumber . "1")
          (info-artist . "The Dear Hunter")
          (info-title . "Migrant")))
----------------------------------->8-------------------------------------------

Which I then call `emms-add-playlist` so that they show up in `emms-browser`.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.