Re: Factoring out parts of Emms into ELPA

Adam Porter <[email protected]> Wed, 5 Jun 2024 15:05:40 -0500
Newsgroups gmane.emacs.emms.user
Message-ID <[email protected]>
Hi Yoni, et al,

[Please reply-to-all since I'm not subscribed to this list.]

On 6/5/24 14:54, Yoni Rabkin wrote:
> 
>>>>> Adam Porter writes [on emacs-devel]:
>>>>>
>>>>> Slightly off topic, but I have a request: Please consider
>>>>> publishing those MusicBrainz and Discogs search API libraries on
>>>>> ELPA separately from EMMS.  I'd like to be able to use them in
>>>>> [Listen.el], and I'd guess that other packages might as well.  EMMS
>>>>> is a rather large package, and I wouldn't want to add it as a
>>>>> dependency (I already imported its tag-reading library--which would
>>>>> be another good choice for factoring out into a separate package,
>>>>> BTW).

Yes, thanks for opening this thread to discuss this.

FYI I imported "emms-info-native.el" into my listen.el package, renaming 
its prefix to `listen-info' (and having since added/fixed a few minor 
things):

https://github.com/alphapapa/listen.el/blob/master/listen-info.el

https://github.com/alphapapa/listen.el/commits/master/listen-info.el

I wasn't planning to bother EMMS's maintainers about it, since it's 
working fine for me, but since you mentioned adding those two search API 
libraries, I'd like to request that you consider implementing them as 
separate packages so they could be used outside of EMMS.

And I'd also like to discuss the possibility of factoring the 
metadata-reading library out as well; I think it would be widely useful 
in other, similar packages.  And since reading audio file metadata does 
require periodic updates (e.g. new formats, standard tags, etc), it 
would be helpful if those changes could be made to a single library 
usable by all.

Please let me know what you think about these ideas.  Thanks for your work.

--Adam