mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-07 09:51:37 +00:00
BookScanner recomputed media.duration by summing all audio files, so a rescan that detected any file change would re-count a previously disabled (excluded) track and re-inflate the duration. Use the same Book.updateDuration() (included tracks only) so both the manage-tracks path and rescans stay consistent. Add a Book model unit test for updateDuration(). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| AbsMetadataFileScanner.js | ||
| AudioFileScanner.js | ||
| BookScanner.js | ||
| LibraryItemScanData.js | ||
| LibraryItemScanner.js | ||
| LibraryScan.js | ||
| LibraryScanner.js | ||
| MediaProbeData.js | ||
| NfoFileScanner.js | ||
| OpfFileScanner.js | ||
| PodcastScanner.js | ||
| ScanLogger.js | ||
| Scanner.js | ||