mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-03 17:44:51 +02:00
Fix:Initial audiobook progress sync, Fix:Reset stream on logout
This commit is contained in:
parent
6bb8dfeffa
commit
f5d455feb1
13 changed files with 157 additions and 142 deletions
|
@ -4,6 +4,9 @@
|
|||
<div class="top-2 left-4 absolute cursor-pointer">
|
||||
<span class="material-icons text-5xl" @click="collapseFullscreen">expand_more</span>
|
||||
</div>
|
||||
<div v-show="showCastBtn" class="top-3.5 right-20 absolute cursor-pointer">
|
||||
<span class="material-icons text-3xl" @click="castClick">cast</span>
|
||||
</div>
|
||||
<div class="top-3 right-4 absolute cursor-pointer">
|
||||
<span class="material-icons text-4xl" @click="$emit('close')">close</span>
|
||||
</div>
|
||||
|
@ -92,6 +95,7 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
showCastBtn: false,
|
||||
showFullscreen: false,
|
||||
totalDuration: 0,
|
||||
currentPlaybackRate: 1,
|
||||
|
@ -158,6 +162,10 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
castClick() {
|
||||
console.log('Cast Btn Click')
|
||||
MyNativeAudio.requestSession()
|
||||
},
|
||||
sendStreamSync(timeListened = 0) {
|
||||
var syncData = {
|
||||
timeListened,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue