Basis Audio Display toegevoegd + standaard CSS toegevoegd

Kan nu zien hoe lang de song duurt, hoe lang ie al bezig is met draaien en de titel (-.mp3)
This commit is contained in:
michiel301b
2025-10-16 00:45:29 +02:00
parent 545e830b3c
commit f44c3932dc
14 changed files with 156 additions and 39 deletions

View File

@@ -18,6 +18,7 @@ public class AudioEvents extends EventsBase {
/** Start background music. */
public record StartBackgroundMusic() implements GenericEvent {}
/** Gives back the name of the song, the position its currently at (in seconds) and how long it takes (in seconds) */
public record PlayingMusic(String name, long currentPosition, long duration) implements GenericEvent {}
/** Change volume, choose type with {@link VolumeControl}. */