Added convertToMins function and time in app-chrome
This commit is contained in:
parent
042229ea90
commit
6143266965
3 changed files with 18 additions and 1 deletions
|
@ -77,7 +77,10 @@
|
|||
{{ (mk.nowPlayingItem["attributes"]["albumName"]) ? (" - " + mk.nowPlayingItem["attributes"]["albumName"]) : "" }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="song-duration" style="display: flex; justify-content: space-between;;">
|
||||
<p style="width: auto">{{ convertToMins(getSongProgress()) }}</p>
|
||||
<p style="width: auto">{{ convertToMins(mk.currentPlaybackDuration) }}</p>
|
||||
</div>
|
||||
<div class="song-progress">
|
||||
<input type="range" step="0.01" min="0" :style="progressBarStyle()"
|
||||
@input="playerLCD.desiredDuration = $event.target.value;playerLCD.userInteraction = true"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue