Skip to content
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

Batch edit ? #27

Open
roubachof opened this issue Apr 24, 2023 · 2 comments
Open

Batch edit ? #27

roubachof opened this issue Apr 24, 2023 · 2 comments
Labels
feature request New feature or request

Comments

@roubachof
Copy link

I try to batch update the genre of a whole directory:

~/Music/Trees - Trees (50th Anniversary Edition)$ id3edit --set-genre "Folk" *.mp3

Invalid Argument: "Trees - Trees (50th Anniversary Edition) - 01 Nothing Special.mp3"
id3edit [2.1.3]

 id3edit --help
 id3edit --version
 id3edit options mp3file

But it doesn't seem to work...
Any additional argument to use ?

@rstemmer rstemmer added the feature request New feature or request label Apr 24, 2023
@rstemmer
Copy link
Owner

The original use-case of id3edit was to inspect and repair broken tags. This is why the application expects only a single file.
Still, your use-case is quiet reasonable, so I will make this ticket a feature request :)

It might be not that easy to implement, because parameters like --set-name make no sense in such cases.

There is a good Linux-Style way to perform batch-processing files with id3edit (or any other application even if the application does not support processing multiple files at once: find. (One might call this a workaround.)

find . -name "*.mp3" -exec id3edit --set-genre "Folk" {} \;
# Find all mp3 files in the current directory and its sub directory.
# Execute a command line (from -exec to \;) for each found file,
# and place its path (of the found file) at the location of {}.

I hope the find-solution helps you.
Due to too may hobbies and work, you better not wait for batch-processing being implemented in id3edit 😄

@roubachof
Copy link
Author

Thanks so much for your answer :)
Yes I used the find "way" for now.
Really nice software, the help menu is just "wow" :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants