A lightweight Bash script to control and query Spotify playback via DBus from the command line. This script allows you to play, pause, skip tracks, adjust volume, toggle shuffle/loop, and retrieve metadata like track title, artist, and album. It also supports formatted playback progress and integration with custom scripts or status bars.
To install the Spotify-Cli script, follow these steps:
- Clone the repository:
git clone https://github.com/KimSchm/Spotify-Cli.git
- Navigate to the project directory:
cd Spotify-Cli - Make the script executable:
chmod +x spotify-cli.sh
To use the Spotify-Cli script, run the following command:
./spotify-cli.sh <command> [args]For a full list of commands and usage, run:
./spotify-cli.sh helpWe welcome contributions to the Spotify-Cli project! To contribute, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes and commit them with clear and concise commit messages.
- Push your changes to your forked repository.
- Create a pull request to the main repository.
For more detailed instructions, please refer to the CONTRIBUTING.md file.
If you encounter any issues or have feature requests, please open an issue on the GitHub repository. Provide as much detail as possible to help us understand and address the issue or request.