Commit e42167a2 authored by Carola Nitz's avatar Carola Nitz

VLCMetadata:set properties to their default values

When updateMetadataFromMediaPlayer was called not all fields were overwritten before
This led to titles not being hidden because the metadata had isAudioonly set from previous use.
parent ae5942d1
......@@ -30,6 +30,13 @@
#if TARGET_OS_IOS
MLFile *item;
self.trackNumber = nil;
self.title = @"";
self.artist = @"";
self.albumName = @"";
self.artworkImage = nil;
self.isAudioOnly = NO;
if ([VLCPlaybackController sharedInstance].mediaList) {
NSArray *matches = [MLFile fileForURL:mediaPlayer.media.url];
item = matches.firstObject;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment