Commit e42167a2 authored by Carola's avatar Carola

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 @@
MLFile *item;
self.trackNumber = nil;
self.title = @"";
self.artist = @"";
self.albumName = @"";
self.artworkImage = nil;
self.isAudioOnly = NO;
if ([VLCPlaybackController sharedInstance].mediaList) {
NSArray *matches = [MLFile];
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