Hello,
I am running XBMC 12.1 (Frodo) on a Raspberry PI (OpenELEC distribution), but I think the problem I report here may arise in different versions / distributions.
I have a remote video source with ~ 50 mp4 videos. This source is accessed with AFP (Apple Filing Protocol). The list opens OK, I can see all the files correctly. When I select one file for play, the "Working ..." message appears on the bottom right and sits there for a looong time. Usually more than 100 seconds (that is right: one hundred seconds). After this delay the video plays normally. This delay happens every single time a play a video.
Looking in xbmc.log, I can see that after selecting the video and before playing starts, there are HUNDREDS of calls like this:
00:29:47 T:2696078432 ERROR: GetDirectory - Failed to stat file /subtitle/cd9/avideo.mp4 (No such file or directory)
It is trying to find subtitles for the video in many different places. The culprit is CUtil::ScanForExternalSubtitles, that is called by AMLPlayer, DVDPlayer and OMXPlayer. It loops over a list of common directories looking for subtitles.
The problem is that it takes such a long time looking for something that, in my case, I know will NEVER be there. So I am wondering if it is possible to disable this behavior.
Any ideas ?
Thanks in advance,
migueletto
I am running XBMC 12.1 (Frodo) on a Raspberry PI (OpenELEC distribution), but I think the problem I report here may arise in different versions / distributions.
I have a remote video source with ~ 50 mp4 videos. This source is accessed with AFP (Apple Filing Protocol). The list opens OK, I can see all the files correctly. When I select one file for play, the "Working ..." message appears on the bottom right and sits there for a looong time. Usually more than 100 seconds (that is right: one hundred seconds). After this delay the video plays normally. This delay happens every single time a play a video.
Looking in xbmc.log, I can see that after selecting the video and before playing starts, there are HUNDREDS of calls like this:
00:29:47 T:2696078432 ERROR: GetDirectory - Failed to stat file /subtitle/cd9/avideo.mp4 (No such file or directory)
It is trying to find subtitles for the video in many different places. The culprit is CUtil::ScanForExternalSubtitles, that is called by AMLPlayer, DVDPlayer and OMXPlayer. It loops over a list of common directories looking for subtitles.
The problem is that it takes such a long time looking for something that, in my case, I know will NEVER be there. So I am wondering if it is possible to disable this behavior.
Any ideas ?
Thanks in advance,
migueletto