danj/spotify-cli-remote
Composer 安装命令:
composer create-project danj/spotify-cli-remote
包简介
A CLI tool for controlling Spotify on all platforms
README 文档
README
A CLI tool for controlling Spotify playback on any platform
Requirements
Installation
Composer
$ composer global require danj/spotify-cli-remote
Oh, and ensure that your composer vendor/bin directory is in your PATH:
$ export PATH=~/.composer/vendor/bin:$PATH
Build from source
$ git clone https://github.com/danjohnson95/spotify-cli-remote
$ cd spotify-cli-remote
$ composer install
$ chmod +x spotify
And now put this directory in your PATH.
Usage
Authentication
First, you must authenticate the CLI remote with your Spotify account.
$ spotify login
You'll need to visit http://spotify-cli-remote.danjohnson.xyz to grant access, and you'll be redirected to a page displaying an authorisation code.
You will need to copy and paste this authorisation code into the CLI when requested.
Once authenticated, you can now control Spotify using your CLI!
Commands
spotify play # Resumes/starts playback
spotify pause # Pauses playback
spotify next # Skips the current track
spotify prev # Plays the previous track
What's the point?
I built this because I primarily work in a Windows environment with no media hotkeys. Switching over to the Spotify window was time consuming, and since I do pretty much everything else in the terminal, I figured controlling Spotify in the CLI would save me time. Hope it saves you time too.
danj/spotify-cli-remote 适用场景与选型建议
danj/spotify-cli-remote 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 19 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 04 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 danj/spotify-cli-remote 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 danj/spotify-cli-remote 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-04-18