~phw

Germany

https://fosstodon.org/@outsidecontext

Software developer and free software / open source enthusiast. Mostly doing MusicBrainz related projects.

Trackers

~phw/discourse-listenbrainz

Last active 15 days ago

~phw/scotty

Last active 24 days ago

~phw/discid-bindings

Last active 3 months ago

~phw/python-listenbrainz-submit

Last active 11 months ago

#8 Link to ListenBrainz artist/album pages 15 days ago

Comment by ~phw on ~phw/discourse-listenbrainz

REPORTED RESOLVED FIXED

#8 Link to ListenBrainz artist/album pages 15 days ago

enhancement added by ~phw on ~phw/discourse-listenbrainz

#8 Link to ListenBrainz artist/album pages 15 days ago

~phw assigned ~phw to #8 on ~phw/discourse-listenbrainz

#8 Link to ListenBrainz artist/album pages 15 days ago

Ticket created by ~phw on ~phw/discourse-listenbrainz

Instead of linking names to MB link to the new LB pages.

#7 Deezer backend generates URLs with the wrong path 24 days ago

bug added by ~phw on ~phw/scotty

#7 Deezer backend generates URLs with the wrong path 24 days ago

Comment by ~phw on ~phw/scotty

REPORTED RESOLVED FIXED

#6 Scrobblerlog timestamps can be for local time 30 days ago

Comment 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.

#6 Scrobblerlog timestamps can be for local time 30 days ago

feature added by ~phw on ~phw/scotty

#6 Scrobblerlog timestamps can be for local time 30 days ago

backend added by ~phw on ~phw/scotty

#6 Scrobblerlog timestamps can be for local time 30 days ago

Ticket created by ~phw on ~phw/scotty

Some hardware players are not timezone aware and hence the timestamps in the .scobbler.log file are local time instead of UTC.

There should be a timezone config for the scobbler-log backend to set the timezone. Times then need to be converted to UTC on export or to this timezone on import.