Comments (16)
Running into this, cannot repeat a single track. Anything I can help with?
from librespot.
Come on.
from librespot.
Just so you know the shuffle and repeat from @kingosticks was added in #2, I know there are still some things to fix so I'll keep this open:
See his comments here and here.
from librespot.
librespot-java
has implemented it. Basically it's a complete move away from Mercury-based spirc
towards a web socket interface. One could port it from librespot-java
: it requires major breaking (i.e. non-incremental) changes under the hood of librespot
.
from librespot.
In hindsight I should likely apologize as I came into this discussion section with frustration and confusion. I have no intention of rushing your development or forcing you to tunnel vision on just the repeat function. It's actually not that big of a deal in my life, Spotify. Continue focusing on what's important and spotifyd will be everything you're seeing ahead. Best of luck to you.
from librespot.
Reporting back after some time: with the current spirc
we have no way of indicating that we support single repeat mode, so the client doesn't offer it. Maybe it will be possible when we start publishing our device capabilities on HTTPS, which is targeted for v0.5. Otherwise it will require the dealer
interface which will certainly have to wait until v0.6.
from librespot.
Same.
from librespot.
Unfortunately it's only half done, if you disable shuffle it doesn't go back to the original track order like the official client does. I can't work out an elegant way to solve this, my only idea is to make another copy of the tracklist and restore that when shuffle is disabled
An update in regards to the above. It's become obvious this isn't a good idea as librespot may have never seen a non-shuffled version of the tracklist (e.g. a mobile client shuffled the tracklist whilst disconnected from the network). Re-fetching the tracks from the context uri is simplest. You just have to ensure you save the queued tracks before doing so as they are not part of the context and would otherwise be lost. I think the official Android client has a bug here as if you enable/disable shuffle a few times in a row you sometimes suddenly lose the queued tracks.
from librespot.
The different repeat modes (single vs all) is still covered by this issue but the remaining shuffle part of this is superseded by #264
from librespot.
Will be tackling this under new-api
efforts.
from librespot.
Status?
from librespot.
Status?
from librespot.
would like to see this happen as well.
from librespot.
Running into this, cannot repeat a single track. Anything I can help with?
For anyone facing this issue, the repeat single track option works with librespot-java, this might be a temporary solution until this gets fixed in the Rust version 👍
from librespot.
i would rather live with the proprietary spotify client than to have to use that
from librespot.
@roderickvd Can you elaborate a bit about the dealer
interface or link some reference about it?
The "repeat one" functionality is quite important for my use case and I want to try to dig into this topic.
from librespot.
Related Issues (20)
- Librespot hangs application on empty queue HOT 1
- Unbuffered sinks write packets as they become availible ending track after a few seconds HOT 2
- Librespot with pulseaudio setup HOT 2
- Autoplay is not working HOT 2
- Excessive onevent "playing" notifications HOT 1
- OpenVPN interference with Librespot's Spotify Connect feature HOT 1
- Gapless play and next button HOT 11
- Track not available on librespot 0.4.2 HOT 6
- Play example needs to be updated HOT 2
- librespot/snapcast sometimes plays like /dev/random :fearful: HOT 3
- librespot crashes if volume is not changed first HOT 3
- Configurable MINIMUN_DOWNLOAD_SIZE / audio fetch parameters HOT 3
- `Could not get Alsa softvol dB range` when trying to control PipeWire volume via ALSA HOT 2
- error audio key, unable to load key
- called `Result::unwrap()` on an `Err` value: AuthenticationError(LoginFailed(PremiumAccountRequired)) HOT 1
- Music stops abruptly when playing long playlists HOT 1
- librespot / SPIRC crashed in the middle of the night HOT 4
- [Feature Request] Allow downloading of playlists for listening offline HOT 2
- Authentication on all desktop platforms is broken HOT 1
- Android Hashcash Not working? 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.