mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-08-05 18:48:38 +02:00
fix(reenrich): preserve release identity in batch actions
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
enum ReEnrichOperationScope { singleFile, batch }
|
||||
|
||||
/// A single-file action may deliberately repair a stale release identity,
|
||||
/// such as a playlist name stored in the album tag. Batch matching keeps the
|
||||
/// conservative album-mismatch guard because one false match has a much larger
|
||||
/// blast radius.
|
||||
bool allowsReleaseIdentityReplacement(ReEnrichOperationScope scope) =>
|
||||
scope == ReEnrichOperationScope.singleFile;
|
||||
Reference in New Issue
Block a user