Stop playBookmak from being updated when a song is paused.
This commit is contained in:
parent
7101f3fd53
commit
aa640bb4f9
@ -393,7 +393,10 @@ Configuration:
|
|||||||
dismissMsgDate = new Date(new Date().time + msgTimeout) } } }
|
dismissMsgDate = new Date(new Date().time + msgTimeout) } } }
|
||||||
else {
|
else {
|
||||||
drawLeader()
|
drawLeader()
|
||||||
if (curMediaFile && System.currentTimeMillis() > nextBookmarkUpdate) {
|
if (curMediaFile &&
|
||||||
|
vlcj.mediaListPlayer.mediaPlayer.isPlaying() &&
|
||||||
|
System.currentTimeMillis() > nextBookmarkUpdate) {
|
||||||
|
|
||||||
playBookmark.playTimeMs =
|
playBookmark.playTimeMs =
|
||||||
vlcj.mediaListPlayer.mediaPlayer.time
|
vlcj.mediaListPlayer.mediaPlayer.time
|
||||||
library.save(playBookmark)
|
library.save(playBookmark)
|
||||||
|
Loading…
Reference in New Issue
Block a user