jesseward / jellyfin-plugin-lastfm

LastFM plugin for the Jellyfin media system. Fork of the Emby Last.FM plug-in
178 stars 11 forks source link

LastfmApiClient creates timestamp with localtime instead of UTC #29

Closed jesseward closed 3 years ago

jesseward commented 3 years ago

Seen here https://github.com/jesseward/jellyfin-plugin-lastfm/blob/6a29fcdde1ea4c31a5abbe11eed64f9297d37196/Jellyfin.Plugin.Lastfm/Utils/Helpers.cs#L50

LastFM API Docs state [ref]

timestamp[i] (Required) : The time the track started playing, in UNIX timestamp format (integer number of seconds since 00:00:00, January 1st 1970 UTC). This must be in the UTC time zone.

jesseward commented 3 years ago

Addressed in commit https://github.com/jesseward/jellyfin-plugin-lastfm/commit/9fe3fbc4f4c5e72da7c6f58b5bec260ca62b4915 (6.0.0.2)