mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-27 08:20:47 +00:00
17 lines
343 B
Plaintext
17 lines
343 B
Plaintext
import "pkg:/source/utils/config.bs"
|
|
import "pkg:/source/api/sdk.bs"
|
|
|
|
sub init()
|
|
m.top.functionName = "getShuffleEpisodesTask"
|
|
end sub
|
|
|
|
sub getShuffleEpisodesTask()
|
|
data = api.shows.GetEpisodes(m.top.showID, {
|
|
UserId: m.global.session.user.id,
|
|
SortBy: "Random",
|
|
Limit: 200
|
|
})
|
|
|
|
m.top.data = data
|
|
end sub
|