|
|
|
|
@ -40,11 +40,13 @@ const getFullMatchChapters = ({ |
|
|
|
|
? ((playlist.duration ?? 0) - Number(bound.s)) * 1000 |
|
|
|
|
: (playlist.duration ?? 0) * 1000 |
|
|
|
|
|
|
|
|
|
const delayedDuration = Math.max(durationMs, Number(bound?.e ?? 0)) * 1000 |
|
|
|
|
|
|
|
|
|
return [ |
|
|
|
|
{ |
|
|
|
|
duration: durationMs, |
|
|
|
|
endMs: durationMs, |
|
|
|
|
endOffsetMs: bound ? Number(bound.e) * 1000 : durationMs, |
|
|
|
|
duration: delayedDuration, |
|
|
|
|
endMs: delayedDuration, |
|
|
|
|
endOffsetMs: delayedDuration, |
|
|
|
|
index: 0, |
|
|
|
|
isFullMatchChapter: true, |
|
|
|
|
startMs: 0, |
|
|
|
|
|