Fix playlist wrong id for local conversion, refs

This commit is contained in:
Kelvin 2024-12-04 01:31:53 +01:00
parent 6f004830ff
commit 49d0dead7d
9 changed files with 10 additions and 9 deletions

View file

@ -10,6 +10,7 @@ import com.futo.platformplayer.api.media.structures.IPager
import com.futo.platformplayer.api.media.structures.ReusablePager
import com.futo.platformplayer.getOrThrow
import com.futo.platformplayer.models.Playlist
import java.util.UUID
class JSPlaylistDetails: JSPlaylist, IPlatformPlaylistDetails {
override val contents: IPager<IPlatformVideo>;
@ -37,6 +38,6 @@ class JSPlaylistDetails: JSPlaylist, IPlatformPlaylistDetails {
onProgress?.invoke(videos.size);
}
return Playlist(id.toString(), name, videos.map { SerializedPlatformVideo.fromVideo(it)});
return Playlist(UUID.randomUUID().toString(), name, videos.map { SerializedPlatformVideo.fromVideo(it)});
}
}

@ -1 +1 @@
Subproject commit 9dedbca4f27cfca2e2a146d6edb6a9bae7541d67
Subproject commit 258c71e4f540c3c202a7ceacce2f77622017582a

@ -1 +1 @@
Subproject commit 7b66aea99f08303eedea879b236c49132669d2b8
Subproject commit 9c835e075c66ea014e544d9fe35fbb317d72a196

@ -1 +1 @@
Subproject commit 3f7c9f8c94111a6fed1d888ed7ff2de64b247f3a
Subproject commit 9a10cb8e78ae66439e936b634f61dc846e21b306

@ -1 +1 @@
Subproject commit 543a727d781fe5780fd0e8f20d53f6a53b285446
Subproject commit c3ee73a3e53c7e0aaafbe326ca28c60bbd2190f9

@ -1 +1 @@
Subproject commit 9dedbca4f27cfca2e2a146d6edb6a9bae7541d67
Subproject commit 258c71e4f540c3c202a7ceacce2f77622017582a

@ -1 +1 @@
Subproject commit 7b66aea99f08303eedea879b236c49132669d2b8
Subproject commit 9c835e075c66ea014e544d9fe35fbb317d72a196

@ -1 +1 @@
Subproject commit 3f7c9f8c94111a6fed1d888ed7ff2de64b247f3a
Subproject commit 9a10cb8e78ae66439e936b634f61dc846e21b306

@ -1 +1 @@
Subproject commit 543a727d781fe5780fd0e8f20d53f6a53b285446
Subproject commit c3ee73a3e53c7e0aaafbe326ca28c60bbd2190f9