mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	Comment: maximum length of 50 items
(PR review from @Stypox)
This commit is contained in:
		| @@ -50,7 +50,7 @@ fun exportAsYoutubeTempPlaylist(playlist: List<PlaylistStreamEntry>): String { | |||||||
|     val videoIDs = playlist.asReversed().asSequence() |     val videoIDs = playlist.asReversed().asSequence() | ||||||
|         .map { it.streamEntity.url } |         .map { it.streamEntity.url } | ||||||
|         .mapNotNull(::getYouTubeId) |         .mapNotNull(::getYouTubeId) | ||||||
|         .take(50) |         .take(50)                   // YouTube limitation: temp playlists can't have more than 50 items | ||||||
|         .toList() |         .toList() | ||||||
|         .asReversed() |         .asReversed() | ||||||
|         .joinToString(separator = ",") |         .joinToString(separator = ",") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Thiago F. G. Albuquerque
					Thiago F. G. Albuquerque