Is there a way to detect if subtitles are enabled
#1
As the title suggests, is there a way to determine if subtitles are currently enabled?

To take it a step further, is there a way to suppress the text if say DialogFullScreeenInfo is active?

Thanks,
-stoli-
Reply
#2
If they are using the subtitle script, arent most anyways?, dont all skins use a <visible> to enable them. If yes on subtitle script just use the skin setting to do the check...

If it's built into the .mkv, or whatever container, not sure about that one...
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#3
mcborzu Wrote:If they are using the subtitle script, arent most anyways?, dont all skins use a <visible> to enable them. If yes on subtitle script just use the skin setting to do the check...

If it's built into the .mkv, or whatever container, not sure about that one...

That's my issue. And even if they are using the script, it doesn't mean they have subtitles enabled for whatever is currently playing.

Just trying to neaten things up. Smile
-stoli-
Reply
#4
hrmf, seems we're missing player.hassubtitles. the second is always possible with an isactive() viz cond.
Reply
#5
spiff Wrote:hrmf, seems we're missing player.hassubtitles. the second is always possible with an isactive() viz cond.

Spiff - player.hassubtitles would be good - should I trac that?. Can you explain a little further how you can go about suppressing the subtitle text?

Thanks,
-stoli-
Reply

Logout Mark Read Team Forum Stats Members Help
Is there a way to detect if subtitles are enabled0