mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2025-10-06 03:50:22 +02:00
Making ktLint happy
This commit is contained in:
parent
587df093ea
commit
599d86151a
1 changed files with 1 additions and 1 deletions
|
@ -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) // YouTube limitation: temp playlists can't have more than 50 items
|
.take(50) // YouTube limitation: temp playlists can't have more than 50 items
|
||||||
.toList()
|
.toList()
|
||||||
.asReversed()
|
.asReversed()
|
||||||
.joinToString(separator = ",")
|
.joinToString(separator = ",")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue