A customizable predicate seems to be the best approach. I shall look into this.
Meanwhile, I wonder if there is any mileage in refactoring the scrobbler code so that the librefm and listenbrainz scrobblers use a common core: this is the second time in as many months where the same change is indicated for both scrobblers. I will think about that too. ---Fran On Tue, 30 Dec 2025 at 13:12, Sergey Trofimov <[email protected]> wrote: > Hi emms authors, > > Quite often I listen to music from Bandcamp, by the means of > emms-player-mpv. MPV utilizes yt-dlp to fetch the audio stream and its > metadata. It works quite well with proper display of the artist, album > and track names, as well as showing the track length. That's enough data > to scrobble the listen, however both EMMS scrobblers only do that for > 'file tracks. I wonder if scrobbling logic could be extended to the > tracks of 'url type? Or even better the predicate could be customizable. > > Most conservative option would be: > (and (member type '(file url)) title artist) > alternatively more lenient approach: > (and title artist) > > What do you think? > >
