[sports] Big sports structure revamp
Some checks failed
build / test (push) Has been cancelled

This should make scrobbling sports more like tasks.

The root scrobbled items are a little more generic, but
it's easier to see viewing patterns.
This commit is contained in:
2026-06-06 23:32:21 -04:00
parent 4bf22c96e9
commit ea1b43d1b8
17 changed files with 547 additions and 111 deletions

View File

@ -884,8 +884,7 @@ class Scrobble(TimeStampedModel):
# Strip log-only keys (stored in JSONField but not part of LogData dataclass)
logdata_kwargs = {
k: v for k, v in log_dict.items()
if k in logdata_cls.__dataclass_fields__
k: v for k, v in log_dict.items() if k in logdata_cls().__dataclass_fields__
}
try: