lsitcm

2.1.1 • Public • Published

LSITCM

Terminal.app Demo of lsitcm

Note: MacOS Catalina support has been added this version (2.0.0)

Install

sudo npm i -g lsitcm

What is it?

LSITCM is a module for controlling iTunes on MacOS. It utilizes AppleScript to control the iTunes player to play a song, pause/play, skip a song, and play the previous song.

Why use it?

Inside of external utilities such as SSH, the graphical portition of the host is not available, and only a console (shell) window is available. With the ability to control iTunes through the system console, it extends the capabilities of utilizing MacOS.

How to use it?

A few examples of how the program can be used are as follows:

  1. Play a specific song:
  • lsitcm [-s <SONG NAME>] [-a <ARTIST NAME>] [-l <ALBUM NAME>]
  1. Show the playing status of iTunes:
  • lsitcm
  1. Control iTunes' flow:
  • lsitcm -P Pause
  • lsitcm -N Next song
  • lsitcm -R Previous song
  1. Preview a playlist:
  • lsitcm -y [PLAYLIST NAME]

All commands that are available are shown through lsitcm -h

Readme

Keywords

Package Sidebar

Install

npm i lsitcm

Weekly Downloads

19

Version

2.1.1

License

MIT

Unpacked Size

300 kB

Total Files

23

Last publish

Collaborators

  • r2d2292