Skip to content

Commit

Permalink
脚本: playlist_osd 修复一个失效的命令
Browse files Browse the repository at this point in the history
https: //github.com//discussions/357
Co-Authored-By: verygoodlee <45035465+verygoodlee@users.noreply.github.com>
  • Loading branch information
hooke007 and verygoodlee committed Oct 23, 2023
1 parent d1eef60 commit 8ddcf86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion portable_config/input_scripts.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
Shift+DEL script-binding osc_plus/visibility # 切换osc_plus的可见性
Shift+Alt+DEL script-message-to osc_plus osc_layout slimbox # <bottombar|topbar|bottombox|box|slimbox> 切换 osc_plus 的布局为 slimbox

##高级播放列表打开后,此时方向键切换与选中,回车播放,退格键移除,Esc键关闭(超时自动关闭或者再次按打开键也会关闭)
Shift+ENTER script-binding playlist_osd/display # 显示高级播放列表
# 高级播放列表打开后,此时方向键切换与选中,回车播放,退格键移除,Esc键关闭(超时自动关闭或者再次按打开键也会关闭)

Ctrl+r script-message-to save_global_props clean_data # 清除已记录的属性值

Expand Down
4 changes: 2 additions & 2 deletions portable_config/scripts/playlist_osd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ function draw_playlist()
end

function toggle_playlist(show_function)
local show = show_function or showplaylist
local show = show_function or playlist_show
if playlist_visible then
remove_keybinds()
else
Expand Down Expand Up @@ -592,7 +592,7 @@ function handlemessage(msg, value, value2)
playlist_show(value2)
return
else
toggle_playlist(showplaylist)
toggle_playlist(playlist_show)
return
end
end
Expand Down

0 comments on commit 8ddcf86

Please sign in to comment.