2018-11-14, 18:42
@django.Durano
would love to see this happen
would love to see this happen
:def onAVStarted(self):
if (((code == sub['language']) or (name == sub['language'])) and (sub['name'] != 'Forced')):
(2019-03-25, 18:05)Django.Durano Wrote: @djoole
Is there any limitation in Forced Type?
It doesn't work for me if i choose a full subitle track as forced type.
(2019-03-25, 07:38)i3laze Wrote: The add-on works as I need, but doesn’t fire, when audio is switched on the fly - only at playback start..
And I do switch language during playback on the mood. A callback is welcome.
def onAVStarted(self):
def onAVChange(self):
(2019-03-25, 23:26)djoole Wrote: What do you mean by "full subtitles as forced type"?
If you want to specify a forced subtitle you need to use the True boolean, otherwise the False boolean.
Ex1 : fre:fre/true means you associate french audio tracks with french forced subtitles
Ex2 : eng:fre/false means you associate english audio tracks with french full subtitles
(2019-03-26, 10:01)Django.Durano Wrote:(2019-03-25, 23:26)djoole Wrote: What do you mean by "full subtitles as forced type"?Are the subtitles selected after the name or are they looked after the tags Default and Forced?
If you want to specify a forced subtitle you need to use the True boolean, otherwise the False boolean.
Ex1 : fre:fre/true means you associate french audio tracks with french forced subtitles
Ex2 : eng:fre/false means you associate english audio tracks with french full subtitles
(2019-03-26, 22:19)djoole Wrote: It the Json Player.GetProperties which is called, and currentsubtitle property which is retrieved and analysed. If I find the string forced in the currentsubtitle['name'], then I assume it's a forced subtitle.
So if your subtitles is something else than forced (ex : HI) it will be taken as a full subtitle.