1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-05 19:42:03 +02:00

fix: prefer repeat context over autoplay

This commit is contained in:
Felix Prillwitz 2025-08-29 23:55:42 +02:00
parent 28ef73774d
commit aa210c3eeb
No known key found for this signature in database
GPG key ID: DE334B43606D1455

View file

@ -296,7 +296,8 @@ impl<'ct> ConnectState {
delimiter
}
None if !matches!(self.fill_up_context, ContextType::Autoplay)
&& self.autoplay_context.is_some() =>
&& self.autoplay_context.is_some()
&& !self.repeat_context() =>
{
self.update_context_index(self.fill_up_context, new_index)?;