Store srt subtitle position in the library database



Hi all,

Thanks all for this great tool.

I believe it would be very useful – and hopefully not that complex – to store the subtitle position in the library database – typically in the “settings” table – for each movie, and that each time we start playing a movie it positions automatically the subtitles based on this stored position, or at the default position if no information is stored.

Currently it’s possible to adjust the subtitle position each time one launches a movie, thanks to the SubtitleShiftUp and SubtitleShitDown Action IDs, and while doing so Kodi displays the position in pixels on the screen, but as soon as we stop the movie it’s just too bad that this position information is lost, whereas it could be stored for a next time to avoid having to adjust it again.

Moreover, if such field was available in the database, it would also be possible quite easily thanks to a simple SQL query – after populating the actual aspect ratio and resolution of each movie – to populate this field automatically for each movie.

For instance, I know that for 4K 2.35 movies my subtitles should be at c. 1850 pixels and I could easily populate this automatically for all such 4K 2.35 movies rather than having to re-adjust their position each time.

Thanks
Best
Alex