@if (bookInSeries.length > 1) { {{ t('moreInSeries') }} } {{ t('similarBooks') }} @if (supportsDualCovers()) { {{ t('covers') }} } @if (hasAudiobookFormat()) { {{ t('chapters') }} } {{ t('files') }} {{ t('notes') }} {{ t('readingSessions') }} {{ t('reviews') }}
@if (bookInSeries.length > 1) {
@for (bookInSeriesItem of bookInSeries; track bookInSeriesItem) { @if (bookInSeriesItem.id !== book.id) {
} }
}
@if (recommendedBooks.length > 0) {
@for (recBook of recommendedBooks; track recBook.book.id) {
}
}
{{ t('ebookCover') }}
{{ t('audiobookCover') }}
@if (chaptersLoading) {
} @else if (audiobookInfo) {
{{ formatDuration(audiobookInfo.durationMs) }} @if (audiobookInfo.codec) { {{ audiobookInfo.codec.toUpperCase() }} } @if (audiobookInfo.bitrate) { {{ audiobookInfo.bitrate }} kbps } @if (audiobookInfo.sampleRate) { {{ formatSampleRate(audiobookInfo.sampleRate) }} } @if (audiobookInfo.channels) { {{ getChannelLabel(audiobookInfo.channels) }} }
@if (audiobookInfo.folderBased && audiobookInfo.tracks?.length) {
@for (track of audiobookInfo.tracks; track track.index) { }
# {{ t('chapterTitle') }} {{ t('fileName') }} {{ t('startTime') }} {{ t('duration') }}
{{ track.index + 1 }} {{ track.title }} {{ track.fileName }} {{ formatDuration(track.cumulativeStartMs) }} {{ formatDuration(track.durationMs) }}
} @else if (audiobookInfo.chapters?.length) {
@for (chapter of audiobookInfo.chapters; track chapter.index) { }
# {{ t('chapterTitle') }} {{ t('startTime') }} {{ t('endTime') }} {{ t('duration') }}
{{ chapter.index + 1 }} {{ chapter.title }} {{ formatDuration(chapter.startTimeMs) }} {{ formatDuration(chapter.endTimeMs) }} {{ formatDuration(chapter.durationMs) }}
} @else {
{{ t('noChapters') }}
} }
@if (isPhysicalBook()) {

{{ t('physicalBookTitle') }}

{{ t('physicalBookMessage') }}

{{ t('physicalBookHint') }}

} @else { @if (hasMultipleFiles(book)) {
} @if (book.primaryFile) {

{{ t('primaryFile') }}

{{ book.primaryFile.extension | uppercase }} {{ book.primaryFile.fileName }} {{ getFileSizeInMB(book.primaryFile) }}
@if (book.primaryFile.bookType === 'EPUB') { } @else if (book.primaryFile.bookType && ['PDF', 'FB2', 'MOBI', 'AZW3', 'CBX'].includes(book.primaryFile.bookType)) { } @else if (book.primaryFile.bookType === 'AUDIOBOOK') { } @if (canDetach(book)) { }
} @if (book.alternativeFormats && book.alternativeFormats.length > 0) {

{{ t('alternativeFormats') }}

@for (format of book.alternativeFormats; track format.id) {
{{ format.extension | uppercase }} {{ format.fileName }} {{ getFileSizeInMB(format) }}
@if (format.bookType === 'EPUB') { } @else if (format.bookType && ['PDF', 'FB2', 'MOBI', 'AZW3', 'CBX'].includes(format.bookType)) { } @else if (format.bookType === 'AUDIOBOOK') { } @if (canDetach(book)) { }
}
} @if (book.supplementaryFiles && book.supplementaryFiles.length > 0) {

{{ t('supplementaryFiles') }}

@for (file of book.supplementaryFiles; track file.id) {
{{ file.fileName }} {{ getFileSizeInMB(file) }}
@if (canDetach(book)) { }
}
} }