[Ogg Vorbis/Opus] Fix tag clobber on play
Fixed the tags being overwritten by an "update" on non-streaming files. Signed-off-by: Christopher Snowhill <kode54@gmail.com>xcode15
parent
8c4f9a7123
commit
29dfe593f1
|
@ -180,11 +180,13 @@ static void setDictionary(NSMutableDictionary *dict, NSString *tag, NSString *va
|
|||
metaDict = _metaDict;
|
||||
albumArt = _albumArt;
|
||||
|
||||
if(![source seekable]) {
|
||||
[self willChangeValueForKey:@"metadata"];
|
||||
[self didChangeValueForKey:@"metadata"];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void)updateIcyMetadata {
|
||||
if([source seekable]) return;
|
||||
|
|
|
@ -157,11 +157,13 @@ static void setDictionary(NSMutableDictionary *dict, NSString *tag, NSString *va
|
|||
metaDict = _metaDict;
|
||||
albumArt = _albumArt;
|
||||
|
||||
if(![source seekable]) {
|
||||
[self willChangeValueForKey:@"metadata"];
|
||||
[self didChangeValueForKey:@"metadata"];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void)updateIcyMetadata {
|
||||
if([source seekable]) return;
|
||||
|
|
Loading…
Reference in New Issue