mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-31 01:33:44 -04:00
[htdocs/web-src/README] review comments fixes
This commit is contained in:
parent
e0a18082f7
commit
19abbe5d5d
@ -1658,7 +1658,7 @@ curl -X PUT "http://localhost:3689/api/update"
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Trigger meta rescan
|
### Trigger metadata rescan
|
||||||
|
|
||||||
Trigger a library metadata rescan even if files have not been updated. Maintenence method.
|
Trigger a library metadata rescan even if files have not been updated. Maintenence method.
|
||||||
|
|
||||||
|
@ -97,8 +97,7 @@
|
|||||||
<div class="column is-7 content">
|
<div class="column is-7 content">
|
||||||
<a class="button" v-on:click="update" v-show="!library.updating">Update library</a>
|
<a class="button" v-on:click="update" v-show="!library.updating">Update library</a>
|
||||||
<p v-show="library.updating">Update in progress ...</p>
|
<p v-show="library.updating">Update in progress ...</p>
|
||||||
<a class="button" v-on:click="update_meta" v-show="!library.updating">Rescan library meta</a>
|
<a class="button" v-on:click="update_meta" v-show="!library.updating">Rescan library</a>
|
||||||
<p v-show="library.updating">Rescan in progress ...</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
update_meta: function () {
|
update_meta: function () {
|
||||||
webapi.library_update_meta()
|
webapi.library_rescan()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ export default {
|
|||||||
return axios.put('/api/update')
|
return axios.put('/api/update')
|
||||||
},
|
},
|
||||||
|
|
||||||
library_update_meta () {
|
library_rescan() {
|
||||||
return axios.put('/api/rescan')
|
return axios.put('/api/rescan')
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user