emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Leo Okawa Ericson
Subject: Re: [PATCH 1/1] emms-source-playlist.el: add native playlist to cache
Date: Fri, 27 Jan 2023 16:53:08 +0100

I think I missed sending this to the list when I last tried to reply, so
I'm resending this:

Yoni Rabkin <yoni@rabkins.net> 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`.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]