Get number of audio tracks for currently playing video
#1
Does anyone know of a way to check if the VideoPlayer has more than one audio track available?

I want to include a button in videoosd to switch audio tracks but only if there is another track to switch to.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#2
Here you go

https://github.com/sualfred/script.embua...-detection
and
https://github.com/sualfred/script.embua...nfo-labels

Edit:
The first one is required if you want to have this switch button for PVR too where audiotracks can change from show to show.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#3
(2019-09-08, 08:57)sualfred Wrote: Here you go

https://github.com/sualfred/script.embua...-detection
and
https://github.com/sualfred/script.embua...nfo-labels

Edit:
The first one is required if you want to have this switch button for PVR too where audiotracks can change from show to show.

Awesome! Thanks Big Grin

I'm surprised that there isn't an infolabel for this.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply

Logout Mark Read Team Forum Stats Members Help
Get number of audio tracks for currently playing video0