Code Monkey home page Code Monkey logo

Comments (4)

jonaski avatar jonaski commented on June 10, 2024

I can't reproduce this if the "Mark disappeared songs unavailable" option is on (checked), with the behavior you describe it seems the option was off.
Could you check again and see if you can reproduce it consistently.
The database is in ~/.local/share/strawberry/strawberry/strawberry.db it contains the collection and playlists, please backup this first.

from strawberry.

AllKind avatar AllKind commented on June 10, 2024

Ah, I now see the missing thing.
I also removed those folders from settings -> Collection. (I moved all the old folders into one directory and added that as collection folder.)
Adding a symbolic link and adding that as folder in settings -> Collection does not help, as strawberry resolves the link and adds the destination of the link to the list of collection folders.

So:
If the folder is missing the songs get greyed.
But if the folder is also removed from Settings -> Collection, the playlist becomes blank.

Edit: thanks for the info about the database. I was able to restore the db from a day before the changes and export them as regular .m3u. With some search/replace I'll be able to add them back without a complete library re-scan (Which takes a lot of time with 1.6 TB of music.), because I added quite a lot of music. Also added more songs to some playlists, which I now don't have to manually recover.

from strawberry.

jonaski avatar jonaski commented on June 10, 2024

If you remove a collection directory, those playlists with songs that point to that will be broken as it's linked with the collection database song IDs, that's the way it's structured, so no easy way to solve that.
I will look into creating an option for following symbolic links optional, but I need to check if that will be safe to do in regard to the watcher/scanner.

from strawberry.

AllKind avatar AllKind commented on June 10, 2024

Maybe a warning, about the starred playlists are about to be lost - on collection folder removal, would be helpful and may prevent others falling into the same trap as me?

from strawberry.

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.