fix(plugins): walk listenbrainz listens backwards with max_ts

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas WintherandClaude Sonnet 5.5 committed 2026-10-30 15:51:58 +01:00
1 parent 3eec2f2184
commit 00742937c9
3 files changed
+59 -25

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ test("skips nowplaying, omits empty mbids, includes loved entries", async () =>
if (q.get("method") === "user.getLovedTracks")
return { lovedtracks: { track: [{ name: "Fav", mbid: "m9", artist: { name: "Art" } }], "@attr": { totalPages: "1" } } };
return { recenttracks: { track: [
{ name: "Now", artist: { "#text": "Art" }, "@attr": { nowplaying: "true" } },
{ name: "Now", artist: { "#text": "Art" }, date: { uts: "1700000005" }, "@attr": { nowplaying: "true" } },
rt("One", "1700000000", "rec1", { artist: { "#text": "Art", mbid: "a1" } }),
rt("Two", "1699999999"),
], "@attr": { totalPages: "1" } } };