An open API service indexing awesome lists of open source software.

https://github.com/andrewpetrochenkov/mac-itunes

:apple: :musical_note: macOS iTunes.app scripts
https://github.com/andrewpetrochenkov/mac-itunes

applescript cli macos

Last synced: about 2 months ago
JSON representation

:apple: :musical_note: macOS iTunes.app scripts

Awesome Lists containing this project

README

          

[![](https://img.shields.io/badge/OS-macOS-blue.svg?longCache=True)]()
[![](https://img.shields.io/pypi/v/mac-itunes.svg?maxAge=3600)](https://pypi.org/project/mac-itunes/)
[![](https://img.shields.io/npm/v/mac-itunes.svg?maxAge=3600)](https://www.npmjs.com/package/mac-itunes)[![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)
[![](https://github.com/andrewp-as-is/mac-itunes/workflows/tests42/badge.svg)](https://github.com/andrewp-as-is/mac-itunes/actions)

### Installation
```bash
$ [sudo] pip install mac-itunes
```

```bash
$ [sudo] npm i -g mac-itunes
```

#### Examples
```bash
$ itunes play
$ itunes pause
$ itunes stop
$ itunes next
$ itunes previous
```

volume
```bash
$ itunes volume 50
$ itunes volume
50
```

mute
```bash
$ itunes mute
$ itunes muted
1
$ itunes unmute
```

frontmost (`1` or `0`)
```bash
$ itunes frontmost
0
```

`iTunes.app` process
```bash
$ itunes pid
42
$ itunes kill
```


readme42.com