1
Fork 0

Don't stop scanning album on media fail (#892)

* Don't stop scanning album on media fail

* Update api/scanner/scanner_album.go

accepting suggestion from Jordan

Co-authored-by: Jordan Hellier <13520761+jordy2254@users.noreply.github.com>

---------

Co-authored-by: Konstantin Koval <kkb@ukr.net>
Co-authored-by: Jordan Hellier <13520761+jordy2254@users.noreply.github.com>
This commit is contained in:
Konstantin 2024-03-30 12:04:03 +03:00 committed by GitHub
parent 153f37e5fb
commit b2d591bd1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ func ScanAlbum(ctx scanner_task.TaskContext) error {
mediaData := media_encoding.NewEncodeMediaData(media)
if err := scanMedia(ctx, media, &mediaData, i, len(albumMedia)); err != nil {
return errors.Wrap(err, "album scan")
scanner_utils.ScannerError("Error scanning media for album (%d) file (%s): %s\n", ctx.GetAlbum().ID, media.Path, err)
}
}