DevPlayer
CLI for playing music and creating playlists using Python
Installation
-
Installation pre-requisites
ffmpeg
-
Using
PyPi packageWindows
pip install devplayerMacOS / 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 installMacOS / 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
-
addUsage: 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 URLornameof song can be used to add, with respective flags
- downloads and adds the given song to the input playlist.
-
allUsage: dev all [OPTIONS] show all playlists Options: --help Show this message and exit.- shows all available playlists in the local machine
-
deleteUsage: 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
-
newUsage: 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
-
playUsage: 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
-sor--shuffleflag to shuffle the songs in the playlist
- play all the songs in the input playlist, use
-
playsongUsage: 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
-
removeUsage: 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
-
showUsage: 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
Release files for devplayer 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| devplayer-0.1.2.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| devplayer-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / devplayer-0.1.2.tar.gz
| Download URL | devplayer-0.1.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc2cde0762ef736f2545b3f57ad299b3aaa15ae48e6a968c4a34e61eddde02d0
|
|
BLAKE2b-256 checksum How to use checksums |
6b4820fcdffd32d07ee10274b14587f315eae6d9e36082711c9a57dcc9cbaec2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Release files / devplayer-0.1.2-py3-none-any.whl
| Download URL | devplayer-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74a6e230a22de52d908dd7ce61afa3a4b29f766151d3fe41edf9930eef252f8b
|
|
BLAKE2b-256 checksum How to use checksums |
70c422aecda14eeeee6f19ca0626d00df166681952ba3ddcf26db4547c57eed9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|