mirror of
https://github.com/janishutz/MusicPlayerV2.git
synced 2025-11-25 04:54:23 +00:00
fix player playback pos update
This commit is contained in:
@@ -434,6 +434,7 @@
|
|||||||
if ( pos.value > 0 && !hasStarted ) {
|
if ( pos.value > 0 && !hasStarted ) {
|
||||||
getDetails();
|
getDetails();
|
||||||
playingSong = player.getPlayingSong();
|
playingSong = player.getPlayingSong();
|
||||||
|
pos.value = player.getPlaybackPos();
|
||||||
prepNiceDurationTime( playingSong );
|
prepNiceDurationTime( playingSong );
|
||||||
notificationHandler.emit( 'playlist-index-update', currentlyPlayingSongIndex.value );
|
notificationHandler.emit( 'playlist-index-update', currentlyPlayingSongIndex.value );
|
||||||
notificationHandler.emit( 'playback-update', isPlaying.value );
|
notificationHandler.emit( 'playback-update', isPlaying.value );
|
||||||
|
|||||||
Reference in New Issue
Block a user