mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #29] Support additional languages #19
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kidmil on GitHub (Jun 7, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/29
hi
i use this ytmapi.
it's very good api.
but i have some problem about language.
it returns not korean music title or artist name but english music title or artist name.
can i get other langauge's music info not english?
ah.. i use get_history method.
@sigma67 commented on GitHub (Jun 8, 2020):
Hey, the language is currently fixed to English and specified in the library's
context.json(hl variable).Supporting multiple languages will require some significant testing, as some string parsing may break due to different encodings. For example, I tested get_playlist with hl='de' and it required adding
unicodedata.normalizeto the function. Feel free to experiment with different languages (i.e. korean) and let me know what you find.