V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
lifesimple
V2EX  ›  Apple

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

  •  
  •   lifesimple · 301 天前 · 1322 次点击
    这是一个创建于 301 天前的主题,其中的信息可能已经有所发展或是发生改变。

    目前来说唯一的痛点就是不支持全局快捷键切歌吧,手机上用的挺好的,但是切回电脑上就不太想用。 虽然通过 quick action 的方式可以实现类似,但总归差强人意吧。

    13 条回复    2023-06-03 10:43:36 +08:00
    cwbsw
        1
    cwbsw  
       301 天前
    切歌不是有媒体键吗,也可以用耳机按键。
    a66243766
        2
    a66243766  
       301 天前
    为什么没有吧把音乐放在小组件里 这样可以快速看到 是什么歌曲什么名字 谁唱的
    另外有没有什么 软件可以读取 Apple Music 、做到的 快速 查看当前歌曲的信息和数据,大佬 applemusic 太臃肿了
    lifesimple
        3
    lifesimple  
    OP
       301 天前
    @cwbsw 媒体键是指啥第一行的的 f7 f8 f9 那三个按键么?耳机切歌肯定不如快捷键切换方便,不是很明白为啥 apple 不让用户自定义快捷键。
    lifesimple
        4
    lifesimple  
    OP
       301 天前
    @a66243766 这些不需要啊 我现在用 apple music 唯一的痛点就是客户端上能让我支持自定义快捷键切歌 /暂停 就行了。
    chengYT
        5
    chengYT  
       301 天前
    @a66243766 控制中心可以看到歌名和歌手
    aero99
        6
    aero99  
       301 天前
    AM 现在不知怎么服务器总是连不上,CarPlay 有时也断
    oxoxoxox
        7
    oxoxoxox  
       301 天前
    F7 F8 F9 够用了吧,也挺方便的,键盘上还有 icon 提示用户
    Bad0Guy
        8
    Bad0Guy  
       301 天前
    我倒是想让 apple 做一个类似 spotify connection 的功能,并且仅在 apple 的各个设备间流通,不知道为什么 apple 不考虑。。
    terrysnake
        9
    terrysnake  
       301 天前
    @lifesimple 为什么你认为 F 键就不是快捷键呢?
    banliyaya
        10
    banliyaya  
       301 天前
    am mac 端好难用
    lylehust
        11
    lylehust  
       301 天前
    可以用 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
    yokiizx
        12
    yokiizx  
       301 天前
    raycast 好像有插件可以全局控制的
    chuck1in
        13
    chuck1in  
       299 天前 via iPhone
    @banliyaya 是的,奇卡无比。开久了还会死机,我现在已经不怎么用 am 了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5438 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 08:48 · PVG 16:48 · LAX 01:48 · JFK 04:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.