mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[PR #118] [CLOSED] Fix song length issue #1159
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#1159
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/118
Author: @mattsches
Created: 12/19/2015
Status: ❌ Closed
Base:
master← Head:fix_album_length📝 Commits (7)
7dde350Added spanish validations2cf325eFixed composer --no-dev issueb293160Attempts to fix UTF-16 issues6a428eaApplied fixes from StyleCI255776bReplace iconv with mb_14f26baFix spelling error for password451dd12Add cast to convert Song.length to float.📊 Changes
14 files changed (+289 additions, -11 deletions)
View changed files
📝
.env.example(+1 -1)➕
app/Facades/Util.php(+13 -0)📝
app/Models/Artist.php(+8 -0)📝
app/Models/Song.php(+7 -0)➕
app/Providers/UtilServiceProvider.php(+31 -0)➕
app/Services/Util.php(+46 -0)📝
composer.json(+4 -4)📝
config/app.php(+2 -0)➕
resources/lang/es/auth.php(+19 -0)➕
resources/lang/es/pagination.php(+19 -0)➕
resources/lang/es/passwords.php(+22 -0)➕
resources/lang/es/validation.php(+112 -0)📝
tests/ArtistTest.php(+5 -6)➕
tests/stubs/utf16(+0 -0)📄 Description
Laravel's Eloquent ORM returns all properties as strings unless explicitly casting them to other types.
Song.lengthis now cast tofloat.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.