panlatent / apple-remote-cli
Apple Remote protocol console application
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=5.5
- gabrielrcouto/php-gui: dev-master
- guzzlehttp/guzzle: ^6.2
- panlatent/daap: dev-master
- panlatent/timer: dev-master
- symfony/console: ^3.2
- symfony/yaml: ^3.2
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-04-19 09:19:23 UTC
README
Apple Remote protocol console application. Using console control your iTunes.
What's this
Apple Remote Cli like Apple Remote App( iOS )
. It is a command-line program,
so you can use it to control your iTunes, it's cool!
This tool includes a command line character ui. It can display song and states.
You can use a shortcut key like Vim
to control iTunes.
About Matches
This project not supported with iTunes recognition and matching. Very sad. You
need to add a --auth=
parameter,requires you to manually capture matching
data.
(!) 由于使用 PHP 编写,无法直接调用相关系统API,也没有找到与 Bonjour 服务通信的方法,
更无法抢占设备的 mDNS 端口。所以该命令实现目前需要使用 iOS 设备遥控器配对数据。**
Requirements
- PHP 5.5 or later
Installation
Download the library using composer:
$ composer require panlatent/apple-remote-cli
Usage
Use a command:
$ apple-remote-cli play/next/last/vol [-+]value
Run player:
$ apple-remote-cli player
The player
command will open a character UI. Use a key control iTunes:
q
Quit | p
Play/Pause | j
Next | k
Last | s
Switch Shuffle | r
Switch Repeat
Character UI is a single process. This means that it is affected by network (HTTP Request).
We have an experimental option --gui
, it will open a GUI window. :) Help we improve.
License
The Apple Remote CLI is open-sourced software licensed under the MIT license.