2020-10-09, 20:10
(2020-10-09, 19:07)AnonTester Wrote: Pls post debug log. Without it I can't do anything.
Sorry here it is: https://paste.kodi.tv/axutuqedaf.kodi
(2020-10-09, 19:07)AnonTester Wrote: Pls post debug log. Without it I can't do anything.
(2020-10-10, 01:25)AnonTester Wrote: @snyft Thanks, that helped. I think the issue is due to forward/backslash difference between Windows and Linux and copying the subtitle file from the archive to the temp folder didn't work. There isn't a specific error in the log about it, but everything seems to have worked, except the last part. I adjusted the addon to deal with the path separator properly now and sorted a deprecated function while I was at it. Please test version 1.9.4. I don't have a windows system to test myself.
(2020-10-11, 20:45)AnonTester Wrote: @snyftUsing opensubtitles addon it works fine though. All files/movies are on my local machine that runs Kodi.
Your log showed you played a movie within a RAR file and it also showed an error message creating a temp directory. Could you please try with a standalone movie. If your E-Drive is a remote storage, please ensure Kodi has write access to the drive and movie folder.
If downloading and storing subs for non-rar'ed movies works, then you might want to define a separate folder for subtitles rather than storing them next to the movie. The setting for that is "Settings -> Player -> Language -> Subtitle Storage Location -> Custom Folder and select a custom folder".
Please upload a new debug log if this fails with a 'normal' movie file as well.
(2020-10-11, 20:45)AnonTester Wrote: @snyftDebug log where subscene fails but opensubtitles work, maybe that can be somewhat helpful.
Your log showed you played a movie within a RAR file and it also showed an error message creating a temp directory. Could you please try with a standalone movie. If your E-Drive is a remote storage, please ensure Kodi has write access to the drive and movie folder.
If downloading and storing subs for non-rar'ed movies works, then you might want to define a separate folder for subtitles rather than storing them next to the movie. The setting for that is "Settings -> Player -> Language -> Subtitle Storage Location -> Custom Folder and select a custom folder".
Please upload a new debug log if this fails with a 'normal' movie file as well.
(2020-12-03, 07:12)snyft Wrote:Same here(2020-10-11, 20:45)AnonTester Wrote: @snyftDebug log where subscene fails but opensubtitles work, maybe that can be somewhat helpful.
Your log showed you played a movie within a RAR file and it also showed an error message creating a temp directory. Could you please try with a standalone movie. If your E-Drive is a remote storage, please ensure Kodi has write access to the drive and movie folder.
If downloading and storing subs for non-rar'ed movies works, then you might want to define a separate folder for subtitles rather than storing them next to the movie. The setting for that is "Settings -> Player -> Language -> Subtitle Storage Location -> Custom Folder and select a custom folder".
Please upload a new debug log if this fails with a 'normal' movie file as well.
(2020-12-21, 02:13)AnonTester Wrote: @snyft There's no actual error in your log, it downloads the subtitle from subscene, unzips it and copies the subtitle in the temp folder, but then it stops without error. I've added more debug info and made some adjustments in the hope that it may work for you now. As the addon is working fine on my system, debugging is rather tricky.Debug: https://paste.kodi.tv/nowidanafi.kodi
Please try v1.9.5 from my repo.
@trkselim Please post a debug log. https://kodi.wiki/index.php?title=Log_file Without it I know nothing about your system and what may or may not work and got nothing to look into.
2020-12-21 05:27:02.171 T:14680 DEBUG <general>: ### [__main__] 2.181304 - === Found subtitle file D:\Kodi nightly\portable_data\userdata\addon_data\service.subtitles.subscene\temp\2494f4d3-2f3c-45a2-9f41-383cd8349a01\The.Irishman.2019.1080p.BluRay.x264-TOOSHORT.srt
2020-12-21 05:27:02.173 T:9316 ERROR <general>: CGUIDialogSubtitles::OnDownloadComplete - Saving of subtitle D:\Kodi nightly\portable_data\userdata\addon_data\service.subtitles.subscene\temp\2494f4d3-2f3c-45a2-9f41-383cd8349a01\The.Irishman.2019.1080p.BluRay.x264-TOOSHORT.srt to H:\rar9\buggedsubs\The.Irishman.2019.720p.BluRay.x264-TOOSHORT.en.srt failed
(2020-12-21, 19:39)AnonTester Wrote: @snyftIt must have write access because using opensubtitles addon it works, yes the folder exist. I also tried to change the custom folder to
Looks like we're getting somewhere. The latest debug shows that the sub is downloaded, extracted and available just fine and it's handing over the path to the file back to Kodi to save it where you want it to be. That last part is failing.
This is the debug line with the full path to the extracted subtitle file which the addon hands back to Kodi:
Code:2020-12-21 05:27:02.171 T:14680 DEBUG <general>: ### [__main__] 2.181304 - === Found subtitle file D:\Kodi nightly\portable_data\userdata\addon_data\service.subtitles.subscene\temp\2494f4d3-2f3c-45a2-9f41-383cd8349a01\The.Irishman.2019.1080p.BluRay.x264-TOOSHORT.srt
This is the error message when Kodi tries to copy the sub file:
Code:2020-12-21 05:27:02.173 T:9316 ERROR <general>: CGUIDialogSubtitles::OnDownloadComplete - Saving of subtitle D:\Kodi nightly\portable_data\userdata\addon_data\service.subtitles.subscene\temp\2494f4d3-2f3c-45a2-9f41-383cd8349a01\The.Irishman.2019.1080p.BluRay.x264-TOOSHORT.srt to H:\rar9\buggedsubs\The.Irishman.2019.720p.BluRay.x264-TOOSHORT.en.srt failed
There's no detail as to why this failed though. Does Kodi have write access to that Drive and Folder and does the Folder exist?
BTW: The subtitles should still be in the temp folder as the addon temp folder gets deleted before downloading other subtitles.