Comments (5)
Comment by plietar
Thursday Feb 09, 2017 at 00:55 GMT
What are you using to load the track ?
Some tracks have restrictions which prevent them from being played in certain countries. They however have a list of "alternatives" which can be used instead.
The player includes support for this. If the track is not available, it will use an alternative instead. This is implemented as the find_available_alternative
function: https://github.com/plietar/librespot/blob/master/src/player.rs#L165-L191
The track you've listed as an example loads just fine in the player for me (even when bypassing spirc). If you are not using the provided Player
but are downloading and decrypting the file manually, you may need a similar logic to find the right file.
from librespot.
Comment by XDjackieXD
Thursday Feb 09, 2017 at 07:32 GMT
I did not remove the find alternative from the player and I'm just bypassing spirc (getting the spotify IDs from a FiFo file).
This track plays fine on the normal spotify client and it plays fine when using spirc. When printing out the spotify id thta is getting sent by spirc, it correspomds to the same song inside an other album.
from librespot.
@XDjackieXD Did you ever solve this problem?
from librespot.
I didn't solve it but it seems like it was fixed in recent librespot versions (at least I didn't encounter it anymore after updating the librespot version I based my project upon)
from librespot.
Thats good news! Just open a new issue if you come across it again.
from librespot.
Related Issues (20)
- High CPU usage and stutter for some songs HOT 1
- get_extended_metadata HOT 3
- Home screen empty HOT 1
- Unable to get client token HOT 2
- translation of lyrics HOT 1
- Librespot causing Spocon to pause/not work? HOT 2
- Support additionnal SpotifyUri types HOT 2
- Can't play new songs (released on current day). Automatically skipping. HOT 1
- Librespot playback won't work HOT 1
- sound volume issue librespot/snapserver HOT 2
- Segmentation fault when running static build with `with-dns-sd`
- librespot unable to play songs
- request a new release HOT 5
- regression: lyrics API no longer working HOT 2
- [question] Configuration file HOT 1
- Librespot starts spamming the new status of the song
- "Connection reset by peer" - possible solution HOT 4
- the trait bound `&url::Url: IntoClientRequest` is not satisfied HOT 3
- player.await_end_of_track exit with exit code: 1
- Tidal Connect 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.