Цитата:
how do I auto chose the Audio Track that is currently playing in the menu?
Не понял вопрос. Вам надо назначить в фильме такую же дорожку, которая выбрана в меню? Или вам надо перейти на кнопку в меню, соответствующую этой дорожке?
Цитата:
I did not understand the question. Do you need to assign the same track in the movie that is selected in the menu? Or do you need to navigate to the button in the menu corresponding to this track?
Предложу общую схему.
1. Определяем дорожку в текущем плейлисте.
Можно через PSR1, но лучше через встроенную переменную калейдоскопа $primaryAudioStream. Получаем значение и записываем в пользовательскую переменную ($YourAudio). Название любое ваше, главное - значок переменной
$
setVar $YourAudio $primaryAudioStream
Эту команду можно вписать на старт вашего скрина: onShow
2. Запускаем плейлист с фильмом
startPlaylist (Your PlayList Number)
onActivate вашей кнопки "Play"
3. Назначаем дорожку
selectPrimaryAudioStream $YourAudio
например, сразу после команды на старт плейлиста.
Цитата:
I will suggest a general scheme.
1. Define a track in the current playlist.
It is possible through PSR1, but better through the built-in kaleidoscope variable $ primaryAudioStream. We get the value and write it to the user variable ($ YourAudio). Any name of yours, the main thing is the variable icon [B] $ [/ B]
setVar $ YourAudio $ primaryAudioStream
This command can be entered at the start of your screen: onShow
2. Run the playlist with the movie
startPlaylist (Your PlayList Number)
onActivate your "Play" button
3. Assign a track
selectPrimaryAudioStream $ YourAudio
for example, immediately after the command to start the playlist.
Всё очень схоже со сценаристом.