added expressjs server instead of python one

This commit is contained in:
janis
2022-10-30 15:02:25 +01:00
parent ab47525e7b
commit f5b682598b
623 changed files with 88586 additions and 64 deletions

View File

@@ -0,0 +1,16 @@
<ConnectionPU>:
title: "Connecting..."
font_size: 30
size_hint: 0.5, 0.4
auto_dismiss: False
GridLayout:
cols: 1
Label:
text: "Invalid entry. Please ensure that you only type the IP!"
font_size: 20
GridLayout:
cols: 2
Button:
text: "Ok"
on_release:
root.dismiss()

View File

@@ -7,11 +7,14 @@ LoginWindow:
text: "Welcome to the MusicPlayer Showcase Screen!"
font_size: 27
color: (0, 0, 0, 1)
Label:
text: "Server is currently not running! Please start it by clicking start server!"
id: statusbar
color: (0, 0, 0, 1)
FloatLayout
TextInput:
text: ""
hint_text: "Type Server IP here..."
pos_hint: {'x': 0.25, 'y': 0.5}
size_hint: 0.5, 0.2
id: url
Button:
text: "Start Server"
on_release:
root.startserver()
text: "connect"
on_release:
root.connect()

View File

@@ -0,0 +1,58 @@
ShowcaseScreen:
name: "ShowcaseScreen"
md_bg_color: (0, 0, 0, 1)
FloatLayout:
Label:
text: "Currently Playing"
id: titleinfo
bold: True
italic: True
pos_hint: {"y": 0.35}
font_size: 60
color: app.theme_cls.primary_color
MDProgressBar:
orientation: "horizontal"
value: 100
pos_hint: {"y": 0.3}
color: (1, 1, 1, 0.5)
MDProgressBar:
id: progressbars
orientation: "horizontal"
value: 0
pos_hint: {"y": 0.3}
color: app.theme_cls.primary_dark
Label:
id: current_song
text: "Currently playing Song will appear here"
pos_hint: {"y": 0.22}
font_size: 45
color: app.theme_cls.primary_color
shorten: False
halign: "center"
Label:
id: upcoming_ind
text: "upcoming"
bold: True
italic: True
font_size: 35
pos_hint: {"y": -0.05}
color: app.theme_cls.primary_color
Label:
id: upcoming_songs
text: "Upcoming Songs will appear here"
pos_hint: {"y": -0.25}
font_size: 30
color: app.theme_cls.primary_color
shorten: False
halign: "center"
Button:
text: "back"
font_size: 10
size_hint: 0.05, 0.05
background_color: app.theme_cls.accent_light
on_release:
root.leave_screen()
Label:
text: "Designed and developed by Janis Hutz"
font_size: 7
pos_hint: {"y": -0.48}