7

Apple Music 为啥客户端为啥不优化下 支持下全局快捷键

 1 year ago
source link: https://www.v2ex.com/t/944846
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Apple Music 为啥客户端为啥不优化下 支持下全局快捷键

cwbsw      4 小时 14 分钟前

切歌不是有媒体键吗,也可以用耳机按键。

a66243766      4 小时 12 分钟前

为什么没有吧把音乐放在小组件里 这样可以快速看到 是什么歌曲什么名字 谁唱的 另外有没有什么 软件可以读取 Apple Music 、做到的 快速 查看当前歌曲的信息和数据,大佬 applemusic 太臃肿了

lifesimple      4 小时 11 分钟前

@cwbsw 媒体键是指啥第一行的的 f7 f8 f9 那三个按键么?耳机切歌肯定不如快捷键切换方便,不是很明白为啥 apple 不让用户自定义快捷键。

lifesimple      4 小时 10 分钟前

@a66243766 这些不需要啊 我现在用 apple music 唯一的痛点就是客户端上能让我支持自定义快捷键切歌 /暂停 就行了。

chengYT      4 小时 9 分钟前

@a66243766 控制中心可以看到歌名和歌手

aero99      4 小时 3 分钟前

AM 现在不知怎么服务器总是连不上,CarPlay 有时也断

oxoxoxox      2 小时 26 分钟前

F7 F8 F9 够用了吧,也挺方便的,键盘上还有 icon 提示用户

Bad0Guy      1 小时 35 分钟前

我倒是想让 apple 做一个类似 spotify connection 的功能,并且仅在 apple 的各个设备间流通,不知道为什么 apple 不考虑。。

terrysnake      1 小时 25 分钟前

@lifesimple 为什么你认为 F 键就不是快捷键呢?

banliyaya      1 小时 3 分钟前

am mac 端好难用

lylehust      58 分钟前

可以用 applescript 来控制 music ,暂停,下一曲等。然后再自己定义快捷键调用这些脚本就行。我用的是 hammerspoon 。

-------------------
Play_Pause:

#!/usr/bin/env osascript

on is_running(appName)
tell application "System Events" to (name of processes) contains appName
end is_running

if is_running("Music") then
tell application "Music"
playpause
end tell

else if is_running("Spotify") then
tell application "Spotify"
playpause
end tell

else if is_running("Cog") then
tell application "Cog"
pause
end tell

else
return

end if

-------------
Next:

#!/usr/bin/env osascript

on is_running(appName)
tell application "System Events" to (name of processes) contains appName
end is_running

if is_running("Music") then
tell application "Music"
if player state is paused then
return
end if
next track
end tell


else if is_running("Spotify") then
tell application "Spotify"
if player state is paused then
return
end if
next track
end tell

else if is_running("Cog") then
tell application "Cog"
next track
end tell

else
return

end if

--------------
Previous:

#!/usr/bin/env osascript

on is_running(appName)
tell application "System Events" to (name of processes) contains appName
end is_running

if is_running("Music") then
tell application "Music"
if player state is paused then
return
end if
previous track
end tell

else if is_running("Spotify") then
tell application "Spotify"
if player state is paused then
return
end if
previous track
end tell

else if is_running("Cog") then
tell application "Cog"
previous track
end tell

else
return

end if


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK