mirror of
https://github.com/jellyfin/jellyfin-androidtv.git
synced 2025-08-06 15:20:34 +08:00
Prevent seeking from crashing app if video info is not initialized yet
This commit is contained in:

committed by
Niels van Velzen

parent
d91d873c61
commit
38aa2f1cb3
@ -901,6 +901,8 @@ public class PlaybackController implements PlaybackControllerNotifiable {
|
||||
// set seekPosition so real position isn't used until playback starts again
|
||||
mSeekPosition = pos;
|
||||
|
||||
if (mCurrentStreamInfo == null) return;
|
||||
|
||||
// rebuild the stream
|
||||
// if an older device uses exoplayer to play a transcoded stream but falls back to the generic http stream instead of hls, rebuild the stream
|
||||
if (!mVideoManager.isSeekable()) {
|
||||
|
Reference in New Issue
Block a user