sammoth / foo_mpv

mpv video player UI element for foobar2000
GNU General Public License v3.0
57 stars 2 forks source link

Is possible to add audio track selection button? #8

Open dream7180 opened 2 years ago

dream7180 commented 2 years ago

Just like subtitle track button, in OSC. It will be much better for watching movies (multi-audio tracks).

dream7180 commented 2 years ago

I add the audio track switch button, found that multi-audio tracks are not well supported.

sammoth commented 2 years ago

Hi, it might be possible to do something like this but note that this component, and mpv, don't handle playback of the audio at all. Audio is still handled entirely by foobar. There is a context menu option in foobar that lets you choose the audio track to use for some types of multi-track file which might be possible to integrate with mpv using the scripting features described in the readme, or maybe the SDK has a specific API that could be used. But the implementation wouldn't be related or integrated with to mpv's audio track selection.

dream7180 commented 2 years ago

OK. Thank you. I have add an audio stream selection button on the OSC.

dream7180 commented 2 years ago

OK. Thank you. I have add an audio stream selection button on the OSC.