Comments (5)
The audiofiles are available for the alternative track listed in the response.
Is this a general thing for Spotify - having to query alternative tracks?
It must also be noted that when the alternative track is queried, it does not list the original queried track as an alternative.
So what must be done in case Spotify had not grouped alternative tracks? How does one get the audiofiles then?
from librespot.
They will always provide alternate tracks if required. Why would you need a way to access the "original" track that you can't play?
Have you read https://developer.spotify.com/documentation/web-api/concepts/track-relinking ?
The general Spotify principles explained in their officla docs are often relevant to working with librespot.
from librespot.
I'll close this issue, but "always provide alternative tracks if required".
Does that mean that if the track is found to be playable, the alternative track would automatically be empty,
Or does the developer need to check if the track is unplayable and then loop over the alternative tracks listed if any.
from librespot.
Does that mean that if the track is found to be playable, the alternative track would automatically be empty,
I don't remember. But I recall they provide some field to describe the availability.
Look how this is done at
librespot/playback/src/player.rs
Line 881 in 2ea7436
from librespot.
Does that mean that if the track is found to be playable, the alternative track would automatically be empty,
I don't remember. But I recall they provide some field to describe the availability.
Look how this is done at
?librespot/playback/src/player.rs
Line 881 in 2ea7436
Thanks. That helped. Closing now.
from librespot.
Related Issues (20)
- Authentication failures HOT 125
- add logging hint to check the source sample rate on buffer underruns HOT 3
- "Too many errors" HOT 2
- Discovery server immediately shuts down after starting, no visible error HOT 1
- Possible ratelimiting introduced by Spotify HOT 19
- Updating docs for struct fields HOT 1
- Playback failures HOT 1
- Unable to load encrypted file: ChannelError HOT 37
- Version 5 dev (2ea7436) --initial-volume 0 results in full volume HOT 4
- Build failures caused by nasm HOT 9
- Librespot 20.0.130 Kodi HOT 5
- username/password authentication method broken, results in "bad credentials" error HOT 2
- Token error for some scopes HOT 12
- dropping truncated packet Warning
- Build fails when using `cargo build --frozen` HOT 1
- Connection reset by peer (os error 104) HOT 10
- Error on cargo build --release HOT 8
- error audio key 0 2 HOT 5
- Can't jump to specific track in playlist HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librespot.