1. 14
    1. 4

      Related to last.fm, if anyone has the need for a generic audioscrobbler instead of requiring plugins for each media player they use, I made mpris-scrobber.

      It supports multiple destinations (last.fm, libre.fm, plus listenbrainz.org) and it works with (almost) any music player that exports a MPRIS interface over DBus.

      Being a CLI daemon, it’s a little more cumbersome to set-up than the nice GUI that plugins usually offer, but it’s not terrible (if I can say so myself).

      1. 2

        This would also submit normal YouTube videos, or am I wrong?

        1. 2

          The scrobbler has logic in place to ensure that the tracks are valid (using the last.fm heuristic): more than 30 seconds in length, and valid track name, artist and album.

          For web content usually the artist/album are invalid, but more than that, the scrobbler supports adding players to an ignore list, and all tracks played by that will be skipped all together.

      2. 3

        People talking about Last.fm and Perl are making me think it’s the 2000s again - I’m surprised they even have their API still up.

        1. 2

          rjbs works for Fastmail (via Pobox) which is a Perl shop. My email has been hosted by them since I stopped being a postmaster. (Fastmail adopted the Cyrus IMAP replication technology developed by my ex-colleage David Carter at Cambridge University.)

          1. 1

            I recently went back to the 2000s regarding music and bought a second hand Squeezebox Duet. I was happy to find out that the server part of that system, Logitech Music Server, still has an active community and is rebranded to Lyrion Music Server. It is also written in Perl.

            Logitech made the unfortunate choice to require the Squeezebox models to connect to a cloud service, and I could not get the thing set up after I did a factory reset. But then I was able to install a community written firmware version on it and now it works perfectly. Switching between old school radio streams, MP3’s and modern streaming services like Spotify and YouTube, it is wonderful. In some ways, it was a better time back then.

          2. 1

            I started using last.fm a while ago, because I switched to local mp3 files (& mpd) and still wanted statistics. It’s a quite good experience so far, except some album duplicates.

            1. 1

              I still scrobble, though I also submit “listens” to ListenBrainz. I vaguely recall a long time ago Last.fm had a live social feed showing what you and your friends were listening too in near realtime. Does anyone know when that went away, and if there’s a current alternative?

              1. 1

                I still scrobble from my Plex apps :)