Files
playlet-piped/playlet-lib/src/components/MainScene.xml
T
Brahim Hadriche f8988e9d13 Add visitor data (#545)
* Add visitor data

* Tweak

* Changelog

* Do not load video details in video queue view
2025-01-18 18:21:23 -05:00

102 lines
4.5 KiB
XML

<component name="MainScene" extends="Group" includes="AutoBind">
<children>
<!-- Logger should remain the first child, to make sure it is initialized first in the scene -->
<Logger id="Logger" />
<AppController id="AppController"
screensContainer="bind:./AppScreens"
root="bind:./AppRoot"
stack="bind:./Stack"
videoQueue="bind:./VideoQueue">
<Group id="Stack">
<AppRoot id="AppRoot">
<AppScreens id="AppScreens" />
<NavBar id="NavBar"
initialFocus="2"
appController="bind:/AppController"
screensContainer="bind:../AppScreens">
<ContentNode role="content">
<NavBarItemContent
screen="ProfileScreen"
text="Profile"
isProfile="true" />
<NavBarItemContent
screen="SearchScreen"
text="Search"
icon="pkg:/images/icons/search.png" />
<NavBarItemContent
screen="HomeScreen"
text="Home"
icon="pkg:/images/icons/home.png" />
<NavBarItemContent
screen="BookmarksScreen"
text="Bookmarks"
icon="pkg:/images/icons/star.png" />
<NavBarItemContent
screen="SettingsScreen"
text="Settings"
icon="pkg:/images/icons/settings.png" />
<NavBarItemContent
screen="RemoteScreen"
text="Remote"
icon="pkg:/images/icons/phone.png" />
<NavBarItemContent
screen="AppInfoScreen"
text="Info"
icon="pkg:/images/icons/info.png" />
</ContentNode>
</NavBar>
</AppRoot>
</Group>
<Clock />
<VideoContainer id="VideoContainer" />
<Group id="Notifications" />
<!-- No render nodes -->
<VideoQueue id="VideoQueue"
appController="bind:/AppController"
videoContainer="bind:../VideoContainer"
innertube="bind:../Innertube"
invidious="bind:../Invidious"
notifications="bind:../Notifications"
preferences="bind:../Preferences"
loungeService="bind:../LoungeService" />
<ApplicationInfo id="ApplicationInfo" />
<Preferences id="Preferences" />
<BookmarksService id="BookmarksService" />
<SearchHistory id="SearchHistory"
preferences="bind:../Preferences" />
<ProfilesService id="ProfilesService"
invidious="bind:../Invidious" />
<Innertube id="Innertube" />
<Invidious id="Invidious"
webServer="bind:../WebServer"
applicationInfo="bind:../ApplicationInfo"
preferences="bind:../Preferences"
profilesService="bind:../ProfilesService" />
<!-- Tasks -->
<PlayletWebServer id="WebServer"
port="8888"
appController="bind:/AppController"
applicationInfo="bind:../ApplicationInfo"
innertube="bind:../Innertube"
invidious="bind:../Invidious"
profilesService="bind:../ProfilesService"
preferences="bind:../Preferences"
videoQueue="bind:../VideoQueue"
bookmarksService="bind:../BookmarksService"
loungeService="bind:../LoungeService" />
<DialServer id="DialServer"
webServer="bind:../WebServer"
loungeService="bind:../LoungeService" />
<LoungeService id="LoungeService"
videoQueue="bind:../VideoQueue"
notifications="bind:../Notifications"
invidious="bind:../Invidious" />
</AppController>
</children>
</component>