A cross platform Audiobookshelf client for Android and iOS
Dart
Add next series book to end of cards when in manual queue mode
Barnabas1ed3af496290
diff --git a/lib/providers/_lp_absorbing.dart b/lib/providers/_lp_absorbing.dartindex 66bb1271..e6bbbbee 100644--- a/lib/providers/_lp_absorbing.dart+++ b/lib/providers/_lp_absorbing.dart@@ -753,14 +753,18 @@ mixin _AbsorbingMixin on ChangeNotifier, _StateMixin, _CoreMixin {return;}- _absorbingIdsAdd(nextKey, afterKey: finishedBookId);+ final mode = await PlayerSettings.getBookQueueMode();+ if (mode == 'auto_next') {+ _absorbingIdsAdd(nextKey, afterKey: finishedBookId);+ } else {+ _absorbingIdsAdd(nextKey, atFront: false);+ }_absorbingItemCache[nextKey] = next.value;_manualAbsorbAdds.add(nextKey);_saveManualAbsorbing();notifyListeners();debugPrint('[Absorbing] Auto-added next series book: $nextKey (seq ${nextSeq.first})');- final mode = await PlayerSettings.getBookQueueMode();if (mode != 'auto_next') return;if (AudioPlayerService.wasNoisyPause) return;if (AudioPlayerService().isPlaying) return;