Play MP# from a directory.
Project description
Overview
Play MP3 from a specified directory.
Prerequisites
playsound module (installed as a dependency)
CAVEAT: Due to playsound limitations, directory and filenames with spaces are not allowed.
Required (Positional) Arguments
Position 1: /path/to/mp3/files
Optional (Keyword) Arguments
- repeat
Description: Number of times to repeat the whole collection.
Type: Integer
Default: 0
- shuffle
Description: Select whether to shuffle the list of songs being played.
Type: Boolean
Default: False
Usage
Installation:
pip3 install playsongs
# or
python3 -m pip install playsongs
In Python3:
from playsongs.playsongs import PlaySongs
PlaySongs('/home/username/Music', repeat = 10000000, shuffle = True)
In BASH:
python3 -c "playsongs.playsongs import PlaySongs; PlaySongs('/home/username/Music', repeat = 10000000, shuffle = True)"
Changelog
2021.1,0,1
Initial release.
Current version: 2021.1.0.1
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
PlaySongs-2021.1.0.1.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for PlaySongs-2021.1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f54f24ef2dccde0423b05fb969788f0ed30c4f5f66a9fb2d0f1e51b28ff7e0e3 |
|
MD5 | ae7bfa9205fc3f043a5fb5bf21710195 |
|
BLAKE2b-256 | 4d7c62648fb34fae0beaab25886412cb34d85002d23f6b2bef508de8e824b4ea |