### Project Setup and Installation Source: https://github.com/ibicha/playlet/blob/main/docs/README.md Clones the Playlet repository, navigates into the project directory, and installs project dependencies using npm. ```bash git clone https://github.com/iBicha/playlet.git cd playlet npm install ``` -------------------------------- ### Example SceneGraph Structure Source: https://github.com/ibicha/playlet/blob/main/docs/plugins.md Demonstrates a basic SceneGraph structure with nodes like ApplicationInfo, Invidious, and PlayletWebServer, illustrating the initial setup before dependency binding. ```xml ``` -------------------------------- ### Invidious Login URL Example Source: https://github.com/ibicha/playlet/blob/main/docs/plugins.md Provides an example of a login URL for the Invidious service, demonstrating how a dynamic URL might be constructed using server information. ```bash http://192.168.1.2:8888/invidious/login ``` -------------------------------- ### @oninit Annotation Example (BrighterScript) Source: https://github.com/ibicha/playlet/blob/main/docs/plugins.md Illustrates the usage of the '@oninit' annotation in BrighterScript to automatically call functions during the component's initialization. ```brighterscript function Init() end function @oninit function SomeFunction() end function ``` -------------------------------- ### Node Path Translation Example Source: https://github.com/ibicha/playlet/blob/main/docs/plugins.md Demonstrates how Playlet translates node paths, similar to Unix file system paths, to find nodes within the scene graph. It shows the use of '.', '..', and '/' for navigation. ```brighterscript node = m.top.getScene() ' "/" node = node.findNode("Node1") ' "Node1" node = node.getParent() ' ".." node = node.findNode("Node2") ' "Node2" node = node ' "." node = node.findNode("Node3") ' "Node3" ``` -------------------------------- ### Component Inclusion Example (XML) Source: https://github.com/ibicha/playlet/blob/main/docs/plugins.md Demonstrates how to use the 'includes' attribute in an XML component file to incorporate functionality from another component part. ```xml