mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1523] [CLOSED] patch use of unresolvable CDN URLs #1427
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1427
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?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/1523
Author: @KUHLwasStolen
Created: 8/2/2025
Status: ❌ Closed
Base:
dev← Head:lookup-cdn-simple📝 Commits (4)
fa7fe9dadd DNS lookup to try_get_url function to only return reachable URLs456c536move resolvability check to resolve_audio to execute it less oftenb1e1117follow contributing guideline and implement changes suggested by clippycea1a11remove empty line and function documentation as suggested in review📊 Changes
4 files changed (+38 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
Cargo.lock(+13 -0)📝
core/Cargo.toml(+1 -0)📝
core/src/cdn_url.rs(+23 -1)📄 Description
This pull request adds a check to the
resolve_audiofunction that checks the URLs via a DNS lookup. This is usually executed once per song.As pointed out in this comment this patch is not an ideal solution, but until there is a better fix available I thought it can't hurt to suggest this, at least as a temporary patch.
I'm open to all sorts of suggestions and feedback on this PR.
closes #1521
closes #1522
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.