Fix scan for audiobook directories in root dir

This commit is contained in:
advplyr 2021-08-23 14:08:54 -05:00
parent 5ecfaa88c2
commit a93f409dcd
11 changed files with 157 additions and 11 deletions

View file

@ -53,6 +53,7 @@
</a>
</div>
</div>
<div class="fixed bottom-0 left-0 w-10 h-10" @dblclick="setDeveloperMode"></div>
</div>
</template>
@ -70,6 +71,11 @@ export default {
}
},
methods: {
setDeveloperMode() {
var value = !this.$store.state.developerMode
this.$store.commit('setDeveloperMode', value)
this.$toast.info(`Developer Mode ${value ? 'Enabled' : 'Disabled'}`)
},
scan() {
this.$root.socket.emit('scan')
},