audiobookshelf/server/scanner
wakamex 067d3f6394 Also exclude disabled tracks from book duration on rescan
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>
2026-06-29 20:57:31 -04:00
..
AbsMetadataFileScanner.js Cleanup abmetadata file parsing & fix server crash #5268 #4287 #5142 2026-05-27 17:33:14 -05:00
AudioFileScanner.js Update audio file scanner to support multiple series in series/series-part tags separated by semicolon if they match #4136 2025-03-21 17:53:17 -05:00
BookScanner.js Also exclude disabled tracks from book duration on rescan 2026-06-29 20:57:31 -04:00
LibraryItemScanData.js Fix LibraryItem and Media file update logic for library scans 2024-03-19 19:28:26 +02:00
LibraryItemScanner.js Fix scanner after deleting single file books #4459 2025-07-09 13:42:53 -05:00
LibraryScan.js Simplify log level determination 2025-03-08 12:46:36 -07:00
LibraryScanner.js Fix scanner after deleting single file books #4459 2025-07-09 13:42:53 -05:00
MediaProbeData.js Remove tone scripts & references, rename tone-object endpoint, remove node-tone dependency, remove TONE_PATH env 2024-07-06 16:00:48 -05:00
NfoFileScanner.js Update Nfo scanner and auto-formatting 2024-07-18 16:09:40 -05:00
OpfFileScanner.js Update opf parser to support refines meta elements 2025-03-13 17:49:05 -05:00
PodcastScanner.js Cleanup abmetadata file parsing & fix server crash #5268 #4287 #5142 2026-05-27 17:33:14 -05:00
ScanLogger.js Simplify log level determination 2025-03-08 12:46:36 -07:00
Scanner.js Auto-formatting 2025-12-21 14:45:04 -06:00