diff --git a/lib/api/commands.dart b/lib/api/commands.dart index ca5c8ec..af423b9 100644 --- a/lib/api/commands.dart +++ b/lib/api/commands.dart @@ -142,6 +142,15 @@ class Command extends PlayerConnectionEvent { ); } + factory Command.setSubtitleTrack(int? track) { + return Command( + type: 'set_subtitle_track', + value: { + 'track': track, + }, + ); + } + factory Command.setLooping(bool value) { return Command( type: 'set_looping',