![]() To run static code analysis, execute: make lint ![]() To verify code formatting, type: make checkformat Source code should be formatted according to PEP8 style guides. To install necessary tools for code formatting, static code analysis and releasing, run: make requirements If you want to use this script in your tmux panel, you can check tmux-plugin-spotify. When, you're missing lyricwikia dependency, run the following command: pip install lyricwikia If you are using another distro, then try to install python-dbus with your package manager. Then try to install python-dbus! On Ubuntu you can do it as follows: sudo apt-get install python-dbus When you've seen the following error: No module named dbus If you don't use any parameters, you'll enter the shell mode, where you'll be able to use all commands mentioned above solving problems dbus playpause plays or pauses the song (toggles a state) lyrics shows lyrics for the song playing ![]() artistshort shows artist name in a short way songshort shows the song name in a short way statusposition shows song name and artist, with current playback position Use one of the following parameters: -h, -help show this help message and exit Run the following command from your terminal: spotifycli Upgrade pip install spotify-cli-linux -upgradeįor the upgrade, you can apply the same hints like for installation usage Sudo cp spotifycli/spotifycli.py /usr/local/bin/spotifycli If you have any problems with pip or pip3, you can try to install the script in the alternative way as a workaround: git clone spotify-cli-linux ![]() with resolving project dependencies), try to call pip3 instead of pip Hint #2: if you still have problems (e.g. Hint #1: if you encounter problems during installation, try to call command with sudo installation pip install spotify-cli-linux This project is inspired by the similar project called shpotify, which does similar things, but on macOS. A command line interface to Spotify on Linux. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |