|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
<v-icon>$settings</v-icon>
|
|
|
|
|
</v-btn>
|
|
|
|
|
-->
|
|
|
|
|
<!--
|
|
|
|
|
<!--
|
|
|
|
|
<v-card-text style="height: 100px; position: relative">
|
|
|
|
|
<v-btn color="pink" dark absolute top right fab>
|
|
|
|
|
<v-icon>mdi-plus</v-icon>
|
|
|
|
@ -70,6 +70,12 @@ export default {
|
|
|
|
|
created() {
|
|
|
|
|
this.playlistRemainingCountdown = this.playlistRemaining;
|
|
|
|
|
this.device_screen_src = "/current-image?" + Date.now();
|
|
|
|
|
|
|
|
|
|
setInterval(() => {
|
|
|
|
|
if (this.playlistRemainingCountdown > 0) {
|
|
|
|
|
this.playlistRemainingCountdown--;
|
|
|
|
|
}
|
|
|
|
|
}, 1000);
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
playlistProgress() {
|
|
|
|
@ -84,15 +90,9 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
|
playlistRemaining(val) {
|
|
|
|
|
if (val > 0) {
|
|
|
|
|
this.playlistRemainingCountdown = val;
|
|
|
|
|
this.device_screen_src = "/current-image?" + Date.now();
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
playlistRemainingCountdown(val) {
|
|
|
|
|
if (val > 0) {
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.playlistRemainingCountdown--;
|
|
|
|
|
}, 1000);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|