Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions configs/utPlayerConfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,26 @@ mediatek:
stop_command: "\x03" # CNTRL-C
primary_mixer_input_config: ""
secondary_mixer_input_config: ""
amlogic_polaris: # Platform name
gstreamer: # player Name
prerequisites: # Prerequisites if any to run the player
- export XDG_RUNTIME_DIR=/run/user/0
- export LD_PRELOAD=libwesteros_gl.so.0.0.0
- export WESTEROS_GL_GRAPHICS_MAX_SIZE=1920x1080
- export WESTEROS_GL_MODE=3840x2160x60
- export WAYLAND_DISPLAY=main0
- rm -rf /run/user/0
- mkdir -p /run/user/0
Comment on lines +69 to +75
Copy link

Copilot AI Nov 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The runtime directory /run/user/0 is being removed and recreated (lines 74-75) after it has already been set as XDG_RUNTIME_DIR (line 69). This ordering could cause issues if any process tries to use the directory between line 69 and line 75. Consider moving the export XDG_RUNTIME_DIR=/run/user/0 statement to after the directory is created (after line 75).

Suggested change
- export XDG_RUNTIME_DIR=/run/user/0
- export LD_PRELOAD=libwesteros_gl.so.0.0.0
- export WESTEROS_GL_GRAPHICS_MAX_SIZE=1920x1080
- export WESTEROS_GL_MODE=3840x2160x60
- export WAYLAND_DISPLAY=main0
- rm -rf /run/user/0
- mkdir -p /run/user/0
- export LD_PRELOAD=libwesteros_gl.so.0.0.0
- export WESTEROS_GL_GRAPHICS_MAX_SIZE=1920x1080
- export WESTEROS_GL_MODE=3840x2160x60
- export WAYLAND_DISPLAY=main0
- rm -rf /run/user/0
- mkdir -p /run/user/0
- export XDG_RUNTIME_DIR=/run/user/0

Copilot uses AI. Check for mistakes.
- westeros --renderer libwesteros_render_embedded.so.0.0.0 --display ${WAYLAND_DISPLAY} --embedded --window-size 1920x1080 --noFBO &
- export GST_PLUGIN_FEATURE_RANK='westerossink:0,amlhalasink:0'
play_command: gst-play-1.0 # Player command to play the stream
stop_command: "\x03" # CNTRL-C
primary_mixer_input_config: ""
secondary_mixer_input_config: '--audiosink "amlhalasink direct-mode=0"'
vdevice: # Platform name
gstreamer: # player Name
prerequisites: [] # Prerequisites if any to run the player
play_command: gst-play-1.0 # Player command to play the stream
stop_command: "\x03" # CNTRL-C
primary_mixer_input_config: ""
secondary_mixer_input_config: '--audiosink '