Skip to main content

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()

readme42.com

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.7.1.tar.gz (2.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page