Introduce a new eBook reader with support for EPUB, MOBI, AZW3, and FB2 formats (#2258)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
name="file"
|
||||
[customUpload]="true"
|
||||
[multiple]="true"
|
||||
accept=".pdf,.epub,.cbz,.cbr,.cb7,.fb2"
|
||||
accept=".pdf,.epub,.cbz,.cbr,.cb7,.fb2,.mobi,.azw,.azw3"
|
||||
(onSelect)="onFilesSelect($event)"
|
||||
(uploadHandler)="uploadFiles($event)"
|
||||
[disabled]="value === 'library' ? (!selectedLibrary || !selectedPath) : false">
|
||||
|
||||
@@ -181,9 +181,9 @@ export class ReadingSessionService {
|
||||
endTime: endTime.toISOString(),
|
||||
durationSeconds,
|
||||
durationFormatted: this.formatDuration(durationSeconds),
|
||||
startProgress: session.startProgress,
|
||||
endProgress: session.endProgress,
|
||||
progressDelta: session.progressDelta,
|
||||
startProgress: session.startProgress != null ? Math.round(session.startProgress * 100) / 100 : undefined,
|
||||
endProgress: session.endProgress != null ? Math.round(session.endProgress * 100) / 100 : undefined,
|
||||
progressDelta: session.progressDelta != null ? Math.round(session.progressDelta * 100) / 100 : undefined,
|
||||
startLocation: session.startLocation,
|
||||
endLocation: session.endLocation
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user