Giter Club home page Giter Club logo

Comments (5)

sashahilton00 avatar sashahilton00 commented on July 18, 2024

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.

sashahilton00 avatar sashahilton00 commented on July 18, 2024

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.

ComlOnline avatar ComlOnline commented on July 18, 2024

@XDjackieXD Did you ever solve this problem?

from librespot.

XDjackieXD avatar XDjackieXD commented on July 18, 2024

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.

ComlOnline avatar ComlOnline commented on July 18, 2024

Thats good news! Just open a new issue if you come across it again.

from librespot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.