Coder Social home page Coder Social logo

Comments (8)

geigerzaehler avatar geigerzaehler commented on July 19, 2024

Hi @fgerent. That sounds like a reasonable idea. I’ve implemented this in branch. Could you try it out and confirm that it works for you? You can install the branch with pip using pip install git+https://github.com/geigerzaehler/beets-alternatives.git@update-all and run beet alt update --all.

from beets-alternatives.

fgerent avatar fgerent commented on July 19, 2024

That's exactly what I had in mind. I ran a couple of tests and it worked perfectly, thanks!

from beets-alternatives.

geigerzaehler avatar geigerzaehler commented on July 19, 2024

Perfect. I’ll release a new version soon

from beets-alternatives.

fgerent avatar fgerent commented on July 19, 2024

Sorry, I spoke too soon. It does work, but it looks like every time I run it it re-creates (converts and copies) all of the matching items, instead of only new/changed ones. I believe it wasn't doing that before.

from beets-alternatives.

geigerzaehler avatar geigerzaehler commented on July 19, 2024

I’ve tested this locally and wrote some more tests and the feature works as expected for me. @fgerent, to get to the bottom of this, could you try to determine whether this only happens when using the new flag? That is, could you try running beet alt update yourcollection twice to see if on the second time nothing is updated? And then run beet alt update --all to see if nothing is updated either? (Make sure that you can distinguish between all the collections).

Could you run the update against the latest release instead of this feature branch to make sure that it is not some other bug? Are you using a FAT32 filesystem. There seem to be some issues with that as well (#74).

from beets-alternatives.

fgerent avatar fgerent commented on July 19, 2024

@geigerzaehler, I ran some additional tests, including going back to the 0.11 release, and I'm (sometimes) actually getting this issue even without the --all flag, but it only seems to impact the name with that has the most items.
I had seen issue #74, I'm not using FAT32 but both of my folders (source/destination) are on reiserfs, I'm wondering if that causes the same issue. I'd been meaning to move to a different fs but won't be able to do it for another few months at least. I can work around the issues for now and will report back once I'm able to try on a different fs. Thanks.

from beets-alternatives.

fgerent avatar fgerent commented on July 19, 2024

I had a spare partition and decided to test this out, so I moved the entire setup I had (all the the "alternatives" paths) to this new ext4 partition and everything works as expected, even when using the --all flag. I'm closing this as it appears that the issue I was having is not really related to this new feature, which is working as expected. To be clear, it looks like the issue I had was the same as issue #74 as you had suggested, and it also affects reiserfs. Thanks again.

from beets-alternatives.

geigerzaehler avatar geigerzaehler commented on July 19, 2024

I’ve published v0.11.1 which includes the --all flag.

from beets-alternatives.

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.