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,2
Removed system exit at the end so it won’t kill Python runtime.
2021.1,0,1
Initial release.
Current version: 2021.1.0.2
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.2.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for PlaySongs-2021.1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25d9ade6168d3e56a1105618595e703e6fcfdcb91c24fabaccf8998e0773dc92 |
|
MD5 | 2903cef2e6f02803976409b1d3f370c3 |
|
BLAKE2b-256 | d76526b8e36ac0926783a393c5d4f70102d8f49face465d4576e5311945f224b |