feat: Add configurable personal rating styles - #806
Open
PabloLec wants to merge 2 commits into
Open
Conversation
Contributor
|
Don't think I'm ignoring your PR, I really like it, just waiting until after the hotfix to add it, thank you. |
Author
No worries, there’s no rush 😁 By the way, feel free to let me know how you usually prefer to handle localization files. I left the auto-generated files in this PR, but obviously they add quite a lot of noise. |
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.
Summary
This PR adds configurable personal ratings to movie detail screens.
Users can keep the existing like/dislike controls or choose a five-star or numeric rating style. Ratings are stored in the media server's native user data, so the same rating can be retrieved by other clients connected as that user.
This is intended as a foundation for broader personal rating support in Moonfin. Future work could optionally synchronize ratings with external services such as TMDb, Trakt, Simkl, or Letterboxd where a suitable API is available. Personal ratings could also be displayed alongside the existing public rating sources on detail screens.
Like/dislike remains the default, preserving the existing experience for current users.
This PR does not add Moonbase storage, a local rating database, or external provider synchronization
This PR includes the regenerated localization files for all supported locales, which accounts for most of the changed files, untranslated strings currently fall back to English. Please let me know if this matches the expected localization workflow or if these generated files should be handled differently.
Related Issues
Type of Change
Changes Made
RatingandLikesvalues from server user data.Settings → Personalization → Details Screen.UserDatawhen loading Jellyfin item details so saved ratings are restored when an item is reopened.Rating Behavior
The selected style only changes how a rating is displayed and entered. Switching styles does not rewrite an existing server value.
Like / dislike
The existing thumbs behavior is preserved.
Users can:
If an existing numeric rating is displayed as thumbs, Moonfin uses the server-provided
Likesvalue rather than applying a separate client-side interpretation.Five stars
Star ratings support half-star values and are converted to the server's 0–10 rating scale.
Examples:
2.5 / 5is stored as5 / 104 / 5is stored as8 / 104.5 / 5is stored as9 / 10Changing to the star presentation does not round or update an existing rating until the user explicitly saves a new value.
Numeric
Numeric ratings use the server's 0–10 scale directly.
The dialog uses increment and decrement controls designed to remain usable with touch, keyboard, and TV remotes.
Server Behavior
Jellyfin
Numeric ratings are written through:
with a minimal body containing only the new rating:
{ "Rating": 8.5 }Existing thumbs ratings continue to use Jellyfin's dedicated like/dislike endpoint.
Like maps to Jellyfin's native rating value of
10.Dislike maps to Jellyfin's native rating value of
1.Clearing a rating continues to use:
Numeric ratings use the
Likesinterpretation returned by Jellyfin.Emby
Offline items
Numeric rating mutations are not exposed while operating through the offline API stubs.
Preferences
The selected presentation style is stored locally for the current Moonfin user and server.
The rating itself remains stored in Jellyfin or Emby user data and is therefore independent from this presentation preference.
Cross-device synchronization of the presentation preference could be added separately through Moonbase without changing the stored ratings or the rating API introduced here.
Platform
Testing
Manual testing was completed on Web and Linux.
Test Steps
Settings → Personalization → Details Screen.Screenshots
(sorry for the mostly french UI)
Settings menu
Like / dislike
Not rated


Rated
Stars
Not rated




Rating
Rated
Numeric
Not rated



Rating
Rated
Future Work
This PR deliberately keeps the first implementation limited to native media-server ratings.
Possible follow-up work includes:
None of these integrations or aggregation features are included in this PR.
Known Limitations
Checklist