diff --git a/Plugins/Opus/Opus/OpusDecoder.m b/Plugins/Opus/Opus/OpusDecoder.m index 615dfab18..ea83f38e0 100644 --- a/Plugins/Opus/Opus/OpusDecoder.m +++ b/Plugins/Opus/Opus/OpusDecoder.m @@ -180,8 +180,10 @@ static void setDictionary(NSMutableDictionary *dict, NSString *tag, NSString *va metaDict = _metaDict; albumArt = _albumArt; - [self willChangeValueForKey:@"metadata"]; - [self didChangeValueForKey:@"metadata"]; + if(![source seekable]) { + [self willChangeValueForKey:@"metadata"]; + [self didChangeValueForKey:@"metadata"]; + } } } } diff --git a/Plugins/Vorbis/VorbisDecoder.m b/Plugins/Vorbis/VorbisDecoder.m index 6b46c3da4..c73c53e31 100644 --- a/Plugins/Vorbis/VorbisDecoder.m +++ b/Plugins/Vorbis/VorbisDecoder.m @@ -157,8 +157,10 @@ static void setDictionary(NSMutableDictionary *dict, NSString *tag, NSString *va metaDict = _metaDict; albumArt = _albumArt; - [self willChangeValueForKey:@"metadata"]; - [self didChangeValueForKey:@"metadata"]; + if(![source seekable]) { + [self willChangeValueForKey:@"metadata"]; + [self didChangeValueForKey:@"metadata"]; + } } } }