[Solved] Subtitles not moved from temp folder - 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) +---- Forum: Subtitle Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=143) +---- Thread: [Solved] Subtitles not moved from temp folder (/showthread.php?tid=126374) |
[Solved] Subtitles not moved from temp folder - mystiqu - 2012-03-24 Hi I'm using XBMC for IOS on Apple TV2, v11.0-RC2. Since I moved from SBM share to FTP share I've had some trouble getting the subtitle add-on to work properly. I know FTP shares are considered read-only (why why why?), so I configured the add-on to use a local folder for the subtitles instead. My sub folder: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/script.xbmc.subtitles/subs The folder is configured both under Video Settings and the subtitle add-on configuration - just to be sure The download itself to the sub_tmp folder works fine, and I've verified that the subtitle file actually end up there. My problem is that when the subtitle is moved to my real subtitle folder, something happens - and the file is never moved - and no text is displayed. From the log file: Code: 12:17:44 T:134672384 DEBUG: ### [XBMC Subtitles-services.Subscene.service] - Fetching subtitles using url 'http://subscene.com/swedish/Tangled-Tangled-3D-Rapunzel/subtitle-447107-dlpath-85666/zip.zipx' with referer header 'http://subscene.com/swedish/Tangled-Tangled-3D-Rapunzel/subtitle-447107.aspx' and post parameters '__EVENTARGUMENT=&typeId=zip&__VIEWSTATE=%2FwEPDwULLTIwNzQ4MTM0OTdkGAEFEXMkbGMkYmNyJFBvc3RMaXN0D2dkPUdDJfJbAyIcFzrUmmKGlXuSZx0%3D&subtitleId=447107&filmId=85666&__EVENTTARGET=s%24lc%24bcr%24downloadLink&__PREVIOUSPAGE=z2VItJabX0fA_0Bz_zqeEkPIIbfZjSgVl-JR9gMa0h5nk--BMMlMq1WK6lo60hTdRYdlgwsXxCg89aE-PL7eLrwswmE1' Has anyone come across this issue before, and solved it? Best regards, Mikael Ok, I solved it. I found some information on the forum that xmbc is running under the 'mobile' user - why didn't I think of that before.... After changing the ownership (as this wiki post suggests, under repair settings: http://wiki.xbmc.org/index.php?title=XBMC_for_iOS_specific_FAQ#Repair_settings) for the subs folder it worked fine. chown -R mobile:mobile subs/ Thanks! =) |