Files
playlet-piped/playlet-lib/src/components/MainScene.xml
T
Brahim Hadricheandgithub-action linter 3559a3fff6 Queue UI (#199)
* Refactor long press

* Lint fix

* Queue UI, refactor PlayQueue to use ContentNode

* Add queue notification hint

* Play at index

* Play queue with highlight

* Priority

* Comment

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
2023-11-12 17:45:00 -05:00

78 lines
3.3 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"
root="bind:./AppRoot"
stack="bind:./Stack"
playQueue="bind:./PlayQueue">
<Group id="Stack">
<AppRoot id="AppRoot">
<NavBar id="NavBar" focusIndex="1" appController="bind:/AppController">
<ContentNode role="items">
<NavBarItem
screen="SearchScreen"
text="Search"
icon="pkg:/images/icons/search.png">
</NavBarItem>
<NavBarItem
screen="HomeScreen"
text="Home"
icon="pkg:/images/icons/home.png">
</NavBarItem>
<NavBarItem
screen="BookmarksScreen"
text="Bookmarks"
icon="pkg:/images/icons/star.png">
</NavBarItem>
<NavBarItem
screen="SettingsScreen"
text="Settings"
icon="pkg:/images/icons/settings.png">
</NavBarItem>
<NavBarItem
screen="WebAppScreen"
text="Web App"
icon="pkg:/images/icons/phone.png">
</NavBarItem>
<NavBarItem
screen="AppInfoScreen"
text="Info"
icon="pkg:/images/icons/info.png">
</NavBarItem>
</ContentNode>
</NavBar>
</AppRoot>
</Group>
<VideoContainer id="VideoContainer" />
<Group id="Notifications" />
<!-- No render nodes -->
<PlayQueue id="PlayQueue"
invidious="bind:../Invidious"
notifications="bind:../Notifications"
preferences="bind:../Preferences" />
<ApplicationInfo id="ApplicationInfo" />
<Preferences id="Preferences" />
<Bookmarks id="Bookmarks" />
<SearchHistory id="SearchHistory"
preferences="bind:../Preferences" />
<Invidious id="Invidious"
webServer="bind:../WebServer"
applicationInfo="bind:../ApplicationInfo"
preferences="bind:../Preferences" />
<PlayletWebServer
id="WebServer"
port="8888"
appController="bind:/AppController"
applicationInfo="bind:../ApplicationInfo"
invidious="bind:../Invidious"
preferences="bind:../Preferences"
playQueue="bind:../PlayQueue"
bookmarks="bind:../Bookmarks" />
</AppController>
</children>
</component>