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

(Feature request) Lyrics translation with DeepL free API #5646

Open
Zerodya opened this issue Feb 24, 2025 · 2 comments
Open

(Feature request) Lyrics translation with DeepL free API #5646

Zerodya opened this issue Feb 24, 2025 · 2 comments
Labels
feature features we would like to implement

Comments

@Zerodya
Copy link

Zerodya commented Feb 24, 2025

DeepL has a free plan up to 500,000 characters per month. Could it be possible to integrate its API in the lyrics plugin?

Looking at the documentation, only the Azure Translator resource is currently supported, but by looking it up I saw that it is a pay as you go service with a free trial, so DeepL could be a better choice. What do you think?

@snejus
Copy link
Member

snejus commented Feb 26, 2025

I don't see why not, that's a good idea!

@snejus snejus added the feature features we would like to implement label Feb 26, 2025
@Zerodya
Copy link
Author

Zerodya commented Feb 26, 2025

Cool! In the meantime, (A)I made a quick script to translate the lyrics in my library using the DeepL API, which I put into this gist: https://gist.github.com/Zerodya/301ade170c94861268b9bffef385b096

Just sharing in case it's useful to someone else too, or maybe it could even speed up the API implementation in Beets.

I admit I haven't looked into making a PR to beets yet, and while I could, I think it's better for someone else with more experience in Beets code to do it, since I also lack the motivation now that I can translate the lyrics anyway.

@Zerodya Zerodya changed the title (Feauture request) Lyrics translation with DeepL free API (Feature request) Lyrics translation with DeepL free API Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature features we would like to implement
Projects
None yet
Development

No branches or pull requests

2 participants