@if (isLoading) {
{{ t('loading') }}
} @else if (audiobookInfo) {

{{ audiobookInfo.title || t('untitled') }}

{{ audiobookInfo.author || t('unknownAuthor') }}
@if (coverUrl) { } @else {
} @if (audioLoading) {
}
@if (audiobookInfo.folderBased && currentTrack) { {{ currentTrack.title }} {{ t('trackInfo.trackOf', { current: currentTrackIndex + 1, total: audiobookInfo.tracks?.length }) }} } @else if (getCurrentChapter()) { {{ getCurrentChapter()?.title }} @if (hasMultipleChapters()) { {{ t('trackInfo.chapterOf', { current: getCurrentChapterIndex() + 1, total: audiobookInfo.chapters?.length }) }} } }
{{ formatTime(currentTime) }} {{ formatTime(duration) }}
@if (audiobookInfo.folderBased) { } @else if (hasMultipleChapters()) { } @if (audiobookInfo.folderBased) { } @else if (hasMultipleChapters()) { }
@if (audiobookInfo.narrator) { {{ t('details.narratedBy', { narrator: audiobookInfo.narrator }) }} } @if (audiobookInfo.bitrate) { {{ t('details.kbps', { bitrate: audiobookInfo.bitrate }) }} } @if (audiobookInfo.durationMs) { {{ t('details.totalDuration', { duration: formatDuration(audiobookInfo.durationMs) }) }} }
@if (showTrackList) { } @if (showBookmarkList) { }
} @else {
{{ t('toast.loadFailed') }}
}