sessions / 25626be3b65cfa73af7377d17ef41b2b6d15dae2

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

This commit has no recorded session.

diff

show whitespace

commit 25626be3b65cfa73af7377d17ef41b2b6d15dae2Author: Colin Powell <colin@unbl.ink>Date:   Thu Jun 11 10:02:37 2026 -0400    [boardgames] Add visibility to lichess importsdiff --git a/PROJECT.org b/PROJECT.orgindex 443424a..40d04c0 100644--- a/PROJECT.org+++ b/PROJECT.org@@ -88,7 +88,7 @@ fetching and simple saving. *** Metadata sources **** Scraper -* Backlog [0/15] :vrobbler:project:personal:+* Backlog [1/16] :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@@ -544,6 +544,10 @@ log a warning and move on. We should have a global view `/favorites/` that shows the logged in users's favorited media objects. +** DONE [#A] Lichess imports do not set default visbility :boardgames:bug:importers:lichess:+: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/vrobbler/apps/boardgames/sources/lichess.py b/vrobbler/apps/boardgames/sources/lichess.pyindex 6068935..8979573 100644--- a/vrobbler/apps/boardgames/sources/lichess.py+++ b/vrobbler/apps/boardgames/sources/lichess.py@@ -103,6 +103,7 @@ def import_chess_games_for_user_id(user_id: int, commit: bool = False) -> dict:             "source": "Lichess",             "timezone": user.profile.timezone,             "log": log_data,+            "visibility": "private",         }         if commit:             Scrobble.objects.create(**scrobble_dict)