Launch XMPlay using a playlist instead of folders
This commit is contained in:
parent
d80de4ac65
commit
25bb433014
3 changed files with 3 additions and 5 deletions
|
|
@ -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"',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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():
|
||||
|
|
|
|||
1
setup/windows/bin/XMPlay/music.m3u
Normal file
1
setup/windows/bin/XMPlay/music.m3u
Normal file
|
|
@ -0,0 +1 @@
|
|||
music\ZOMBIES.IT
|
||||
Loading…
Reference in a new issue