Ver código fonte

Source/VLCMedia.m: No need to ask for more than one meta at the begining.

Pierre d'Herbemont 17 anos atrás
pai
commit
7a286c1566
1 arquivos alterados com 2 adições e 3 exclusões
  1. 2 3
      Sources/VLCMedia.m

+ 2 - 3
Sources/VLCMedia.m

@@ -374,10 +374,9 @@ static void HandleMediaDurationChanged(const libvlc_event_t *event, void *self)
         libvlc_media_list_release( p_mlist );
     }
     
-    /* Let's retrieve some info */
+    /* Force VLCMetaInformationTitle, that will trigger preparsing
+     * And all the other meta will be added through the libvlc event system */
     [self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationTitle];
-    [self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationAlbum];
-    [self fetchMetaInformationFromLibVLCWithType: VLCMetaInformationArtist];
 }
 
 - (void)fetchMetaInformationFromLibVLCWithType:(NSString *)metaType