Add setSubtitleTrack command

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-23 13:09:04 +01:00
parent e166b9d789
commit 40e8a2c901
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

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) { factory Command.setLooping(bool value) {
return Command( return Command(
type: 'set_looping', type: 'set_looping',