diff --git a/__pycache__/extensions.cpython-312.pyc b/__pycache__/extensions.cpython-312.pyc new file mode 100644 index 0000000..d989033 Binary files /dev/null and b/__pycache__/extensions.cpython-312.pyc differ diff --git a/__pycache__/models.cpython-312.pyc b/__pycache__/models.cpython-312.pyc new file mode 100644 index 0000000..4dda5b0 Binary files /dev/null and b/__pycache__/models.cpython-312.pyc differ diff --git a/app.py b/app.py index 5093145..d36c055 100644 --- a/app.py +++ b/app.py @@ -288,6 +288,8 @@ def edit_player(player_id): player.hostname = request.form['hostname'] if request.form['password']: player.password = bcrypt.generate_password_hash(request.form['password']).decode('utf-8') + if request.form['quickconnect_password']: + player.quickconnect_password = bcrypt.generate_password_hash(request.form['quickconnect_password']).decode('utf-8') db.session.commit() return redirect(url_for('player_page', player_id=player.id)) diff --git a/instance/dashboard.db b/instance/dashboard.db index 7ddf48b..bb35af4 100644 Binary files a/instance/dashboard.db and b/instance/dashboard.db differ diff --git a/static/resurse/login_picture.png b/static/resurse/login_picture.png index 37d0fbc..b8bfa51 100644 Binary files a/static/resurse/login_picture.png and b/static/resurse/login_picture.png differ diff --git a/static/resurse/logo.png b/static/resurse/logo.png index 9c43769..aeb8795 100644 Binary files a/static/resurse/logo.png and b/static/resurse/logo.png differ diff --git a/static/uploads/cover-1685882567.png b/static/uploads/cover-1685882567.png deleted file mode 100644 index 01b62fd..0000000 Binary files a/static/uploads/cover-1685882567.png and /dev/null differ diff --git a/static/uploads/track.png b/static/uploads/track.png deleted file mode 100644 index eb097c1..0000000 Binary files a/static/uploads/track.png and /dev/null differ diff --git a/templates/create_group.html b/templates/create_group.html index 122bdf0..e93fa5e 100644 --- a/templates/create_group.html +++ b/templates/create_group.html @@ -1,15 +1,42 @@ -
-
- - + + + + Create Group + + + + +
+

Create Group

+ +
+ + +
+
+ + +
+ + + Back to Dashboard
-
- - -
- - \ No newline at end of file + + + \ No newline at end of file diff --git a/templates/edit_player.html b/templates/edit_player.html index 4b90c7a..c5ec83b 100644 --- a/templates/edit_player.html +++ b/templates/edit_player.html @@ -33,6 +33,10 @@
+
+ + +
Back to Player Page diff --git a/templates/group_fullscreen.html b/templates/group_fullscreen.html new file mode 100644 index 0000000..db438cb --- /dev/null +++ b/templates/group_fullscreen.html @@ -0,0 +1,69 @@ + + + + + Group Fullscreen + + + + +
+ {% for item in content %} + {% if item.file_name.endswith('.mp4') %} + + {% elif item.file_name.endswith('.pdf') %} + + {% else %} + {{ item.file_name }} + {% endif %} + {% endfor %} +
+ + + + \ No newline at end of file diff --git a/test_api.py b/test_api.py index 2451340..dcb5aff 100644 --- a/test_api.py +++ b/test_api.py @@ -2,9 +2,9 @@ import requests import os # Replace with the actual server IP address or domain name, hostname, and quick connect code -server_ip = 'http://192.168.0.115:5000' -hostname = 'TvHolBa1' -quickconnect_code = 'Initial01!' +server_ip = 'http://localhost:5000' +hostname = 'tv1' +quickconnect_code = '4321' # Construct the URL with the hostname and quick connect code as query parameters url = f'{server_ip}/api/playlists'