No description
Find a file
2025-06-04 17:34:15 +08:00
enep.el [fix] drag enep--play-song to repeat condition 2025-06-04 17:34:15 +08:00
README.org [fix/docs] update emms link 2025-05-12 14:31:29 +08:00

enep.el

ENEP

ENEP - Emacs NetEase Player

ENEP 是一个在 EMACS 里的网易云客户端。

依赖

  • emacs-request

    • curl (需通过 curl 来存储 cookies
  • emms

    • mpv (仅测试过 mpv 方式)

可选项:

  • lame (为下载的 mp3 文件添加元数据)
  • openssl (使用 web api 方式发送请求时的 AES 加密支持)

使用方式

使用 eval-expression (M-:) (或其它方式)运行 (enep-qr-login) 进行登录,在浏览器打开里面提示的网址, 其中会显示一个二维码,使用手机客户端扫码登录后即可按照提示用 (enep-check-qr-login "xxxxx") 来进行登录, 当显示登录成功后,相应的 cookies 会写入到 emacs-request 库里的文件内(默认位置为 (concat (file-name-as-directory user-emacs-directory) "request") )。

之后可使用 enep-play-next-like-song 命令来播放喜欢音乐列表 随机 一首歌,同时,设置成 emms-player-next-function 可不断让 emms 不停播放喜欢音乐列表的音乐。

例如: (setq emms-player-next-function #'enep-play-next-like-song)

鸣谢

免责声明

本项目仅供个人学习研究使用,禁止用于商业和非法用途。

更新日志

0.1

  • 初始版本
  • 播放喜欢音乐列表里的歌 enep-play-next-like-song
  • 设置当前音乐循环次数 enep-playlist-repeat-current
  • 增加副歌 hook enep-player-started-chorus-hook , enep-player-stoped-chorus-hook
  • 增加 web 和安卓客户端方式请求 api