Skip to content

Commit f96b8f7

Browse files
committed
Comment: maximum length of 50 items
(PR review from @Stypox)
1 parent c28478a commit f96b8f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/local/playlist/ExportPlaylist.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fun exportAsYoutubeTempPlaylist(playlist: List<PlaylistStreamEntry>): String {
5050
val videoIDs = playlist.asReversed().asSequence()
5151
.map { it.streamEntity.url }
5252
.mapNotNull(::getYouTubeId)
53-
.take(50)
53+
.take(50) // YouTube limitation: temp playlists can't have more than 50 items
5454
.toList()
5555
.asReversed()
5656
.joinToString(separator = ",")

0 commit comments

Comments
 (0)