Skip to content

kshvmdn/nowplaying

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nowplaying

Python CLI to control iTunes playback (Currently OS X only).

Setup

  • Requirements:

    • Python
  • Installation:

    • Clone project

      git clone https://github.com/kshvmdn/nowplaying.git && cd nowplaying
      
    • Install requirements

      pip install -r ./requirements.txt
      

Usage

  • Run with ./nowplaying.py.

    Usage: ./nowplaying [--help] [OPTIONS]
      
      CLI to control iTunes playback.
    
    Example:
      ./nowplaying play
    
    Options:
      -h --help     Display help and usage details
      np            View currently playing song
      next          Skip to the next song
      previous      Play the previous song
      pause         Pause the current song
      play          Open iTunes and play a song
      stop          Stop the currently playing song
      open          Open iTunes
      close         Close iTunes
    
  • Optionally set an alias to run the CLI using a keyword of your choosing.

    • itunes="/path/to/nowplaying.py"
    • play="itunes play"
    • np="itunes np"

Contribute

Feel free to open an issue or make a pull request. All contributions are welcome.

About

Control iTunes from your command line (OS X).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages