How rokudev/scenegraph-master-sample works
This repository is a set of Roku SceneGraph channel samples, with DeepLinking showing the broadest feature set and sibling directories presenting narrower or incremental examples. The likely user journey is browsing a content grid, opening details or episodes, and playing a selected video; the tree also identifies deep linking, bookmarks, subscriptions, and video ads as distinct capabilities. No source excerpts were provided, so runtime relationships below are tentative and marked dashed without evidence paths; the README describes the sample’s purpose but not its internal call flow.
Main entry points: MainScene.brs Main scene · VideoPlayerLogic.brs Player logic · GridScreenLogic.brs Content grid · DetailsScreenLogic.brs Details view
Components 17
Channel entry
- Main scene
DeepLinking/components/MainScene.brs - Channel entry
DeepLinking/source/main.brs - Content loader
DeepLinking/components/tasks/MainLoaderTask.brs
Browse and navigate
- Content grid
DeepLinking/components/UILogic/GridScreenLogic.brs - Grid view
DeepLinking/components/GridScreen/GridScreen.brs - Details view
DeepLinking/components/UILogic/DetailsScreenLogic.brs - Episodes view
DeepLinking/components/UILogic/EpisodesScreenLogic.brs - Screen stack
DeepLinking/components/UILogic/ScreenStackLogic.brs
Playback
- Player logic
DeepLinking/components/UILogic/VideoPlayerLogic.brs - Video screen
DeepLinking/components/VideoScreen/VideoScreen.brs - Player task
DeepLinking/components/tasks/PlayerTask.brs
Channel capabilities
- Deep linking
DeepLinking/components/UILogic/DeepLinkingLogic.brs - Bookmarks
DeepLinking/components/UILogic/BookmarksLogic.brs - Smart bookmarks
DeepLinking/components/UILogic/SmartBookmarksLogic.brs - Subscriptions
DeepLinking/components/UILogic/SubscriptionLogic.brs - Video ads
VideoAds/components/UILogic/VideoPlayerLogic.brs
Other components
- Viewer
Connections 16
- Viewer → Main scene: opens channel
- Main scene → Content loader: loads content
- Main scene → Content grid: shows catalog
- Content grid → Grid view: renders grid
- Content grid → Details view: opens details
- Details view → Episodes view: opens episodes
- Main scene → Screen stack: tracks screens
- Details view → Player logic: starts playback
- Episodes view → Player logic: starts playback
- Player logic → Video screen: controls screen
- Player logic → Player task: starts task
- Main scene → Deep linking: handles links
- Main scene → Bookmarks: uses bookmarks
- Main scene → Smart bookmarks: uses bookmarks
- Player logic → Subscriptions: checks access
- Player logic → Video ads: supports ads