mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[GH-ISSUE #1715] Initial library scan fails #940
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#940
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?
Originally created by @byrongamatos on GitHub (Oct 16, 2023).
Original GitHub issue: https://github.com/koel/koel/issues/1715
Describe the bug
After setting up koel, i issue the command to start searching for music. The system goes through scanning, but at 34% it fails with the following message:
`
root@33b602e314a6:/var/www/html# php artisan koel:sync
INFO Scanning /music.
12074/35089 [=========>------------------] 34%
ValueError
strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
at vendor/james-heinrich/getid3/getid3/module.tag.id3v2.php:1821
4 app/Services/FileSynchronizer.php:52
getID3::analyze()
To reproduce
Steps to reproduce the behavior:
Expected behavior
The library scan completes
Environment
@byrongamatos commented on GitHub (Oct 26, 2023):
I was able to solve this by going into my library and retagging/auditing everything.
The error message was thrown because of a corrupted mp3, that had 0 bytes in size.
It would have been great if Koel logs out the filename that caused it to crash, it would have saved me a couple of days of work