If you are a macOS or iOS user wanting to listen to your own FLAC files, and be able to scrobble them, I recommend setting up Navidrome
Universal Last.fm scrobbler for macOS that lives in your menu bar.
Should work with most apps that sends information to the OS (i.e. if it shows up in the macOS Now Playing widget I should detect it). I use foobar2000 and the built-in Music.app and they seem to work fine.
There are a bunch of issues:
Notably, playing a video in a web browser (like YouTube in Safari) while you're listening to music will prevent me from seeing if the song changes which means I will think you are listening to the same song constantly (#14).
Also, the keyboard shortcuts for copy/paste does not work in Settings window when you're inputting your Last.fm API keys. Very annoying. You'll have to right click and pick the options there instead. (#3)
Only tested on my machine so I have no idea if it even works for anyone else. Scrobbling is done using pylast so you need Python 3 installed (I think it's included by default with recent macOS releases). Might need some pip3 libraries too, who knows.
Good luck and don't blame me.
