iTunes.app (macOS)
Project description
Installation
$ [sudo] pip install itunes
Examples
vlc.tell(applescript)
- execute applescript tell application "VLC" ...
>>> itunes.tell('play')
>>> itunes.play()
>>> itunes.pause()
>>> itunes.stop()
>>> itunes.next()
>>> itunes.prev()
playlists
>>> itunes.playlists.names()
["playlist1","playlist2"]
>>> itunes.playlists.play("playlist1")
play_track
>>> itunes.tracks.play("track_name","playlist")
volume
>>> itunes.volume.change(10)
>>> itunes.volume.get()
10
mute
>>> itunes.mute()
>>> itunes.muted()
True
>>> itunes.unmute()
process
>>> itunes.pid()
7654
>>> itunes.kill()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
itunes-2020.12.3.tar.gz
(2.3 kB
view details)
File details
Details for the file itunes-2020.12.3.tar.gz
.
File metadata
- Download URL: itunes-2020.12.3.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3de1e1ca0df5b9fbf6e389828aebcb69a42143d0d2d5e699d5afabc73aa26bc7 |
|
MD5 | 4ab2a2a7a476de4494bf680f581412c0 |
|
BLAKE2b-256 | e8b861b2783c478e6ead26e6905a8bc88346014af54a406a1eb36a1dcd969495 |