sessions / a731427f6e5c4b463f974a98b0023a59e97ab1c5

/home/powellc/src/code.unbl.ink/secstate/vrobbler

This commit has no recorded session.

diff

ignore whitespace

commit a731427f6e5c4b463f974a98b0023a59e97ab1c5Author: Colin Powell <colin@unbl.ink>Date:   Thu Jun 11 18:39:31 2026 -0400    [release] Bump to version 51.0        - Fix koreader scrobble imports to use DST properly    - Fix book scrobbles where page_data is a list    - Lichess imports do not set default visbilitydiff --git a/PROJECT.org b/PROJECT.orgindex 669e26b..c48a721 100644--- a/PROJECT.org+++ b/PROJECT.org@@ -88,7 +88,7 @@ fetching and simple saving. *** Metadata sources **** Scraper -* Backlog [2/17] :vrobbler:project:personal:+* Backlog [0/14] :vrobbler:project:personal: ** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :vrobbler:personal:bug:music:scrobbles: :PROPERTIES: :ID:       702462cf-d54b-48c6-8a7c-78b8de751deb@@ -451,32 +451,6 @@ https://app.todoist.com/app/task/add-a-csv-endpoint-for-users-book-reads-that-li :PROPERTIES: :ID:       79f867c3-1288-4143-b6bf-2a452983ee9f :END:-** TODO [#B] Fix koreader scrobble imports to use DST properly :bug:books:imports:-:PROPERTIES:-:ID:       79758cba-a440-48b6-a637-efb88827acf2-:END:--- Note taken on [2025-09-25 Thu 10:37] \\--  This may already be fixed ... need to check.--- Note taken on [2025-02-25 12:34] \\--  The page data has the canonical date something was read in it, but it seems-  to be an hour off. I traced this back to being off during DST, so we just need-  the importer to be aware of whether a user is using DST or not and roll back-  an hour for part of the year. Also, we'd need to adjust any old scrobbles that-  took place with DST off to roll them back by an hour.-      -  -*** Description--This is a long-standing problem when daylight saving time takes effect. Time is-manually set on a KoReader device (or at least, always saved in local time). So-whatever time KoReader reports, we need to know, given the date and the user-profile's historic timezone, how many hours to adjust the KoReader time to get-to GMT to save it in the database.- ** TODO [#B] Make IMAP and WebDAV configurable :webdav:feature:imap:importers: :PROPERTIES: :ID:       b1426d92-2feb-4d15-9738-d5b7b0594f96@@ -544,6 +518,33 @@ log a warning and move on. We should have a global view `/favorites/` that shows the logged in users's favorited media objects. +* Version 51.0 [3/3]+** DONE [#B] Fix koreader scrobble imports to use DST properly :bug:books:imports:+:PROPERTIES:+:ID:       79758cba-a440-48b6-a637-efb88827acf2+:END:++- Note taken on [2025-09-25 Thu 10:37] \\++  This may already be fixed ... need to check.++- Note taken on [2025-02-25 12:34] \\++  The page data has the canonical date something was read in it, but it seems+  to be an hour off. I traced this back to being off during DST, so we just need+  the importer to be aware of whether a user is using DST or not and roll back+  an hour for part of the year. Also, we'd need to adjust any old scrobbles that+  took place with DST off to roll them back by an hour.+      +  +*** Description++This is a long-standing problem when daylight saving time takes effect. Time is+manually set on a KoReader device (or at least, always saved in local time). So+whatever time KoReader reports, we need to know, given the date and the user+profile's historic timezone, how many hours to adjust the KoReader time to get+to GMT to save it in the database.+ ** DONE [#A] Fix book scrobbles where page_data is a list :bug:books:scrobbles: :PROPERTIES: :ID:       35b323fa-ccc0-4009-b227-8a0f12bbd469@@ -568,6 +569,7 @@ have page_data as a list. :PROPERTIES: :ID:       a78f7c72-a20a-8db2-cde0-d92a731d4fba :END:+ * Version 50.2 [2/2] ** DONE [#B] Koreader imports only import single-page scrobbles the next day :bug:books:importers: :PROPERTIES:diff --git a/pyproject.toml b/pyproject.tomlindex e7995b0..8a362d3 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@ [tool.poetry] name = "vrobbler"-version = "50.2"+version = "51.0" description = "" authors = ["Colin Powell <colin@unbl.ink>"]