Giter Club home page Giter Club logo

Comments (4)

volcs0 avatar volcs0 commented on May 24, 2024 2

Faced the same problem today. Any idea how to find out on which file it crashes, exactly?

Do the import from the command line with verbose logging.

php artisan koel:sync -vv

Then you should see which track(s) are causing the problem.
For each track/album that was causing the issue, it was easy to see why (usually a weird character).
I ended up doing a lot of renaming and using MusicBrainz Picard to re-write ID3 tags.
I had to do this >50 times - each time taking longer for the import to fail.
But after about 2 days, I was done, and now the library works.

Hope this helps.

from koel.

phanan avatar phanan commented on May 24, 2024

Hey, sorry this happened to you. As you have correctly identified, this happens with weird corrupted files where even getId3 crashes (it normally gracefully handles exceptions). I thought about wrapping every single file scan in a try/catch block, but this would come with some performance cost (especially for huge libraries), so I'm still on the fence about it.

For artist images: You need Spotify integration enabled and configured.

from koel.

h4dr05 avatar h4dr05 commented on May 24, 2024

Faced the same problem today. Any idea how to find out on which file it crashes, exactly?

from koel.

phanan avatar phanan commented on May 24, 2024

What @volcs0 suggested (thanks!) I'm aware that this is not the best, however, so I have implemented a sync log functionality in 1518196 and will tag once I have the time :) Sorry for the inconvenience.

from koel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.