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.
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.
Embuary | Skin | Helper | Info | Repo | GitHub
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.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



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