2023-01-24, 21:52
Since the upgrade to Kodi Nexus a couple of days ago, subtitles fail to download. I tried the OpenSubtitles, SubScene and A4KSubtitles addons, all exhibit the same issue: available subtitles for the currently playing media are listed, but selecting one for download results in an error.
Via debug logging and by examining Kodi's data folder, I noticed that:
Relevant log entries:
I also tried disabling saving subtitles to a custom folder (i.e. not to
Via debug logging and by examining Kodi's data folder, I noticed that:
- subtitles are actually downloaded and extracted to the addon's data folder (e.g.
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.a4ksubtitles/temp
for A4KSubtitles)
- what fails is the final file move to the destination folder (in my case:
/storage/emulated/0/Subtitles
); however, it is unclear what causes the failure
Relevant log entries:
log:
2023-01-24 14:24:39.887 T:13966 debug <general>: CPythonInvoker(6, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.subscene/service.py): script successfully run
2023-01-24 14:24:39.887 T:13966 debug <general>: onExecutionDone(6, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.subscene/service.py)
2023-01-24 14:24:39.915 T:13829 error <general>: OnDownloadComplete - Saving of subtitle /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subscene/temp/7da1d10c-5f3a-49a0-aff0-07a926460892/Video.1234.eng.srt to /storage/emulated/0/Subtitles/Video (1234).en.srt failed
[...]
2023-01-24 14:25:30.830 T:14011 debug <general>: CPythonInvoker(8, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.a4ksubtitles/main.py): script successfully run
2023-01-24 14:25:30.839 T:14005 error <general>: OnDownloadComplete - Saving of subtitle /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.a4ksubtitles/temp/Video.(1234).eng.srt to /storage/emulated/0/Subtitles/Video (1234).en.srt failed
I also tried disabling saving subtitles to a custom folder (i.e. not to
/storage/emulated/0/Subtitles
), but that doesn't change anything.