Skip to content

feat: adds option to view top rated songs in the Favorite Songs section - #2289

Open
dsimonds wants to merge 3 commits into
jeffvli:developmentfrom
dsimonds:DS/AddsTopRatedSongs
Open

feat: adds option to view top rated songs in the Favorite Songs section#2289
dsimonds wants to merge 3 commits into
jeffvli:developmentfrom
dsimonds:DS/AddsTopRatedSongs

Conversation

@dsimonds

@dsimonds dsimonds commented Jul 26, 2026

Copy link
Copy Markdown

Adds an option to view a user's Top Rated songs on the Artist's Detail page

This partially satisfies the spirit #2205 (allowing ratings to be utilized more) by providing the option to view the user's top rated songs of the artist in the "Favorite songs" section, since some users rely mainly on star ratings instead of favorites. Now the user can select the new "Favorite | Ratings" segmented control option to switch between songs that are favorited, or songs that have a rating of 3 or more stars.

Favorite:
ordered by: userFavorite > userRating > playCount > albumId > trackNumber
image

Rating:
ordered by: userRating > userFavorite > playCount > albumId > trackNumber
image

Notes:

  • Jellyfin only has favorites, so the Jellyfin UI has remained unchanged, and will only show favorites. I just updated code to support the new query methods.
  • Added support for 07ef323, so if a user chooses to only show Favorites or Ratings, then the "Favorite songs" section will only show favorited or top rated songs based on their selection.
  • I have tested this with all three server types: (Navidrome, OpenSubsonic, and Jellyfin)

@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
feishin Ready Ready Preview Jul 31, 2026 5:20pm

@dsimonds
dsimonds marked this pull request as ready for review July 27, 2026 20:07
getFavoriteSongs: async (args) => {
const { apiClientProps, query } = args;

const type = query.type === 'favorite' ? 'favorite' : 'rating';

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nitpick, but the type const is redundant as you can just perform the comparison with query.type.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Updated to just use query.type here, and in the same spot in subsonic-controller.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants