mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-06 23:45:07 +02:00
Adding download zip file, fix local cover art for m4b download
This commit is contained in:
parent
a7c538193c
commit
a56b3a8096
14 changed files with 625 additions and 113 deletions
|
@ -113,7 +113,7 @@ function parseMediaStreamInfo(stream, all_streams, total_bit_rate) {
|
|||
function parseChapters(chapters) {
|
||||
if (!chapters) return []
|
||||
return chapters.map(chap => {
|
||||
var title = chap['TAG:title'] || chap.title
|
||||
var title = chap['TAG:title'] || chap.title || ''
|
||||
var timebase = chap.time_base && chap.time_base.includes('/') ? Number(chap.time_base.split('/')[1]) : 1
|
||||
return {
|
||||
id: chap.id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue