Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MBetterc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mbetter
MBetterc
Commits
9ed29d92
Commit
9ed29d92
authored
Dec 03, 2025
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
single windowed overlay
parent
11b0ada8
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
121 additions
and
56 deletions
+121
-56
main.py
main.py
+9
-0
settings.py
mbetterclient/config/settings.py
+1
-0
application.py
mbetterclient/core/application.py
+3
-0
player.py
mbetterclient/qt_player/player.py
+108
-56
No files found.
main.py
View file @
9ed29d92
...
...
@@ -223,6 +223,12 @@ Examples:
help
=
'RustDesk ID for periodic whoami API calls (enables /api/whoami endpoint)'
)
parser
.
add_argument
(
'--overlay-single'
,
action
=
'store_true'
,
help
=
'Enable single window overlay mode (overlay stacks on top of player widget instead of separate window)'
)
return
parser
.
parse_args
()
def
validate_arguments
(
args
):
...
...
@@ -291,6 +297,9 @@ def main():
# SSL settings
settings
.
web
.
enable_ssl
=
args
.
ssl
# Overlay settings
settings
.
qt
.
overlay_single_window
=
args
.
overlay_single
if
args
.
db_path
:
settings
.
database_path
=
args
.
db_path
...
...
mbetterclient/config/settings.py
View file @
9ed29d92
...
...
@@ -228,6 +228,7 @@ class QtConfig:
overlay_enabled
:
bool
=
True
default_template
:
str
=
"news_template"
overlay_opacity
:
float
=
0.9
overlay_single_window
:
bool
=
False
# Performance settings
hardware_acceleration
:
bool
=
True
...
...
mbetterclient/core/application.py
View file @
9ed29d92
...
...
@@ -138,6 +138,9 @@ class MbetterClientApplication:
stored_settings
.
debug_overlay
=
self
.
settings
.
debug_overlay
stored_settings
.
debug_player
=
self
.
settings
.
debug_player
# Preserve command line overlay settings
stored_settings
.
qt
.
overlay_single_window
=
self
.
settings
.
qt
.
overlay_single_window
# Preserve command line SSL settings
stored_settings
.
web
.
enable_ssl
=
self
.
settings
.
web
.
enable_ssl
stored_settings
.
web
.
ssl_cert_path
=
self
.
settings
.
web
.
ssl_cert_path
...
...
mbetterclient/qt_player/player.py
View file @
9ed29d92
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment