Problem loading SRT subtitles

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mattis Offline
Junior Member
Posts: 2
Joined: Dec 2011
Reputation: 0
Post: #1
Description:

[INDENT]I am having issues with subtitles. Any SRT subtitle downloaded through the subtitle plugin does not display.[/INDENT]

Setup:
  • ATV2
  • iOS 4.4.3
  • XBMC latest nightly (xbmc-20111210-f1ae0b6-master-atv2.deb)

Failing scenario:

Quote:Given movie-a.mkv
and subtitles are enabled
and a movie-a.srt subtitle is downloaded through the subtitle plugin
and the subtitle shows up in the "Audio - Settings" dialogue
and the subtitle file is located in /private/var/mobile/Library/Preferences/XBMC/userdata/addon_data/script.xbmc.subtitles/sub_tmp/
when I press play
then no subtitle is shown
and there is an error in the log, shown below.

Code:
22:21:34 T:160190464  NOTICE: ['movie-a.srt', 'undertexter.zip']
22:21:34 T:116072448  NOTICE: Opening Subtitle stream: 0 source: 1024
22:21:34 T:116072448 WARNING: FillBuffer: curl failed with code 78
22:21:34 T:116072448   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
22:21:34 T:116072448   ERROR: OpenStream - Unable to create subtitle parser
22:21:34 T:116072448 WARNING: OpenSubtitleStream - Unsupported stream 0. Stream disabled.
22:21:34 T:805216256   ERROR: ClearBlock: Trying to clear non existent block /var/mobile/Library/Preferences/XBMC/addons/script.xbmc.subtitles

Success scenario:

Quote:Given movie-a.mkv
and subtitles are enabled
and a movie-a.srt subtitle is located in the same directory as the movie
when I press play
then the subtitles are shown
find quote
samukas Offline
Member
Posts: 82
Joined: Aug 2010
Reputation: 0
Post: #2
Yup, this happened to me as well. What I think I did was:

- Create a new folder ("/private/var/mobile/XBMC_Subtitles"), or something like that;
- Reset the permitions of that folder to the user 'mobile' (using the chown command).
- Set in the XBMC Subtitles Plugin Settings to download the subtitles to that folder you created in step 1;
- Set in the global XBMC Subtitles preferences to look for subtitles in that folder as well.

Someone might be able to help you better with details as I am away from my setup, but this solved my problems
find quote
mattis Offline
Junior Member
Posts: 2
Joined: Dec 2011
Reputation: 0
Post: #3
samukas:

Thank you, that did the trick. I think the problem could be that I have my files located on a FTP share.
find quote
samukas Offline
Member
Posts: 82
Joined: Aug 2010
Reputation: 0
Post: #4
No worries Smile Yep, I also have my files on a FTP share, so that could be related.
find quote
doc.horn Offline
Junior Member
Posts: 10
Joined: Feb 2009
Reputation: 0
Post: #5
Thanks a lot!
find quote
virrepirre Offline
Junior Member
Posts: 1
Joined: Feb 2012
Reputation: 0
Post: #6
How exactly do you do this

"Reset the permitions of that folder to the user 'mobile' (using the chown command)."
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 12,566
Joined: Jan 2011
Reputation: 138
Location: Arizona, USA
Post: #7
virrepirre Wrote:How exactly do you do this

"Reset the permitions of that folder to the user 'mobile' (using the chown command)."

It's in the FAQ.. the one that is linked in the "Read me 1st before posting" post.

http://wiki.xbmc.org/index.php?title=XBM...r_settings
find quote