Explorar o código

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

Pierre d'Herbemont %!s(int64=17) %!d(string=hai) anos
pai
achega
7a286c1566
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  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