mirror of
https://github.com/koel/koel.git
synced 2026-04-26 09:15:59 +03:00
[PR #1972] [MERGED] feat: revamp genres #1988
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1988
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/1972
Author: @phanan
Created: 6/27/2025
Status: ✅ Merged
Merged: 6/27/2025
Merged by: @phanan
Base:
master← Head:genres📝 Commits (1)
6f02077feat: revamp genres📊 Changes
73 files changed (+980 additions, -466 deletions)
View changed files
➕
app/Builders/GenreBuilder.php(+20 -0)📝
app/Builders/SongBuilder.php(+12 -8)📝
app/Enums/SmartPlaylistModel.php(+9 -1)📝
app/Enums/SmartPlaylistOperator.php(+5 -0)📝
app/Http/Controllers/API/FetchRandomSongsInGenreController.php(+3 -1)📝
app/Http/Controllers/API/GenreController.php(+17 -8)📝
app/Http/Controllers/API/GenreSongController.php(+18 -8)📝
app/Http/Resources/GenreResource.php(+8 -8)📝
app/Http/Resources/SongResource.php(+1 -1)📝
app/Models/Album.php(+1 -0)📝
app/Models/Artist.php(+1 -0)➕
app/Models/Genre.php(+80 -0)📝
app/Models/Playlist.php(+2 -0)📝
app/Models/Song.php(+45 -2)📝
app/Providers/AppServiceProvider.php(+10 -0)📝
app/Repositories/AlbumRepository.php(+22 -1)📝
app/Repositories/ArtistRepository.php(+25 -2)📝
app/Repositories/Contracts/Repository.php(+1 -1)➕
app/Repositories/Contracts/ScoutableRepository.php(+24 -0)📝
app/Repositories/GenreRepository.php(+76 -28)...and 53 more files
📄 Description
Revamp genres by replace the
songs.genrecolumn with a m:n relationship.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.