remove debug statements.
This commit is contained in:
parent
359d866a99
commit
aca10d328f
4 changed files with 16 additions and 12 deletions
|
|
@ -109,8 +109,6 @@ const prepareVideoPlayer = () => {
|
||||||
mediaMetadata['artist'] = props.artist
|
mediaMetadata['artist'] = props.artist
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(mediaMetadata)
|
|
||||||
|
|
||||||
player = new Plyr(video.value, {
|
player = new Plyr(video.value, {
|
||||||
debug: false,
|
debug: false,
|
||||||
clickToPlay: true,
|
clickToPlay: true,
|
||||||
|
|
|
||||||
|
|
@ -135,14 +135,6 @@ const applyPreferredColorScheme = scheme => {
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
try {
|
try {
|
||||||
if (config.app.ui_update_title) {
|
|
||||||
const s = useStateStore()
|
|
||||||
useHead({ title: `YTPTube: ( ${Object.keys(s.queue).length || 0} | ${Object.keys(s.history).length || 0} )` })
|
|
||||||
watch([s.queue, s.history], () => {
|
|
||||||
const title = `YTPTube: ( ${Object.keys(s.queue).length || 0} | ${Object.keys(s.history).length || 0} )`
|
|
||||||
useHead({ title })
|
|
||||||
}, { deep: true })
|
|
||||||
}
|
|
||||||
applyPreferredColorScheme(selectedTheme.value)
|
applyPreferredColorScheme(selectedTheme.value)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,5 +6,20 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
useHead({ title: 'Index' })
|
const config = useConfigStore()
|
||||||
|
useHead({ title: 'YTPTube' })
|
||||||
|
|
||||||
|
watch(() => config.app.ui_update_title, value => {
|
||||||
|
if (true !== value) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
const s = useStateStore()
|
||||||
|
useHead({ title: `YTPTube: ( ${Object.keys(s.queue).length || 0} | ${Object.keys(s.history).length || 0} )` })
|
||||||
|
watch([s.queue, s.history], () => {
|
||||||
|
const title = `YTPTube: ( ${Object.keys(s.queue).length || 0} | ${Object.keys(s.history).length || 0} )`
|
||||||
|
useHead({ title })
|
||||||
|
})
|
||||||
|
|
||||||
|
}, { immediate: true })
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,6 @@
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
import { parseExpression } from 'cron-parser'
|
import { parseExpression } from 'cron-parser'
|
||||||
const config = useConfigStore()
|
const config = useConfigStore()
|
||||||
console.log(config.tasks)
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue