mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[youtube] Remove unnecessary no-playlist warning
This commit is contained in:
		| @@ -2623,13 +2623,14 @@ class YoutubeIE(YoutubeBaseInfoExtractor): | ||||
|             or search_meta(['og:title', 'twitter:title', 'title'])) | ||||
|         video_description = get_first(video_details, 'shortDescription') | ||||
|  | ||||
|         if not smuggled_data.get('force_singlefeed', False): | ||||
|             if not self.get_param('noplaylist'): | ||||
|         multifeed_metadata_list = get_first( | ||||
|             player_responses, | ||||
|             ('multicamera', 'playerLegacyMulticameraRenderer', 'metadataList'), | ||||
|             expected_type=str) | ||||
|                 if multifeed_metadata_list: | ||||
|         if multifeed_metadata_list and not smuggled_data.get('force_singlefeed'): | ||||
|             if self.get_param('noplaylist'): | ||||
|                 self.to_screen('Downloading just video %s because of --no-playlist' % video_id) | ||||
|             else: | ||||
|                 entries = [] | ||||
|                 feed_ids = [] | ||||
|                 for feed in multifeed_metadata_list.split(','): | ||||
| @@ -2664,8 +2665,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor): | ||||
|                     % (', '.join(feed_ids), video_id)) | ||||
|                 return self.playlist_result( | ||||
|                     entries, video_id, video_title, video_description) | ||||
|             else: | ||||
|                 self.to_screen('Downloading just video %s because of --no-playlist' % video_id) | ||||
|  | ||||
|         live_broadcast_details = traverse_obj(microformats, (..., 'liveBroadcastDetails')) | ||||
|         is_live = get_first(video_details, 'isLive') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan