Kodi Community Forum
[Request] small subtitle file check - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+--- Thread: [Request] small subtitle file check (/showthread.php?tid=124632)



[Request] small subtitle file check - privateplaces - 2012-03-04

problem:
I often download tv shows in rar format, and then download a .srt and give it the same name as the .rar file.
but sometimes xbmc does not find a subtitle, because inside the rar the movie has a different filename then the rar itself.
I have 1 TV episode in each folder, with 1 .srt

A solution would be a script that does something like this:
if no subtitle found, count movie files and subtitle files.
if both are equal to 1, use that subtitle regardeless of the filename.
to have a script like that autorun when playing a video would save a few clicks

=)


- privateplaces - 2012-03-06

never mind.
edited the xbmc sourcecode instead of a addon.