Tachiyomi + Fixes (#1481)
* Fixed a bootstrap bug * Fixed repeating images on collection detail * Fixed up some logic in library watcher which wasn't processing all of the queue. * When parsing non-epubs in Book library, use Manga parsing for Volume support to better support Light Novels * Fixed some bugs with the tachiyomi plugin api's for progress tracking
This commit is contained in:
parent
36300c538c
commit
0cd14b3efc
8 changed files with 27 additions and 24 deletions
|
|
@ -200,7 +200,7 @@ public class LibraryWatcher : ILibraryWatcher
|
|||
};
|
||||
if (!_scanQueue.Contains(queueItem, _folderScanQueueableComparer))
|
||||
{
|
||||
_logger.LogDebug("[LibraryWatcher] Queuing job for {Folder}", fullPath);
|
||||
_logger.LogDebug("[LibraryWatcher] Queuing job for {Folder} at {TimeStamp}", fullPath, DateTime.Now);
|
||||
_scanQueue.Enqueue(queueItem);
|
||||
}
|
||||
|
||||
|
|
@ -221,12 +221,12 @@ public class LibraryWatcher : ILibraryWatcher
|
|||
_logger.LogDebug("[LibraryWatcher] Scheduling ScanSeriesFolder for {Folder}", item.FolderPath);
|
||||
BackgroundJob.Enqueue(() => _scannerService.ScanFolder(item.FolderPath));
|
||||
_scanQueue.Dequeue();
|
||||
i++;
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
i++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (_scanQueue.Count > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue