bugfix-sync - Add Task to Sync Custom Homerows/Keep Them Warm - #268
Open
mattsigal wants to merge 1 commit into
Open
bugfix-sync - Add Task to Sync Custom Homerows/Keep Them Warm#268mattsigal wants to merge 1 commit into
mattsigal wants to merge 1 commit into
Conversation
Scan configured custom home sections across user profiles and proactively refresh Letterboxd, TMDB, and MDBList custom user lists daily at 4:00 AM.
Build SuccessfulThe plugin compiled successfully against .NET 8 / Jellyfin 10.10.0.
|
24 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Summary
So, it turns out the Custom Home Rows, after being defined, were never automatically updated (until a user manually forces their refresh). To address this are 2 PRs -- one on Moonbase's side (which adds a scheduled task to ensure data is pulled) and one on the client side. This PR adds a scheduled background task (
CustomRowsSyncTask) that proactively warms and refreshes custom external home rows (Letterboxd, TMDB, and MDBList custom user lists) configured across user profiles daily at 4:00 AM (and on server startup), and introduces a sharedCustomRowFetchServicefor unified list fetching across the scheduled task and the/Moonfin/CustomRows/ItemsHTTP endpoint.Related Issues
Link related issues or tickets separated by commas.
Type of Change
Area
Changes Made
List the key changes included in this PR.
Moonfin Custom Lists Sync, key:Moonfin.CustomRows.Sync) running daily at 4:00 AM and on startup that scans user home section configurations, deduplicates enabled custom rows, and refreshes the cache.CustomRowFetchService.GetAllUserSettingsAsync()to inspect user profiles for configured custom rows.CustomRowFetchServicewith dependency injection.Client Impact
Does this need matching changes in a client repo (Core, Smart-TV, Roku)?
Compatibility
bool?, an int toint?)Testing
Describe how this change was tested.
Test Steps
Screenshots (if applicable)
Include config page screenshots or request/response samples where relevant.
Previously...
External home rows (like the Letterboxd activity feed) would only refresh if this button was clicked:
New Scheduled Task:
Checklist