replaced track info string map with a struct

This commit is contained in:
2026-02-24 15:39:54 -05:00
parent d764fefb10
commit 768a8cf1f2
15 changed files with 399 additions and 1314 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
import { EventsOn, EventsEmit } from '@runtime/runtime';
import { Events } from '../events';
// Types
// TrackInfo mirrors the player.TrackInfo struct in the Go backend.
// Fields are serialized as camelCase JSON via struct tags.
export interface TrackInfo {
fileName: string;
filePath: string;