diff --git a/components/LibItem.xml b/components/LibItem.xml
new file mode 100644
index 00000000..dd861d9d
--- /dev/null
+++ b/components/LibItem.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/LibItemData.xml b/components/LibItemData.xml
new file mode 100644
index 00000000..3c7195b8
--- /dev/null
+++ b/components/LibItemData.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/components/Library.xml b/components/Library.xml
new file mode 100644
index 00000000..c7123f91
--- /dev/null
+++ b/components/Library.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/mainlist.xml b/components/mainlist.xml
new file mode 100644
index 00000000..9dd28217
--- /dev/null
+++ b/components/mainlist.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
diff --git a/source/JellyfinAPI.brs b/source/JellyfinAPI.brs
index 4d38f347..af6ca038 100644
--- a/source/JellyfinAPI.brs
+++ b/source/JellyfinAPI.brs
@@ -1,3 +1,5 @@
+' Functions for making requests to the API
+
function APIRequest(url as String, params={} as Object)
req = createObject("roUrlTransfer")
diff --git a/source/Main.brs b/source/Main.brs
index 754fa67b..a775fb26 100644
--- a/source/Main.brs
+++ b/source/Main.brs
@@ -7,21 +7,20 @@ sub Main()
screen.setMessagePort(m.port)
'todo - pick the scene based on if we need a server already
- first_scene = "ServerSelect"
+ first_scene = "Library"
'Create a scene and load a component'
- m.scene = screen.CreateScene("VideoScene")
+ m.scene = screen.CreateScene(first_scene)
screen.show()
get_token(get_var("username"), get_var("password"))
+ libs = LibraryList().items
+ librow = m.scene.findNode("LibrarySelect")
+
+ 'librow.GetRowListContent()
+
' For now, just play whatever is the first item in the list
' of the first folder
- libs = LibraryList().items
- items = ItemList(libs[0].Id).items
- n = Rnd(10)
- movie_id = items[n-1].Id
-
- player = VideoPlayer(movie_id)
while(true)
msg = wait(0, m.port)