Subs in subfolder?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
kelendral Offline
Junior Member
Posts: 21
Joined: Sep 2011
Reputation: 0
Post: #1
Does XBMC support external subtitle files in subfolder of the folder the videos are in like:
Code:
c:\TV\Show1\
c:\TV\Show1\Show1Ep1.avi
c:\TV\Show1\Show1Ep2.avi
c:\TV\Show1\Show1Ep1.avi
c:\TV\Show1\subs\
c:\TV\Show1\subs\Show1Ep1.idx
c:\TV\Show1\subs\Show1Ep1.sub
c:\TV\Show1\subs\Show1Ep2.idx
c:\TV\Show1\subs\Show1Ep2.sub
c:\TV\Show1\subs\Show1Ep3.idx
c:\TV\Show1\subs\Show1Ep3.sub
c:\TV\Show2\
c:\TV\Show2\Show2Ep1.avi
c:\TV\Show2\Show2Ep2.avi
c:\TV\Show2\Show2Ep1.avi
c:\TV\Show2\subs\
c:\TV\Show2\subs\Show2Ep1.idx
c:\TV\Show2\subs\Show2Ep1.sub
c:\TV\Show2\subs\Show2Ep2.idx
c:\TV\Show2\subs\Show2Ep2.sub
c:\TV\Show2\subs\Show2Ep3.idx
c:\TV\Show2\subs\Show2Ep3.sub

The wiki is a bit unclear if this is possible as it says it will support them in the same folder as the video (very messy), or all in a specific folder that can be set but this seems to be a single static folder based on the example (bad file management plan, hard to maintain with additions/subtractions from library).
Is it possible though to set the path to be a relative path such that it will look in a subfolder called subs (such as above) from where it finds the video (as supported by MPC, MPC-HC, VLC, MPLAY, many others)?
If yes, what is the correct way to get it to see subtitles placed in a subfolder of the folder the videos themselves are found in?
(This post was last modified: 2012-05-28 16:09 by kelendral.)
find quote
PatK Offline
Posting Freak
Posts: 2,273
Joined: Mar 2010
Reputation: 67
Post: #2
If your subs are located within a sub folder called 'subs', they should be picked up. For the rest.. best to try it out, if you have issues get back to the forum.
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,513
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #3
any of these -> https://github.com/xbmc/xbmc/blob/master....cpp#L2240 folders will work as a subfolder next to a movie file


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote