while true ' Loop forever until an exit while is hit Data = Web.GetToString(): JSON = ParseJSON(Data) for each Item in JSON.Data Movie = CreateObject("roSGNode","ContentNode"): Contents.Push(Movie) ' etc,,, Movie.ContentType="Movie": Movie.EpisodeNumber=Item.URI: Movie.Title=Name Movie.ShortDescriptionLine1 = Item.Title SD=Item.Pictures.Sizes: HD=Item.Pictures.Sizes: FHD=Item.Pictures.Sizes for each Size In Item.Pictures.Sizes if Size.Width>SD.Width and Size.Width<720 SD=Size if Size.Width>HD.Width and Size.Width<1024 HD=Size if Size.Width>FHD.Width and Size.Width<1980 FHD=Size end for Movie.SDPosterURL=SD.Link: Movie.HDPosterURL=HD.Link: Movie.FHDPosterURL=FHD.Link for each File In Item.Files if File.Quality="hls" Movie.URL=File.Link end for end for if JSON.paging.next=invalid exit while Web.SetURL("https://api.vimeo.com"+JSON.paging.next) end while
Vimeo gives you the option to get a basic Roku feed from your Vimeo Showcase.
If you have organized your videos in only 1 Vimeo Showcase, then the feed you get from Vimeo is good and you can use it.
But if you have organized your videos in more than 1 Vimeo Showcase (for example to categorize your videos or to organize them depending on different content-types e.g. movies, series, shortFormVideos etc.) then the feed from Vimeo does not really work:
The reason is that Vimeo gives you a feed for each Showcase. So you get multiple feeds. But Roku only accepts one feed.
What you can do is to use a Roku Feed builder that connects with Vimeo - like Tappla.com.
Tappla let's you choose the Roku video type for each Vimeo Showcase and merges all together into one feed. Additionally you can also add HLS live stream URLs to your Roku JSON feed.
(Full disclaimer: I'm one of the founders of Tappla. If there is a feature missing for the Roku feed builder, let me know and we try to add it to the Roku feed builder asap).