mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 18:59:25 +02:00
Save Locations locally, add separate progress tracker
This commit is contained in:
parent
5078818295
commit
4d29ebd647
5 changed files with 23 additions and 15 deletions
|
@ -261,7 +261,7 @@ class MeController {
|
|||
|
||||
var itemsInProgress = []
|
||||
for (const mediaProgress of req.user.mediaProgress) {
|
||||
if (!mediaProgress.isFinished && mediaProgress.progress > 0) {
|
||||
if (!mediaProgress.isFinished && (mediaProgress.progress > 0 || libraryItem.ebookProgress > 0)) {
|
||||
const libraryItem = await this.db.getLibraryItem(mediaProgress.libraryItemId)
|
||||
if (libraryItem) {
|
||||
if (mediaProgress.episodeId && libraryItem.mediaType === 'podcast') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue