소스 검색

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

Pierre d'Herbemont 17 년 전
부모
커밋
7a286c1566
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  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