Compare commits
1 Commits
4f4e6e794a
...
ed8175b1d0
| Author | SHA1 | Date | |
|---|---|---|---|
| ed8175b1d0 |
+5
-1
@@ -107,7 +107,11 @@ async fn process_file(
|
|||||||
bitrate: Set(meta.bitrate),
|
bitrate: Set(meta.bitrate),
|
||||||
file_size: Set(scanned.file_size),
|
file_size: Set(scanned.file_size),
|
||||||
fingerprint: NotSet,
|
fingerprint: NotSet,
|
||||||
musicbrainz_id: Set(meta.musicbrainz_recording_id),
|
musicbrainz_id: if meta.musicbrainz_recording_id.is_some() {
|
||||||
|
Set(meta.musicbrainz_recording_id)
|
||||||
|
} else {
|
||||||
|
NotSet // Don't overwrite existing DB MBID when file tag is missing
|
||||||
|
},
|
||||||
artist_id: Set(artist_id),
|
artist_id: Set(artist_id),
|
||||||
album_id: Set(album_id),
|
album_id: Set(album_id),
|
||||||
file_mtime: Set(Some(scanned.mtime)),
|
file_mtime: Set(Some(scanned.mtime)),
|
||||||
|
|||||||
Reference in New Issue
Block a user