CLI for playing music and creating playlists
Project description
DevPlayer
CLI for playing music and creating 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
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
-
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.0.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for devplayer-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e616c280862be6f938f8516e8df31c1c84c97d1d78bf7c81dee1bef7b55584b |
|
MD5 | 66d38b3ada0c87df041b75cf9ff0df2f |
|
BLAKE2b-256 | b60011851d40910a3237d3fb974a1415a5fa07947e6dc40d24ec459c1c570523 |