Kodi Community Forum

Full Version: Loading local subs problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi all
I use the latest version of kodi on a z alpha formuler
It's been 4-5 days i try to load local subs stored on my computer
the .txt file has the same name of the movie file (mkv)

Ex
movie.mkv
movie.srt
i also tried
movie.french.srt and movie.french.forced.srt
each time i can't find the txt file in the location of the movie but kodi detect it as unknown but is unable to load and read them

i tried all subtitles option it worked but couldn't find the subs in french for the movie i watched...
Many thanks in advance for your kind help
Regards
Marsu
76 views no answer my bad :-(
I have another problem
allsubtitles account created and activated kodi find subs but fails to download them...
Thanks for your help
is there anybody in here ?
I use Opensubtitles, and once set up it has worked perfectly. I also name my subtitles as follows, folder name = "Movie Name", in that folder you have, movie file = "Movie Name", and subtitle name = "Movie Name".language.srt.
Never had any issues with subtitles when doing it this way.
(2021-03-31, 08:54)Filmbuff Wrote: [ -> ]I use Opensubtitles, and once set up it has worked perfectly. I also name my subtitles as follows, folder name = "Movie Name", in that folder you have, movie file = "Movie Name", and subtitle name = "Movie Name".language.srt.
Never had any issues with subtitles when doing it this way.

unfortunately i does not work
:-(
May i desinstall reinstall the app?
So

I checked opensubtitles setings ok but kodi f..er can't download them
I retried tagging like this movie name.mkv, movie name.French.srt folder name = movie name : i does not work
I tried custom subs directory : kodi can't see .srt files tagged as said above (movie name.French.srt) = it failed

So if someone couldgive a hand it will be very appreciated ;-)
Kodi needs to have write access to your video folder by default in order to create the .srt files.
If that is a network location, double-check its access privileges.
If your media files are on a local attached drive, then Android is probably being a nuisance.
Do you have a single folder assigned for subtitle files?
(2021-04-02, 17:51)Klojum Wrote: [ -> ]Kodi needs to have write access to your video folder by default in order to create the .srt files.
If that is a network location, double-check its access privileges.
If your media files are on a local attached drive, then Android is probably being a nuisance.
Do you have a single folder assigned for subtitle files?
Hi and many thanks for your helpfiles
I checked network settings :
Access granted for everybody (play|delete files

I eraed and reinstalled kodi i got same trouble
downloading subtitles : it fails everytime
I can't see the srt file in the movie folder that's quite strange...
I miss something i think
To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum
(2021-04-04, 20:50)Klojum Wrote: [ -> ]To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum

https://paste.kodi.tv/xeyaqaruwa

here it is ;-)
Thanks for your concern
I cannot find any action of you downloading a subtitle for a video in your log file.
Also restart Kodi when enabling debugging so that debugging start from the beginning.
(2021-04-04, 22:46)Klojum Wrote: [ -> ]I cannot find any action of you downloading a subtitle for a video in your log file.
Also restart Kodi when enabling debugging so that debugging start from the beginning.

Ok sorry so i launched 2 movies and tried downloading subs several times then launched the log add on
https://paste.kodi.tv/fokuxibube
Code:
2021-04-05 08:33:36.189 T:7750 DEBUG <general>: StartScript - calling plugin OpenSubtitles.org('plugin://service.subtitles.opensubtitles/','3','?action=download&link=http://dl.opensubtitles.org/en/download/src-api/vrf-f5780bc7/sid-WZ9HVypS2nNpOG704w10MxhDRZa/subad/7287886&ID=1955866395&filename=Star.Wars.The.Last.Jedi.2017.iNTERNAL.1080p.BluRay.x264-SPRiNTER.Fr.srt&format=srt','resume:false')
2021-04-05 08:33:36.190 T:7787 DEBUG <general>: Thread LanguageInvoker start, auto delete: false
2021-04-05 08:33:36.191 T:7787 INFO <general>: initializing python engine.
...
2021-04-05 08:33:36.327 T:7787 DEBUG <general>: CPythonInvoker(5, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.opensubtitles/service.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.opensubtitles
2021-04-05 08:33:36.328 T:7787 DEBUG <general>: CPythonInvoker(5, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.opensubtitles/service.py): instantiating addon using automatically obtained id of "service.subtitles.opensubtitles" dependent on version 3.0.0 of the xbmc.python api
2021-04-05 08:33:37.032 T:7787 DEBUG <CAddonSettings[service.subtitles.opensubtitles]>: trying to load setting definitions from old format...
2021-04-05 08:33:37.351 T:7787 DEBUG <general>: ### [resources.lib.OSUtilities] - Download Using XMLRPC
2021-04-05 08:33:37.355 T:7787 INFO <general>: CPythonInvoker(5, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.opensubtitles/service.py): script successfully run
2021-04-05 08:33:37.355 T:7787 DEBUG <general>: onExecutionDone(5, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.opensubtitles/service.py)

2021-04-05 08:33:37.373 T:7750 ERROR <general>: CUPnPDirectory::GetResource - unable to find object 15_fda2c73d_17a8c270/0_MTVfYWJjY2M3NDYtNTczNTM.fr.srt
2021-04-05 08:33:37.374 T:7750 ERROR <general>: OnDownloadComplete - Saving of subtitle /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.opensubtitles/temp/9bd7f6b3-cfce-47fb-8b36-37eff60c136d.srt to upnp://23a972f1-0822-4b8b-bb71-2618d3fb4a38/15_fda2c73d_17a8c270/0_MTVfYWJjY2M3NDYtNTczNTM.fr.srt failed

Apparently this is a subtitle download and UPnP sources... I have no experience with such a combination. I could imagine that some UPnP and/or Android locations are read-only?
Someone else or one of the devs will have to dive into this challenge.
(2021-04-05, 09:28)Klojum Wrote: [ -> ]
Code:
2021-04-05 08:33:36.189 T:7750 DEBUG <general>: StartScript - calling plugin OpenSubtitles.org('plugin://service.subtitles.opensubtitles/','3','?action=download&link=http://dl.opensubtitles.org/en/download/src-api/vrf-f5780bc7/sid-WZ9HVypS2nNpOG704w10MxhDRZa/subad/7287886&ID=1955866395&filename=Star.Wars.The.Last.Jedi.2017.iNTERNAL.1080p.BluRay.x264-SPRiNTER.Fr.srt&format=srt','resume:false')
2021-04-05 08:33:36.190 T:7787 DEBUG <general>: Thread LanguageInvoker start, auto delete: false
2021-04-05 08:33:36.191 T:7787 INFO <general>: initializing python engine.
...
2021-04-05 08:33:36.327 T:7787 DEBUG <general>: CPythonInvoker(5, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.opensubtitles/service.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.opensubtitles
2021-04-05 08:33:36.328 T:7787 DEBUG <general>: CPythonInvoker(5, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.opensubtitles/service.py): instantiating addon using automatically obtained id of "service.subtitles.opensubtitles" dependent on version 3.0.0 of the xbmc.python api
2021-04-05 08:33:37.032 T:7787 DEBUG <CAddonSettings[service.subtitles.opensubtitles]>: trying to load setting definitions from old format...
2021-04-05 08:33:37.351 T:7787 DEBUG <general>: ### [resources.lib.OSUtilities] - Download Using XMLRPC
2021-04-05 08:33:37.355 T:7787 INFO <general>: CPythonInvoker(5, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.opensubtitles/service.py): script successfully run
2021-04-05 08:33:37.355 T:7787 DEBUG <general>: onExecutionDone(5, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.opensubtitles/service.py)

2021-04-05 08:33:37.373 T:7750 ERROR <general>: CUPnPDirectory::GetResource - unable to find object 15_fda2c73d_17a8c270/0_MTVfYWJjY2M3NDYtNTczNTM.fr.srt
2021-04-05 08:33:37.374 T:7750 ERROR <general>: OnDownloadComplete - Saving of subtitle /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.opensubtitles/temp/9bd7f6b3-cfce-47fb-8b36-37eff60c136d.srt to upnp://23a972f1-0822-4b8b-bb71-2618d3fb4a38/15_fda2c73d_17a8c270/0_MTVfYWJjY2M3NDYtNTczNTM.fr.srt failed

Apparently this is a subtitle download and UPnP sources... I have no experience with such a combination. I could imagine that some UPnP and/or Android locations are read-only?
Someone else or one of the devs will have to dive into this challenge.

Hi Klojum
I think you discovered that i'm not an alien ;-)
Pages: 1 2