Custom Subtitle addon problem
#1
Hello,
I've made some years ago for personal use a simple script addon to load a list with subtitles from a local folder. I followed the tutorial and I used a template which was availble then. Before some months, using a subtitle addon I found in its code a way to add it to the list with subtitles addons which opens when activate the "Download Subtitles", which pauses the video.
The problem I have is that I already have a function to pause/unpause the video, and now because the video is paused when the "Download Subtitles" dialog runs, it starts playback again as soon as I activate my addon.
So I'm asking if there is a way to check if this dialog is activated(so I'm using my addon from there) and only pause the video if it's not(I activated my addon without to use "Download Subtitles" option)
Reply

Logout Mark Read Team Forum Stats Members Help
Custom Subtitle addon problem0