Nah that didn't work, here's some auto-disconnect bugfixes

This commit is contained in:
DaXcess
2023-09-26 14:56:31 +02:00
parent d93758e250
commit 4a90cb8718
4 changed files with 38 additions and 18 deletions
+2 -2
View File
@@ -318,13 +318,13 @@ impl PlayerTask {
match pbi.as_mut() {
Some(pbi) => {
pbi.update_track(spotify_id, current);
pbi.update_pos_dur(position_ms, duration_ms, true);
pbi.update_pos_dur(position_ms, duration_ms, playing);
}
None => {
*pbi = Some(PlaybackInfo::new(
duration_ms,
position_ms,
true,
playing,
current,
spotify_id,
));