Project

spty

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Control your Spotify player from the terminal. Currently only works for Mac OSX.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 9.0
~> 10.0
~> 3.0
 Project Readme

Spty

Maintainability Test Coverage

Spotify Player Terminal Utility. CLI that lets you control your Spotify player from the terminal. Only works on MacOSX as it uses AppleScript API to control the player.

Installation

$ gem install spty

Usage

Spotify player has to be running for these command to work.

Show gem version

$ spty version

Show current player state

$ spty state

Play the current track

$ spty play

Pause the current track

$ spty pause

Toggle player play / pause

$ spty toggle

Get track title and artist

$ spty info

Skip track and play the next track

$ spty skip

Replay previous track

$ spty replay

Show current volume level

$ spty volume

Increase the volume level by 10

$ spty volume up

Decrease the volume level by 10

$ spty volume down

Set the volume level with given number

$ spty volume [number]

Set the volume level to 0

$ spty mute

Set the volume level to 60

$ spty unmute

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jibone/spty. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Spty project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.