jf-roku/components/GetShuffleEpisodesTask.brs

17 lines
346 B
Plaintext
Raw Normal View History

import "pkg:/source/utils/config.brs"
2023-05-05 17:45:53 +00:00
import "pkg:/source/api/sdk.bs"
sub init()
m.top.functionName = "getShuffleEpisodesTask"
end sub
sub getShuffleEpisodesTask()
2023-05-05 17:45:53 +00:00
data = api.shows.GetEpisodes(m.top.showID, {
UserId: get_setting("active_user"),
SortBy: "Random",
Limit: 200
})
m.top.data = data
end sub