show radio title in the palyer bar. fix #23
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Artem Anufrij 2023-09-26 14:57:37 +02:00
parent 9c73510bc9
commit c7f6695416

View File

@ -9,6 +9,9 @@
from from
<b>{{ selectedTrack.parent.title }}</b> <b>{{ selectedTrack.parent.title }}</b>
</div> </div>
<div v-if="selectedRadio._id" class="flex-column">
<b>{{ selectedRadio.name }}</b>
</div>
</div> </div>
<div id="playerControls" class="flex-row center"> <div id="playerControls" class="flex-row center">
<button @click="switchShuffle" title="Shuffle mode" v-if="selectedTrack._id"> <button @click="switchShuffle" title="Shuffle mode" v-if="selectedTrack._id">
@ -31,8 +34,8 @@
<img src="static/icons/media-no-repeat-dark.svg" class="small" v-show="$store.getters['player/repeatType'] == 'none'" /> <img src="static/icons/media-no-repeat-dark.svg" class="small" v-show="$store.getters['player/repeatType'] == 'none'" />
</button> </button>
</div> </div>
<div class="flex-row ma-right hideOnMobilePortrait grow right" v-show="selectedTrack.title"> <div class="flex-row ma-right hideOnMobilePortrait grow right">
{{ formatedP }}&nbsp;|&nbsp;{{ formatedD }} <span v-show="selectedTrack.title">{{ formatedP }}&nbsp;|&nbsp;{{ formatedD }}</span>
</div> </div>
</div> </div>
<audio preload="auto" ref="audioControl" type="audio/mpeg" @ended="nextTrack" @canplay="play" @playing="playing" @durationchange="durationChanged" @timeupdate="timeUpdate" src></audio> <audio preload="auto" ref="audioControl" type="audio/mpeg" @ended="nextTrack" @canplay="play" @playing="playing" @durationchange="durationChanged" @timeupdate="timeUpdate" src></audio>