mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[PR #687] [MERGED] implement simple multi disc support #1322
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#1322
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/687
Author: @fieteboerner
Created: 11/29/2017
Status: ✅ Merged
Merged: 12/3/2017
Merged by: @phanan
Base:
master← Head:multi-disc📝 Commits (10+)
20ab22badd disc field to songs table via migrationf4319b5add disc field to song modelaa16443collect disc information in file sync process4360814sort song list by disc and track number in album contexta6369d1check the disc field in file testff895baremove nullable flag from disc field in add_disc_into_songs migration8948b4afix php code style issues29ebd7dfix js code style2897f4afix sort usage in song-list15f1edcsort songs by inserting into queue by clicking the album/artist item play button (album_id, disc, track)📊 Changes
10 files changed (+53 additions, -5 deletions)
View changed files
📝
app/Models/File.php(+1 -0)📝
app/Models/Song.php(+2 -0)📝
app/Services/Media.php(+1 -0)➕
database/migrations/2017_11_27_184010_add_disc_into_songs.php(+32 -0)📝
resources/assets/js/components/shared/album-item.vue(+2 -1)📝
resources/assets/js/components/shared/artist-item.vue(+2 -1)📝
resources/assets/js/components/shared/song-list.vue(+10 -1)📝
resources/assets/js/services/playback.js(+2 -2)📝
tests/Unit/FileTest.php(+1 -0)📝
tests/songs/full.mp3(+0 -0)📄 Description
extract the disc number from id3 tags by indexing song files.
Sort the song list of an album by the disc number to avoid attaching the disc number to the album name like described in this issue #574
After upgrading the db scheme with
php artisan koel:inityou have to reindex your music library withphp artisan koel:sync --force🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.