lifesimple
V2EX  ›  Apple

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

  •  
  •   lifesimple · Jun 1, 2023 · 3140 views
    This topic created in 1256 days ago, the information mentioned may be changed or developed.

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

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