Add setSubtitleTrack command

This commit is contained in:
2024-12-23 13:09:04 +01:00
parent e166b9d789
commit 40e8a2c901

View File

@@ -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',