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
Using beets in a bash script results in error #2041
Comments
Headsup: #1997 Also mentions the same error. But I've tried running beets without any plugins and the result was the same. |
Thanks for documenting the problem! This was indeed a regression in the previous version. I've committed a fix with tests. |
My bad... #1997 indeed is different. I don't remember which one I was trying to link ^^ Thanks for the fix. |
When will the fix for this be available? |
it should be available now in 1.3.19 |
And is 1.3.19 available via pip?
|
should be |
Problem
I was trying to get rid of around 1700 directories/subdirectories with only 1 or 2 mp3 files in it due to importing a lot of various artist albums in a bad way. I didn't go delete all && beet update way and wanted to use it in a bash script.
Turns out 1.3.18 has a bug for that matter.
Since beets doesn't have a --quiet or --force parameter for beet remove command, I had to manually pass the stdin to beet when it was asked.
Running the example command below
echo 'y'|beet remove -d "/Depo/Beets/Anberlin/New Surrender"
results with error message:
Same goes for other methods. When I wanted to pass Y to beets, none of them were accepted. Only after @DjSlash said he had success with the command that we were able to identify the problem. Turns out 1.3.17 doesn't have such problems and after a downgrade I managed to do what I wanted as well.
Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: