playsongs
Overview
Play MP3s from a specified directory.
Prerequisites
Python >= 3.6
playsound >= 1.2.2 (installed as a dependency)
pyobjc >= 7.1 (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 import PlaySongs
PlaySongs('/home/username/Music', repeat = 10000000, shuffle = True)
In BASH:
python3 -c "from playsongs import PlaySongs; PlaySongs('/home/username/Music', repeat = 10000000, shuffle = True)"
Release files for PlaySongs 2024.1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| playsongs-2024.1.0.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| playsongs-2024.1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 kB
Release files / playsongs-2024.1.0.0.tar.gz
| Download URL | playsongs-2024.1.0.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e0f812b14e13d23a1dd0211437bfddb43acaa64b75d42f2b6280ed9a7720d69
|
|
BLAKE2b-256 checksum How to use checksums |
283c19c6490c9625f74ed5e594913d12eb56b2836a430f5c085e02152471cc8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/5.4.109+
|
Release files / playsongs-2024.1.0.0-py3-none-any.whl
| Download URL | playsongs-2024.1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d259cfc6914328977168a38791a4c7b6ce8a24533a70f1707d60756f33f765e1
|
|
BLAKE2b-256 checksum How to use checksums |
d72cb07c2fcdad5f40e78a7ce9a230d1fd06f55d56e75b6bcbfe7484ead0f08b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/5.4.109+
|