mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #1102] Enhance Spotipy with Language Information for Tracks #655
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#655
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 @miki-reynolds on GitHub (May 9, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1102
Is your feature request related to a problem? Please describe.
Currently, there is no support for retrieving language information for tracks in the Spotipy library. This limitation hinders developers from building language-aware music applications and providing language-specific recommendations to users.
Describe the solution you'd like
I would like to request the addition of language information for tracks in the Spotipy library. This feature would involve introducing a new attribute or field in the track metadata response that indicates the language of the song. Additionally, implementing a mechanism to automatically detect the language of the lyrics or title of a song would be beneficial. This language information should be accessible through relevant Spotipy methods, such as
spotify.track()orspotify.album_tracks().Describe alternatives you've considered
An alternative solution could involve developers manually annotating the language of tracks in their applications. However, this approach is not scalable and requires additional effort from developers. Incorporating automatic language detection within Spotipy would streamline the process and improve efficiency for developers.
Additional context
Including language information in track metadata aligns with the growing demand for multilingual music applications. This feature would enhance Spotipy's capabilities and make it a more comprehensive tool for developers working with linguistically diverse music libraries. Below is an example of how this feature might be used:
Thank you for considering this feature request. If you need any further clarification or have any questions, please let me know!
@dieser-niko commented on GitHub (May 9, 2024):
Sorry, but spotipy is just a wrapper. This enhancement would need to be implemented in the Spotify API.
Lyrics are not available through the developer API, so this would be unreachable as well.
SpotifyClientCredentialsand fixed a bug in refresh tokens methods that raised the wrong exception #982