jdxi_editor.ui.editors.playlist.progress
Playlist progress
Where playback is in a playlist: an LCD with the song number and name, the song’s own progress (elapsed, length and time left), a bar with a segment per song (played, playing, still to come; click one to play it) and the next song.
Attributes
Classes
A segment per song: played ones lit, the current one filling, the rest dark. |
|
Now playing: song n of N, its progress, the playlist's progress, up next. |
Module Contents
- class jdxi_editor.ui.editors.playlist.progress.PlaylistSegmentBar(parent: PySide6.QtWidgets.QWidget | None = None)[source]
Bases:
PySide6.QtWidgets.QWidgetA segment per song: played ones lit, the current one filling, the rest dark.
- class jdxi_editor.ui.editors.playlist.progress.PlaylistProgressWidget(parent: PySide6.QtWidgets.QWidget | None = None)[source]
Bases:
PySide6.QtWidgets.QWidgetNow playing: song n of N, its progress, the playlist’s progress, up next.
- set_songs(titles: list[str]) None[source]
The playlist’s songs (the rows with a MIDI file), in play order.
- show_song(index: int, duration: float) None[source]
Song index (0-based) has started; it lasts duration seconds.