diff --git a/scripts/wk/cfg/launchers.py b/scripts/wk/cfg/launchers.py index 12b8091a..ce39768b 100644 --- a/scripts/wk/cfg/launchers.py +++ b/scripts/wk/cfg/launchers.py @@ -352,7 +352,7 @@ LAUNCHERS = { 'L_TYPE': 'Executable', 'L_PATH': 'XMPlay', 'L_ITEM': 'xmplay.exe', - 'L_ARGS': r'"%bin%\XMPlay\music.7z"', + 'L_ARGS': r'"%bin%\XMPlay\music.m3u"', }, }, } diff --git a/scripts/wk/setup/win.py b/scripts/wk/setup/win.py index dd170b68..68ac6c85 100644 --- a/scripts/wk/setup/win.py +++ b/scripts/wk/setup/win.py @@ -1114,10 +1114,7 @@ def open_windows_updates() -> None: def open_xmplay() -> None: """Open XMPlay.""" sleep(2) - xmplay_path = get_tool_path('XMPlay', 'XMPlay') - music_path = xmplay_path.parent.joinpath('music') - cmd = [xmplay_path, *[str(item) for item in music_path.glob('**/')]] - popen_program(cmd) + run_tool('XMPlay', 'XMPlay', 'music.m3u', cwd=True, popen=True) def run_shutup_10(): diff --git a/setup/windows/bin/XMPlay/music.m3u b/setup/windows/bin/XMPlay/music.m3u new file mode 100644 index 00000000..37f6e237 --- /dev/null +++ b/setup/windows/bin/XMPlay/music.m3u @@ -0,0 +1 @@ +music\ZOMBIES.IT