SerpentDrago / skin.auramod

Auramod Skin for Kodi 18
81 stars 19 forks source link

Error in the self-closing of the OSD information screen when playing on tvbox #245

Open gtkingbuild opened 2 years ago

gtkingbuild commented 2 years ago

In the skin settings in Auramod, I have the auto-close setting of the OSD menu configured so that it closes after 2 seconds, but the plot of the movie or TV shows always stays on screen along with the control bar. Do you know what could be happening so that this control does not apply the closing seconds of the OSD? IMG_20220226_084329_599

I have tried on the mobile and when I make the information bar and controls appear, it hides in the time that I configure in the OSD menu... But if I connect a tvbox remote control via otg cable, the same thing happens to me... No the information bar is hidden.

jojobrogess commented 2 years ago

I don't know if I follow what you're saying fully.

Do you know what could be happening so that this control does not apply the closing seconds of the OSD?

I think you're asking if there is a way of having the setting Display Poster and Plot when video is paused MATCH the Auto close OSD controls after delay time? If there's a will, there's a way. But AFAIK, no there is no way of matching those two settings atm.


So yeah this is a bug in logic, in a couple ways.
The Display Poster and Plot when video is paused setting is set to Player.Paused, which makes sense because of the phrasing of the setting.

But when you have Auto-Close OSD selected, it adds in a delay. If the poster and plot are displayed ONLY when the video is paused, matching the delayed OSD auto-close time would "break" that settings "logic". I can understand why all those settings would be assumed to match/coincide though.

And it's also a funky use case for matching those two. You'd only be displaying the poster and plot for 2 seconds? So why do it at all? I guess if you set it to 20/30/45 something more substantial, it would make more sense. So you can check it out. But to have the OSD open for that SAME amount of time as well? I can see why it was either not thought of or not added.


I think the best way to correct this behavior would be to add in an optional delay for the setting Display Poster and Plot. Something like -display for specified amount of time, instead of on pause. That way, anyone already using stuff one way, don't loose functionality/get thrown off. As well as allowing poster and plot to be displayed in a specified time, outside of the Auto close OSD setting.


An option to -match auto OSD delay, as well as rearranging of the settings locations so that those settings are closer, could probably work as well, it's a less robust option though.


It would probably be smart to add in the option for delay/matching on the other ones as well, if it applies and can be done that is.

I'll take a look at this. If I'm able to get it worked out, I'll let you know

gtkingbuild commented 2 years ago

This did not happen in the original Auramod skin for Kodi Leia 18, in addition to the fact that in Kodi Matrix it works well on PC, but when it is used in a tvbox with a controller it does not do it correctly, that's why I asked. Thank you very much for your answer @jojobrogess