Germany
https://fosstodon.org/@outsidecontext
Software developer and free software / open source enthusiast. Mostly doing MusicBrainz related projects.
Comment by ~phw on ~phw/go-musicbrainzws2
REPORTED
RESOLVED FIXEDComment by ~phw on ~phw/discourse-listenbrainz
REPORTED
RESOLVED FIXEDenhancement added by ~phw on ~phw/discourse-listenbrainz
~phw assigned ~phw to #8 on ~phw/discourse-listenbrainz
Ticket created by ~phw on ~phw/discourse-listenbrainz
Instead of linking names to MB link to the new LB pages.
Comment by ~phw on ~phw/scotty
Thanks. This was an easy fix: https://git.sr.ht/~phw/scotty/commit/3f1bebd8ed9c3e030d8de3617a1e8b2cfb94ebc2
REPORTED
RESOLVED FIXEDComment by ~phw on ~phw/scotty
From IRC log:
kellnerd> outsidecontext: Cool, I had a look and you also have a scrobbler.log parser :)
23:39 One remark about timestamps: My sansaclipv2 is not timezone-aware, so it stores Unix timestamps in local time and I have to compensate the timetone offset.
23:39 I don't know about your player, but that's something you might have to consider as well.
23:40 For reference, here is what I do: https://github.com/kellnerd/listenbrainz-ts/blob/b5daaf3e4783a57f964bcd9d71ed571f8d05934b/timestamp.ts#L42
23:41 phw aren't unix timestamps to be supposed to be UTC?
23:41 They are, but what should the player do if it does not know its own timezone.
23:41 phw true :)
23:42 but that's interesting. I guess I'll add a timezone configuration for the scrobblerlog backend then
23:42 thanks for the hint
23:42 You're welcome :)
23:44 My CLI even has an option to add a time offset to account for the cases where I forgot to set the clock after a timezone change.