Posts: 347
Joined: Sep 2008
Reputation:
3
2012-04-11, 17:49
(This post was last modified: 2012-04-11, 17:50 by macardi.)
Hi,
I would like to have a flag in the library indicating if subtitles exists for my movies and episodes. So i wonder if it would be possible to somehow detect if a video file has a corresponding subtitle file (srt or sub) for a specific movie/episode?
Marcus
Posts: 347
Joined: Sep 2008
Reputation:
3
Thanks Hitcher for your reply!
It doesn't seems work unfortunately,
"ListItem.FilenameAndPath" returns the file name of the selected video file with the extension (mkv, avi etc.). A present srt or sub file doesn't seems to be detected by this command.
Posts: 3,956
Joined: Dec 2008
Reputation:
62
2012-04-11, 19:58
(This post was last modified: 2012-04-11, 20:03 by pecinko.)
EDIT: Never mind, won't work.
Posts: 4,060
Joined: Mar 2010
Reputation:
94
What if you try ListItem.Filename ?
Posts: 15,261
Joined: Jan 2009
Reputation:
726
ronie
Team-Kodi Member
Posts: 15,261
my vote goes to: not possible.
Posts: 17,247
Joined: Aug 2007
Reputation:
566
Hitcher
Team-Kodi Member
Posts: 17,247
Yeah, not sure what I was thinking earlier.
Posts: 347
Joined: Sep 2008
Reputation:
3
Not possible seems to be the final answer then. Thank you for your input.