Skip to content

Conversation

@Sc00tz
Copy link

@Sc00tz Sc00tz commented Jul 10, 2025

Album Artists browsing and article-aware sorting

  • Add AlbumArtistStore for cleaner artist browsing separate from track artists
  • Implement article-aware sorting utility that removes articles (The, A, An, etc.) for sorting
  • Support multiple language articles (English, Spanish, French, German, Italian, Portuguese, Dutch)
  • Add /api/albumartist/* endpoints for album artist operations
  • Extend /api/getall/ to support 'albumartists' itemtype
  • Update artist name sorting to use article-stripped keys while preserving display names
  • Add library statistics endpoint including album artist counts

Features:

  • 'The B-52's' now sorts under 'B' instead of 'T'
  • Album Artists shows primary artists without featured/collaboration clutter
  • Fully backward compatible with existing functionality
  • No database schema changes required - builds from existing track metadata

API endpoints added:

  • GET /api/albumartist/{hash} - Get album artist details
  • GET /api/albumartist/{hash}/albums - Get albums by album artist
  • GET /api/albumartist/{hash}/tracks - Get tracks by album artist
  • GET /api/albumartist/search - Search album artists
  • GET /api/albumartist/stats - Album artist statistics
  • GET /api/getall/albumartists - Browse all album artists
  • GET /api/getall/stats - Library statistics"

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

The PR fulfills these requirements:

  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

…ting

- Add AlbumArtistStore for cleaner artist browsing separate from track artists
- Implement article-aware sorting utility that removes articles (The, A, An, etc.) for sorting
- Support multiple language articles (English, Spanish, French, German, Italian, Portuguese, Dutch)
- Add /api/albumartist/* endpoints for album artist operations
- Extend /api/getall/ to support 'albumartists' itemtype
- Update artist name sorting to use article-stripped keys while preserving display names
- Add library statistics endpoint including album artist counts

Features:
- 'The B-52's' now sorts under 'B' instead of 'T'
- Album Artists shows primary artists without featured/collaboration clutter
- Fully backward compatible with existing functionality
- No database schema changes required - builds from existing track metadata

API endpoints added:
- GET /api/albumartist/{hash} - Get album artist details
- GET /api/albumartist/{hash}/albums - Get albums by album artist
- GET /api/albumartist/{hash}/tracks - Get tracks by album artist
- GET /api/albumartist/search - Search album artists
- GET /api/albumartist/stats - Album artist statistics
- GET /api/getall/albumartists - Browse all album artists
- GET /api/getall/stats - Library statistics"
@michilyy
Copy link
Contributor

michilyy commented Jul 25, 2025

Hello @Sc00tz ,
Thank you for your support.

While looking through your commits I detected some commends like # Added this line
Could you please explain, why you added these comments?
I do not seem to fully understand what information the comment provide.

Thanks you

@michilyy michilyy changed the title git commit -m "feat: add Album Artists browsing and article-aware sor… [Feature] Album Artists browsing and article-aware sorting Sep 11, 2025
@michilyy michilyy added the server This involves the server label Sep 11, 2025
@michilyy michilyy self-requested a review October 23, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

server This involves the server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants