Repository navigation
fix: Silo: show pinned collection, playlist and genre Home rows - #432
RadicalMuffinMan merged 3 commits into
Conversation
…the whole id A pinned row's id is pluginDynamic:<source>:<server>:<section>:<id>, and the id was read as the part after the last colon. Silo's collection ids have colons of their own (silo-libcollection:4:123), so the row asked for the bare number and its server read as another server. The id is now everything after the section word, as Core does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…as the server Builds before this change uploaded a pinned Silo row's server as "<server>:collection:silo-libcollection:4", so reading it back cuts everything from the section word on. A row id with no server keeps its whole id too, and the id is lowercased once per parse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Older builds cut a row id's last two parts, so a one-colon Silo id (silo-genre:Action, silo-collection:42) went up with "<server>:genre" or "<server>:collection" as the server, with no colon after the section word. The repair now cuts the section word at the end too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryFixes how Roku reads pinned Home rows whose Silo item ids contain colons.
Brady3035 explicitly keeps the last-colon fallback for unknown section words as a known limit shared with Core. No actionable issues were found. Tests and device checks were not run during this review. Reviews (1) · Last reviewed commit: "fix: Also repair synced Silo genre and p..." · Reviewed by Greptile |
Build SuccessfulThe channel compiled and packaged. The sideload zip is on the run below.
|
Pull Request
Summary
On Silo, a collection pinned as its own Home row didn't show up. A pinned row's id is
pluginDynamic:<source>:<server>:<section>:<id>, andhomeRowLayout.SourceFromIdtook the item id as the part after the last colon. Silo's ids have colons of their own (silo-libcollection:4:153163605007713890,silo-collection:42,silo-genre:Action), so the row asked for the bare number, and the server part came out as<server>:collection:silo-libcollection. That doesn't match the signed-in server, so the row was treated as another server's and left off Home. Jellyfin and Emby ids have no colons, so they weren't affected.The id is now everything after the section word (
:collection:,:playlist:,:genre:,:server:), and the server is what sits before it. This is how Moonfin-Core reads it since its fix for the same bug.Older builds also uploaded that wrong server with the synced Home layout. When a pinned row comes back from the server, a section word and anything after it are now cut off its server (
<server>:collection:silo-libcollection,<server>:genre), so those rows show again and go back up with the right server on the next save.Known limit, same as Core: a row saved with a section word other than these four still splits at its last colon.
Related Issues
Type of Change
Changes Made
source/utils/homeRowLayout.bs:SourceFromIdreads the id after:<section>:, so an id with colons stays whole and a row with no server keeps its id.source/utils/settingsSync.bs:PickedRowFromSectioncuts a section word and what follows from a synced row's server (WithoutSectionTail).test/seerr-sliders.bs,test/server-compatibility.mjs: cases for Silo collection, playlist and empty-server ids, plain ids, rows synced by older builds (library collection, personal collection, genre) and another server's collection.Testing
Roku Ultra against a Silo test server with a library collection pinned as a Home row. The current
mastershows only Continue Watching and the Collections row. With this branch the pinned row "Moonfin See All Test" shows the collection's 30 titles, on the first build and again aftermasterhad been on the device. Not tried on the device: a pinned playlist or genre row, and a layout synced from another client. Those are covered by the new tests only.npm run lintis clean andnpm testpasses on the final commit. The new checks fail onmaster.Test Steps
Screenshots (if applicable)
Before:
After:
Checklist
AI use
I wrote this change with Claude (Claude Code). I read the change, tested it as described above, and can walk through it.
🤖 Generated with Claude Code