2017 © Pedro Peláez
 

project apple-remote-cli

Apple Remote protocol console application

image

panlatent/apple-remote-cli

Apple Remote protocol console application

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Apple Remote CLI

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Apple Remote protocol console application. Using console control your iTunes., (*2)

, (*3)

, (*4)

, (*5)

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!, (*6)

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., (*7)

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., (*8)

(!) 由于使用 PHP 编写,无法直接调用相关系统API,也没有找到与 Bonjour 服务通信的方法,
更无法抢占设备的 mDNS 端口。所以该命令实现目前需要使用 iOS 设备遥控器配对数据。**

Requirements

  • PHP 5.5 or later

Installation

Download the library using composer:, (*9)

$ composer require panlatent/apple-remote-cli

Usage

Use a command:, (*10)

$ apple-remote-cli play/next/last/vol [-+]value

Run player:, (*11)

$ apple-remote-cli player

The player command will open a character UI. Use a key control iTunes:, (*12)

q Quit | p Play/Pause | j Next | k Last | s Switch Shuffle | r Switch Repeat, (*13)

Character UI is a single process. This means that it is affected by network (HTTP Request)., (*14)

We have an experimental option --gui, it will open a GUI window. :) Help we improve., (*15)

License

The Apple Remote CLI is open-sourced software licensed under the MIT license., (*16)

The Versions

02/05 2017