Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21b4103cb8 | ||
|
|
540eb286b3 |
@@ -72,6 +72,7 @@ public class PlaybackController implements PlaybackControllerNotifiable {
|
||||
List<BaseItemDto> mItems;
|
||||
VideoManager mVideoManager;
|
||||
int mCurrentIndex;
|
||||
int mLastIndex;
|
||||
protected long mCurrentPosition = 0;
|
||||
private PlaybackState mPlaybackState = PlaybackState.IDLE;
|
||||
|
||||
@@ -611,8 +612,11 @@ public class PlaybackController implements PlaybackControllerNotifiable {
|
||||
return;
|
||||
}
|
||||
|
||||
// clear options on start of every item
|
||||
clearPlaybackSessionOptions();
|
||||
if (mCurrentIndex != mLastIndex) {
|
||||
clearPlaybackSessionOptions();
|
||||
mCurrentOptions.setAudioStreamIndex(null);
|
||||
mLastIndex = mCurrentIndex;
|
||||
}
|
||||
|
||||
mStartPosition = position;
|
||||
mCurrentStreamInfo = response;
|
||||
@@ -887,7 +891,6 @@ public class PlaybackController implements PlaybackControllerNotifiable {
|
||||
wasSeeking = false;
|
||||
burningSubs = false;
|
||||
mCurrentStreamInfo = null;
|
||||
mCurrentOptions.setAudioStreamIndex(null);
|
||||
}
|
||||
|
||||
public void next() {
|
||||
|
||||
@@ -4,7 +4,7 @@ accompanist = "0.37.3"
|
||||
acra = "5.13.1"
|
||||
android-compileSdk = "36"
|
||||
android-desugar = "2.1.5"
|
||||
android-gradle = "8.13.0"
|
||||
android-gradle = "8.11.1"
|
||||
android-minSdk = "21"
|
||||
android-targetSdk = "36"
|
||||
androidx-activity = "1.11.0"
|
||||
|
||||
Reference in New Issue
Block a user