Skip to content

Commit

Permalink
chore: skip dummy videos in queue
Browse files Browse the repository at this point in the history
  • Loading branch information
MSOB7YY committed Jan 24, 2024
1 parent 889061c commit 8c7b45f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/controller/audio_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,11 @@ class NamidaAudioVideoHandler<Q extends Playable> extends BasicAudioHandler<Q> {
_isFetchingInfo.value = false;
_nextSeekSetAudioCache = null;

if (item.id == '' || item.id == 'null') {
await skipToNext(startPlaying);
return;
}

refreshNotification(pi, currentVideoInfo.value);

Future<void> plsplsplsPlay(bool wasPlayingFromCache, bool sourceChanged) async {
Expand Down

0 comments on commit 8c7b45f

Please sign in to comment.