Add:Native progress sync for android auto streaming #41, Change:Android auto only show samples when no audiobooks

This commit is contained in:
advplyr
2021-12-19 18:58:26 -06:00
parent 1a7f90c93b
commit f59e6521fc
12 changed files with 371 additions and 124 deletions
+2 -2
View File
@@ -450,8 +450,8 @@ export default {
this.playedTrackWidth = ptWidth
if (this.useChapterTrack) {
this.$refs.totalPlayedTrack.style.width = Math.round(totalPercentDone * this.trackWidth) + 'px'
this.$refs.totalBufferedTrack.style.width = Math.round(totalBufferedPercent * this.trackWidth) + 'px'
if (this.$refs.totalPlayedTrack) this.$refs.totalPlayedTrack.style.width = Math.round(totalPercentDone * this.trackWidth) + 'px'
if (this.$refs.totalBufferedTrack) this.$refs.totalBufferedTrack.style.width = Math.round(totalBufferedPercent * this.trackWidth) + 'px'
}
},
seek(time) {
+1
View File
@@ -349,6 +349,7 @@ export default {
})
var audiobookStreamData = {
id: 'download',
title: this.title,
author: this.author,
playWhenReady: !!playOnLoad,