FWIW, you may be interested in ListenBrainz[1], an open alternative to Last.FM. We're just about to launch the beta which should be the milestone for when we'll promise to keep submitted listens around Forever™. :)
Libre.FM sets out to be a ~1:1 (open) "clone" of Last.FM (or least the AudioScrobbler part of Last.FM), while ListenBrainz aims to improve on Last.FM/AudioScrobbler. E.g., the AudioScrobbler protocol only allows for a given subset of metadata items to be submitted, while ListenBrainz's native API allows you to submit basically all the data you have on the file.
Compare http://www.last.fm/api/show/track.scrobble 's 7 item specific metadata fields (artist, track, album, trackNumber,
mbid, albumArtist, duration) to https://listenbrainz.readthedocs.io/en/latest/dev/json.html#... - as ListenBrainz is part of the MetaBrainz "umbrella", one of our own main highlights is that we can now actually submit all MBIDs associated with a file, not just the Recording MBID (ie., Artist MBID(s), Release MBID, Release Group MBID, Track MBID, Work MBID(s), possibly Label MBID(s), etc., etc.), but also stuff like language, performers, AcoustIDs, ...
Also, ListenBrainz is linked up with MessyBrainz[1], which should work as a buffer to have even listens submitted without MusicBrainz identifiers be able to eventually get linked up to the MusicBrainz database.
[1]: https://listenbrainz.org/