Skip to content

Commit

Permalink
add mediaItem show notify
Browse files Browse the repository at this point in the history
  • Loading branch information
orz12 committed Jul 24, 2024
1 parent 2861179 commit 718e1ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/services/audio_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ class VideoPlayerServiceHandler extends BaseAudioHandler with SeekHandler {
if (mediaItem == null) return;
// print("exist: ${PlPlayerController.instanceExists()}");
if (!PlPlayerController.instanceExists()) return;
SmartDialog.showToast(mediaItem.title ?? "无");
// _item.add(mediaItem);
setMediaItem(mediaItem);
setPlaybackState(PlayerStatus.playing, false);
Expand Down

0 comments on commit 718e1ee

Please sign in to comment.