streams and metadata
"Fran Burstall (Gmail)" <[email protected]> Thu, 26 Dec 2024 17:11:50 +0000
| Newsgroups | gmane.emacs.emms.user |
|---|---|
| Message-ID | <CADxS8igXvuzLfE1j4z_iAKqf4yi-yXk0UMCwLYSeRy24itY7CA@mail.gmail.com> |
I have been playing with emms-streams and with (setopt emms-player-mpv-update-metadata t) it is very capable. One mild pain point however is that adding a new stream with 'emms-add-streamlist' and friends gives a streamlist with less information than the built-in streamlists: it lacks the metadata field which is useful for getting the station name (which can then be fed to a track-description function to make for a more informative display in the playlist buffer). Of course, one can populate such a field by hand and this is what I have been doing but There Must Be A Better Way. This is the sort of thing that the unimplemented emms-streams-info.el could be doing but I understand that querying the url for such information is a bit of a nightmare (does the stream have ICY tags etc). There have been previous discussions on this list about this. However, there seems to be an alternative: https://www.radio-browser.info is a free (as in freedom, as far as I can tell) repository of station information with an API. Perhaps one could query this to get metadata about the stream? One could also imagine other uses of this data like a radio station browser in EMMS or being able to add streams by name rather than url... Thoughts? Worth pursuing? ---Fran