CLI for playing music and creating playlists
Project description
DevPlayer
CLI for playing music and creating playlists using Python
Installation
-
Installation pre-requisites
ffmpeg
-
Using
PyPi package
Windows
pip install devplayer
MacOS / Linux
pip3 install devplayer
-
Using
setup.py
- clone the repository to local machine
git clone https://github.com/Devansh3712/DevPlayer
- install
devplayer
Windows
python setup.py install
MacOS / Linux
python3 setup.py
Usage
Usage: dev [OPTIONS] COMMAND [ARGS]...
CLI for playing music and creating playlists
Options:
--help Show this message and exit.
Commands:
add add song to a playlist
all show all playlists
delete delete a playlist
new create a new playlist
play play a playlist
playsong play a song from a playlist
remove remove a song from a playlist
show show songs in a playlist
-
add
Usage: dev add [OPTIONS] add song to a playlist Options: -p, --playlist TEXT name of playlist to add [required] -c, --custom TEXT give custom name to song -u, --url TEXT URL of the song -n, --name TEXT name of the song --help Show this message and exit.
- downloads and adds the given song to the input playlist.
YouTube URL
orname
of song can be used to add, with respective flags
- downloads and adds the given song to the input playlist.
-
all
Usage: dev all [OPTIONS] show all playlists Options: --help Show this message and exit.
- shows all available playlists in the local machine
-
delete
Usage: dev delete [OPTIONS] delete a playlist Options: -p, --playlist TEXT name of playlist [required] --help Show this message and exit.
- delete a playlist along with all its contents
-
new
Usage: dev new [OPTIONS] create a new playlist Options: -n, --name TEXT name of the playlist [required] --help Show this message and exit.
- creates a new empty playlist in the local machine
-
play
Usage: dev play [OPTIONS] play a playlist Options: -s, --shuffle shuffle the playlist -p, --playlist TEXT name of playlist to play [required] --help Show this message and exit.
- play all the songs in the input playlist, use
-s
or--shuffle
flag to shuffle the songs in the playlist
- play all the songs in the input playlist, use
-
playsong
Usage: dev playsong [OPTIONS] play a song from a playlist Options: -n, --name TEXT name of the song [required] -p, --playlist TEXT name of playlist [required] --help Show this message and exit.
- play a single specified song from the input playlist
-
remove
Usage: dev remove [OPTIONS] remove a song from a playlist Options: -n, --name TEXT name of the song [required] -p, --playlist TEXT name of playlist [required] --help Show this message and exit.
- remove a single specified song from the input playlist
-
show
Usage: dev show [OPTIONS] show songs in a playlist Options: -p, --playlist TEXT name of the playlist [required] --help Show this message and exit.
- shows all available songs of the input playlist
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
devplayer-0.1.1.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for devplayer-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 552fbf2b41f4863f511b6eafea51439863cdff148bb7eff431b507304223df34 |
|
MD5 | 517aa8b9b84f1c4b3437eac5e2ece02d |
|
BLAKE2b-256 | 288b3c12b32c8f4dcd721598df529d720f51b1a2fbcbdda732291b563940b1b3 |