Skip to content

Fix: Verbose flag working by default on Artbox #155

Open
@investor-uyah

Description

@investor-uyah

The Artbox command line tool produces lengthy, unnecessary logs by default during runtime i.e. without the use of the --verbose flag. It looks like this at the moment.

(artbox) ✔ ~/artbox [main|✚ 1] 
01:09 # echo "Are you ready to join Link and Zelda in fighting off this unprecedented threat to Hyrule?" > /tmp/artbox/text.md
 artbox speech from-text \
    --title artbox \
    --input-path /tmp/artbox/text.md \
    --output-path /tmp/artbox/speech.mp3 \
    --engine edge-tts
WordBoundary: {'type': 'WordBoundary', 'offset': 1000000, 'duration': 1125000, 'text': 'Are'}
WordBoundary: {'type': 'WordBoundary', 'offset': 2625000, 'duration': 750000, 'text': 'you'}
WordBoundary: {'type': 'WordBoundary', 'offset': 3875000, 'duration': 2500000, 'text': 'ready'}
WordBoundary: {'type': 'WordBoundary', 'offset': 7000000, 'duration': 1000000, 'text': 'to'}
WordBoundary: {'type': 'WordBoundary', 'offset': 8625000, 'duration': 2625000, 'text': 'join'}
WordBoundary: {'type': 'WordBoundary', 'offset': 11250000, 'duration': 3125000, 'text': 'Link'}
WordBoundary: {'type': 'WordBoundary', 'offset': 14875000, 'duration': 1250000, 'text': 'and'}
WordBoundary: {'type': 'WordBoundary', 'offset': 16625000, 'duration': 3750000, 'text': 'Zelda'}
WordBoundary: {'type': 'WordBoundary', 'offset': 20750000, 'duration': 1250000, 'text': 'in'}
WordBoundary: {'type': 'WordBoundary', 'offset': 22250000, 'duration': 4500000, 'text': 'fighting'}
WordBoundary: {'type': 'WordBoundary', 'offset': 27250000, 'duration': 1625000, 'text': 'off'}
WordBoundary: {'type': 'WordBoundary', 'offset': 29625000, 'duration': 1875000, 'text': 'this'}
WordBoundary: {'type': 'WordBoundary', 'offset': 31875000, 'duration': 8250000, 'text': 'unprecedented'}
WordBoundary: {'type': 'WordBoundary', 'offset': 41000000, 'duration': 2250000, 'text': 'threat'}
WordBoundary: {'type': 'WordBoundary', 'offset': 44500000, 'duration': 875000, 'text': 'to'}
WordBoundary: {'type': 'WordBoundary', 'offset': 45375000, 'duration': 5250000, 'text': 'Hyrule'}

A fix should be implemented to have the tool operate normally. Logs should not be displayed except with the use of the --verbose flag. Also, logs should be designed to appear more helpful. For instance, a display message indicating the successful completion of the process and the name and location of the output file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions