Giter Club home page Giter Club logo

Comments (3)

sandreas avatar sandreas commented on August 27, 2024 1

Aah haha, now I know what is happening. I did some research and found out what's the problem...

There was a problem in spectre.console, the command line library, which led to issues with parsing command line arguments with quotes (see spectreconsole/spectre.console#891). It was fixed by Sir Awesome himself @FrankRay78, but first shipped with 0.1.3, so version 0.1.2 still has this bug and it affects you.

As a workaround you could prevent " being the first char of your filename argument like this:

 tone dump './"Diane..." The Twin Peaks Tapes of Agent Cooper.m4b'

which also works with 0.1.2, while I would strongly recommend to upgrade tone to the latest release wherever possible (I know it's not your own docker image). These command line parsing bugs where really nasty and while I was not taken serious for a long time by the maintainers, this can lead to data loss when tagging files.

I'll close this, since it is fixed in the latest release and I hope this explanation did help you.

Thank you for your patience.

from tone.

sandreas avatar sandreas commented on August 27, 2024
$ /tmp/"Diane..." The Twin Peaks Tapes of Agent Cooper
> tone dump --format=json '"Diane..." The Twin Peaks Tapes of Agent Cooper.m4b' --query="$.meta.genre"
Fantasy

Works for me... it could either be an escaping issue or maybe if you are on Windows, it may be that there is some other issue.

from tone.

SenorSmartyPants avatar SenorSmartyPants commented on August 27, 2024

Running in an ARM64 docker container of audiobookshelf. Did it work for you with version 0.1.2? I haven't been able to test with a newer version yet.

I tried your same command line using single quote escapes and it doesn't work. I also noticed in the error message it doesn't print the full filename, truncates after Diane.... Also note there are no quotes around that Diane.

from tone.

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.