A small playlists manager for just_playback
Project description
Just Playlists
A simple playlist manager for Just Playback
Just Playlists is a simple playlist manager for Just Playback. It allows you to create a list of songs, then play them sequentially (or randomly).
It supports every file format which just playback supports.
Installation
Preqrequisites
- Python 3.6 or higher
- Just Playback 0.1.7 or higher
Installing
pip install just_playlists
Usage
Creating a playlist
playlist = Playlist()
songs = [
"C:/Users/Me/Music/My Song.mp3",
"/test.wav",
"/music-files/another-song.ogg",
"great-song.mp3"
]
playlist.load_files(songs)
playlist.play()
while playlist.is_playing:
time.sleep(1) # hold the main thread open so the songs can keep playing
You can even add and delete songs from the playlist while it's playing:
songs = [
"C:/Users/Me/Music/My Song.mp3",
"/test.wav",
"/music-files/another-song.ogg",
"great-song.mp3"
]
playlist.add_file(songs, next) # append the list of songs to play next.
playlist.del_files("great-song.mp3") # you can only delete one song at a time
playlist.del_files(1) # you can also delete by index ( if both are provided, index is used)
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
just_playlists-0.0.1.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file just_playlists-0.0.1.tar.gz
.
File metadata
- Download URL: just_playlists-0.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01ac590b6560274f0eed21b7e2e5f9a7ff2cc61d1dab7534a827f8afc37c29ab |
|
MD5 | 7d5a7f4cb913137fef3ce8755e996b56 |
|
BLAKE2b-256 | 3e7060178f7389e0dc2592f7eb4ad64bc4e5a3ff84122ed3939f4c48ad26116a |
File details
Details for the file just_playlists-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: just_playlists-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57cccf550fb2af3a298e18e70788678e8c3b2dd7f67e7ea888803cabe706ab8b |
|
MD5 | e85b757a30582cf3cb2d00032534f4e3 |
|
BLAKE2b-256 | aedf0d42e1e7f3d5dd25aaba41ffff50843d823a4a9b93eeedd37039ca2ae6ef |