Display full file path in metadata viewer
This commit is contained in:
committed by
Aditya Chandel
parent
87f40733d7
commit
51df32415e
@@ -14,6 +14,7 @@ public class Book {
|
||||
private BookFileType bookType;
|
||||
private Long libraryId;
|
||||
private String fileName;
|
||||
private String filePath;
|
||||
private String title;
|
||||
private Instant lastReadTime;
|
||||
private Instant addedOn;
|
||||
|
||||
@@ -121,6 +121,7 @@ public class BooksService {
|
||||
book.setLastReadTime(userProgress.getLastReadTime());
|
||||
book.setPdfProgress(userProgress.getPdfProgress());
|
||||
book.setEpubProgress(userProgress.getEpubProgress());
|
||||
book.setFilePath(bookEntity.getLibraryPath().getPath() + "/" + bookEntity.getFileSubPath() + "/" + bookEntity.getFileName());
|
||||
if (!withDescription) {
|
||||
book.getMetadata().setDescription(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user