librespot icon indicating copy to clipboard operation
librespot copied to clipboard

Preload next track when approaching the end of the current one

Open plietar opened this issue 9 years ago • 13 comments
trafficstars

Currently we don't start loading the next track until the current one has completed. This causes a short delay between tracks.

Instead the next track should start loading before that.

plietar avatar Dec 30 '15 12:12 plietar

Maybe with (optional) crossfading, if possible

fbrinker avatar Jan 02 '16 10:01 fbrinker

Crossfading and gapless playback are two different things. In HW spotify connect gear, gapless is standard.

TonioRoffo avatar Nov 11 '16 19:11 TonioRoffo

Gapless is really a must for me, since most of what I listen to is either live or classical music, where much of the 'transitions' are mid-sound (specially in Opera, for instance).

Any time frame on this new feature? Thanks for all the hard work, best regards, Rafa.

RafaPolit avatar Jan 20 '17 21:01 RafaPolit

Gapless isn't too hard, and I'm working on a refactor which will also enable that. I can't give it an ETA, but probably somewhere within the next month.

Cross-fade is a lot trickier, and I don't have any immediate plans for it

plietar avatar Jan 20 '17 22:01 plietar

+1 for gapless for me. (Just for the record, no pressure, keep up the good work.)

cortegedusage avatar Feb 14 '17 08:02 cortegedusage

+1 – would be great if this was implemented.

johnstok avatar May 31 '17 18:05 johnstok

Any news on this? I'm eagerly awaiting for this and 6 months ago you said it wasn't hard. Was it more difficult than expected or this is simply not a priority for others? For me its critical. Please? Thanks.

RafaPolit avatar Jun 27 '17 17:06 RafaPolit

Paul mentioned he was busy until July, most things have been put on hold till then. I'm sure it will be added in due course. Cross fade is harder due to the need to mix audio streams

sashahilton00 avatar Jun 27 '17 18:06 sashahilton00

Yeah, I wasn't talking about crossfading, just gapless playback for concerts, and classical pieces that flow seamlessly into the next movement (most critical in Opera).

RafaPolit avatar Jun 27 '17 19:06 RafaPolit

Any progress on gapless playback? I still hear breaks between the tracks.

pauLee avatar Nov 17 '17 14:11 pauLee

It's been about 2 years, any updates? I just switched to spotifyd and as much as it's good, I really really miss crossfade.

ThatOneCalculator avatar Sep 01 '20 18:09 ThatOneCalculator

@ThatOneCalculator: this isn't the main repository for librespot anymore, it's moved to https://github.com/librespot-org/librespot.

The feature in question has already been implemented there, in https://github.com/librespot-org/librespot/pull/430

wfraser avatar Sep 01 '20 19:09 wfraser

Ty

ThatOneCalculator avatar Sep 01 '20 19:09 ThatOneCalculator