-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
save as txt instead of json #277
Comments
If you're using the command line tool, currently there's no way to save lyrics as TXT. Otherwise, when calling for example |
@allerter How about redirecting to stdout instead of writing to disk? |
I'm using this as part of a system. So I'm not invoking it manually. And I’ve had problems with needing a TXT file, as well as with being able to manipulate the results. Here’s how I got around it. I wrote a Since the output filename is variable, and may or may not exist, it’s kind of hard to look at the file to know if it exists and is valid. [However, the variable output filename is VERY useful as a sanity check for whether the correct lyrics were found, so I quite liked it in the end.] So I have to actually have to:
It’s a bit cumbersome. If there was simply an option to specify the output file, it would have saved me all that. Caveat: The option may be there and maybe I simply missed it and wasted my own time 😂 |
@kqvanity, sadly no. The CLI is pretty simple and can only save as JSON. For anything more, you'd need to use Python. |
@allerter |
@kqvanity, simply not possible with the current state of the CLI. If you have more questions regarding the CLI, feel free to open another issue. I'll lock this for now |
Instead of json
I just want a TXT of the lyrics
The text was updated successfully, but these errors were encountered: