mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-06 03:50:06 +02:00
fix: prefer repeat context over autoplay
This commit is contained in:
parent
28ef73774d
commit
aa210c3eeb
1 changed files with 2 additions and 1 deletions
|
@ -296,7 +296,8 @@ impl<'ct> ConnectState {
|
||||||
delimiter
|
delimiter
|
||||||
}
|
}
|
||||||
None if !matches!(self.fill_up_context, ContextType::Autoplay)
|
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)?;
|
self.update_context_index(self.fill_up_context, new_index)?;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue