• v0.1.5 203711cf67

    v0.1.5 Stable

    Hirad released this 2026-10-28 07:32:35 +00:00 | 1 commits to master since this release

    PyScrobbler 0.1.5 fixes recent-history parsing for LoneFM-compatible servers that return a single track object instead of a list.

    • Accept singleton track objects in user.getRecentTracks responses, including artwork and other metadata.
    • Treat missing, null, and empty track collections as empty history.
    • Preserve validation of malformed fields and required timestamps, and continue excluding currently playing tracks.
    • Add 12 regression cases, including collect_recent_tracks(limit=1), the lookup used by syncfm to infer the target's latest scrobble.

    Validation: 581 tests passed; strict Pyright, Ruff lint, and Ruff formatting checks passed.

    Downloads