Posts: 12
Joined: Jan 2015
Reputation:
0
I know that this issue has been discussed many times but I couldn't find out why it's not working for me. I'm trying to have subtitles persist once I download them (so I don't have to download them again when I want to watch another time).
In Settings I've got it set to save subtitles next to the video. The video folder is owned by 'kodi' user and when I download them I can see them appear correctly in the video folder but after a second or so the file disappears again.
When I set Custom subtitle folder in the Settings I'm getting "Cannot download subtitles" error every time I try to download any subtitles. It's not a problem with privileges - again the custom folder is owned and writable by 'kodi' user.
I'm using Raspbian and repo Kodi 17.1.
Any ideas?
Posts: 244
Joined: Jan 2005
Reputation:
7
If you see the file appear in the folder it is no issue with the addon.
Are you using any program to download your movies. Something in the line of couchtomato or similar? If that's the case, check if in that program you have some "cleanup" options that delete files not related to the movie...
Apart from that, no clue on what might be the issue.
Posts: 12
Joined: Jan 2015
Reputation:
0
2017-06-08, 12:55
(This post was last modified: 2017-06-08, 22:12 by tomique.)
This is from the log:
22:41:39.043 T:2543289264 INFO: CPythonInvoker(189, /home/kodi/.kodi/addons/service.subtitles.subscene/service.py): script successfully run
22:41:39.050 T:2915038128 DEBUG: OnDownloadComplete - Saving subtitle special://temp/somesubtitle.srt to /media/usb0/somefolder/somesubtitle.srt
22:41:39.067 T:2915038128 ERROR: Copy - Failed write to file /media/usb0/somefolder/somesubtitle.srt
22:41:39.077 T:2915038128 WARNING: OnDownloadComplete - Saving of subtitle special://temp/somesubtitle.srt to /media/usb0/somefolder/somesubtitle.srt failed. Falling back to special://temp
It doesn't tell much. I'm pretty sure it's not an permission issue, all the folders in the path are 777. It's not insufficient space either. Not sure what else could it be?
I'm not using any program to download the movies, I move them there manually.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
partial logs are useless
logs inline in the forum are banned
use pastebin
post a full log
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 36
Joined: May 2017
Reputation:
5
cizzz
Junior Member
Posts: 36
On what operation system are you on and what version?
This seems like the Android 5 and 6 permissions issue not being able to write outside the app folder.
Kodi 20.1 with Aeon Nox Silvo,
Nvidia shield Pro 9.1.1 with Android 11.
Posts: 36
Joined: May 2017
Reputation:
5
cizzz
Junior Member
Posts: 36
2017-06-10, 10:34
(This post was last modified: 2017-06-11, 09:45 by cizzz.)
I do not know if this IO for Raspberry also has this issue. Guessed you had Android 5 or higher so that I could help you.
In Android you can only write in the app's own created folders. These folders get created on internal and all external storage after the app, such as Kodi, gets installed.
Kodi 20.1 with Aeon Nox Silvo,
Nvidia shield Pro 9.1.1 with Android 11.
Posts: 12
Joined: Jan 2015
Reputation:
0
Yeah, I've tried that before, it's not permission issue - at least not for kodi user, kodi user can write to that folder nicely.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Is it left in the temp directory?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Ah well, at least you can move it manually.
I have no idea of the root of your problem though. Unless the special characters in your directory name are interfering.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)