Browse Source

VLCMedia: enforce parsing of the info we really need

Felix Paul Kühne 12 years ago
parent
commit
353bbbe1b8
1 changed files with 6 additions and 3 deletions
  1. 6 3
      Sources/VLCMedia.m

+ 6 - 3
Sources/VLCMedia.m

@@ -943,10 +943,13 @@ NSString *VLCMediaTracksInformationTextEncoding = @"encoding"; // NSString
 {
     if (!areOthersMetaFetched) {
         areOthersMetaFetched = YES;
-        /* Force VLCMetaInformationTitle, that will trigger preparsing
-         * And all the other meta will be added through the libvlc event system */
-        [self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationTitle];
 
+        [self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationTitle];
+        [self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationArtist];
+        [self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationAlbum];
+        [self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationDate];
+        [self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationGenre];
+        [self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationTrackNumber];
     }
     if (!isArtURLFetched) {
         isArtURLFetched = YES;