[web-src] forced meta rescan

This commit is contained in:
whatdoineed2do/Ray
2019-06-09 15:19:52 +01:00
committed by ejurgensen
parent e9c1a59ad2
commit bf7c96d23f
4 changed files with 17 additions and 1 deletions

View File

@@ -56,6 +56,11 @@ var app = new Vue({
axios.get('/api/update').then(console.log('Library is updating'));
},
update_meta: function() {
this.library.updating = true;
axios.get('/api/update/meta').then(console.log('Library is rescanning meta'));
},
kickoffPairing: function() {
axios.post('/api/pairing', this.pairing_req).then(response => {
console.log('Kicked off pairing');