1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-24 11:57:38 +00:00

Merge remote-tracking branch 'origin/dev' into notifications-1

This commit is contained in:
TobiGr
2021-10-11 16:37:49 +02:00
95 changed files with 1133 additions and 789 deletions

View File

@@ -43,10 +43,11 @@ class LocalPlaylistManagerTest {
@Test
fun createPlaylist() {
val NEWPIPE_URL = "https://newpipe.net/"
val stream = StreamEntity(
serviceId = 1, url = "https://newpipe.net/", title = "title",
serviceId = 1, url = NEWPIPE_URL, title = "title",
streamType = StreamType.VIDEO_STREAM, duration = 1, uploader = "uploader",
uploaderUrl = "https://newpipe.net/"
uploaderUrl = NEWPIPE_URL
)
val result = manager.createPlaylist("name", listOf(stream))