jibone / spty_rb Goto Github PK
View Code? Open in Web Editor NEWSpotify Player Terminal Utility
License: MIT License
Spotify Player Terminal Utility
License: MIT License
Add replay command to move to the next track. Suggested command:
spty player replay
Commands to show deprecate warning:-
player state
player toggle
track info
track skip
track replay
Similar code found in 1 other location (mass = 18)
Add command for currently playing track. Suggested command:
spty track info
Command to control volume
$ spty vol up
- increase volume by 10$ spty vol down
- increase volume by 10$ spty vol [number]
- set volume to the given numberSimilar code found in 1 other location (mass = 21)
Implement play command
spty play
If player state is mute, it will increase the volume to 60
If player is pause, it will start playing the current track
There are a number of commands marked as deprecated. Remove the code to make way for the refactor.
Change all the commands to:-
player state
to state
player toggle
to toggle
track info
to info
track skip
to skip
track replay
to replay
Add skip command to move to the next track. Suggested command:
spty player skip
Add a prompt to launch the application if the application is not running.
Unused method argument - options
. If it's necessary, use _
or _options
as an argument name to indicate that it won't be used. You can also write as call(*)
if you want the method to accept any arguments but don't care about them.
Implement volume mute and un-mute
$ spty mute
Set volume to 0
Implement pause command
spty pause
If track is playing it will pause
Similar code found in 1 other location (mass = 21)
Similar code found in 1 other location (mass = 18)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.