mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-21 08:47:16 +02:00
* feat(deezer): add functions to fetch related artists, biographies, and top tracks for an artist Signed-off-by: Deluan <deluan@navidrome.org> * feat(deezer): add language support for Deezer API client Signed-off-by: Deluan <deluan@navidrome.org> * fix(deezer): Use GraphQL API for translated biographies The previous implementation scraped the __DZR_APP_STATE__ from HTML, which only contained English content. The actual biography displayed on Deezer's website comes from their GraphQL API at pipe.deezer.com, which properly respects the Accept-Language header and returns translated content. This change: - Switches from HTML scraping to the GraphQL API - Uses Accept-Language header instead of URL path for language - Updates tests to match the new implementation - Removes unused HTML fixture file Signed-off-by: Deluan <deluan@navidrome.org> * refactor(deezer): move JWT token handling to a separate file for better organization Signed-off-by: Deluan <deluan@navidrome.org> * feat(deezer): enhance JWT token handling with expiration validation Signed-off-by: Deluan <deluan@navidrome.org> * refactor(deezer): change log level for unknown agent warnings from Warn to Debug Signed-off-by: Deluan <deluan@navidrome.org> * fix(deezer): reduce JWT token expiration buffer from 10 minutes to 1 minute Signed-off-by: Deluan <deluan@navidrome.org> --------- Signed-off-by: Deluan <deluan@navidrome.org> |
||
|---|---|---|
| .. | ||
| #snapshot | ||
| $Recycle.Bin | ||
| ...unhidden_folder | ||
| .hidden_folder | ||
| artist | ||
| empty_folder | ||
| ignored_folder | ||
| invalid-files | ||
| playlists | ||
| ._02 Invisible.mp3 | ||
| 01 Invisible (RED) Edit Version.m4a | ||
| 01 Invisible (RED) Edit Version.mp3 | ||
| bom-test.lrc | ||
| bom-utf16-test.lrc | ||
| deezer.artist.bio.json | ||
| deezer.artist.related.json | ||
| deezer.artist.top.json | ||
| deezer.search.artist.json | ||
| empty.txt | ||
| index.html | ||
| itunes-library.xml | ||
| lastfm.album.getinfo.empty_urls.json | ||
| lastfm.album.getinfo.json | ||
| lastfm.artist.getinfo.json | ||
| lastfm.artist.getinfo.unknown.json | ||
| lastfm.artist.getsimilar.json | ||
| lastfm.artist.getsimilar.unknown.json | ||
| lastfm.artist.gettoptracks.json | ||
| lastfm.artist.gettoptracks.unknown.json | ||
| lastfm.artist.page.html | ||
| lastfm.artist.page.ignored.html | ||
| lastfm.artist.page.no_meta.html | ||
| listenbrainz.nowplaying.request.json | ||
| listenbrainz.scrobble.request.json | ||
| mixed-lyrics.flac | ||
| no_replaygain.mp3 | ||
| robots.txt | ||
| spotify.search.artist.json | ||
| symlink | ||
| symlink2dir | ||
| test.aiff | ||
| test.flac | ||
| test.lrc | ||
| test.m4a | ||
| test.mp3 | ||
| test.ogg | ||
| test.tak | ||
| test.txt | ||
| test.wav | ||
| test.wma | ||
| test.wv | ||
| zero_replaygain.mp3 | ||