2018-02-06, 16:45
Autosubs service is not working for Kodi 17.6 or 18, it does not stop video playing in order to select movie subtititle, working fine with kodi 16.1 or ftmc fork
(2018-02-06, 16:45)guil70 Wrote: Autosubs service is not working for Kodi 17.6 or 18, it does not stop video playing in order to select movie subtititle, working fine with kodi 16.1 or ftmc forkI can confirm this. It's a relatively old issue. There some scattered postings about this, but it's yet to be resolved.
<key id="xxxxxx">activatewindow(subtitlesearch)</key>
(2018-02-10, 22:36)DragonFly Wrote: Nope, autosubs will never be triggerd if there's an subtitle present, embedded or external.It is not working whatever being a subtitle present or not, have to do it manually what is not a big problem, but autosubs does the process easier, it worked till 17.1, 17.3, but stopped at 17.6 and 18
However you CAN map a key to do it manually with the touch of a button on your remote:
Where xxxxx is the id of your remote button.Code:<key id="xxxxxx">activatewindow(subtitlesearch)</key>
Of course it is not the same as the automated autosub service, but it's the next best thing
(2018-02-11, 00:06)guil70 Wrote:I'm afraid you're wrong there. Autosubs DOES work, it's just Kodi that has a little flaw. Let me clarify, using Kodi 17.6 with DEFAULT settings:(2018-02-10, 22:36)DragonFly Wrote:It is not working whatever being a subtitle present or not.....
11:59:23.512 T:7272 NOTICE: VideoPlayer: Opening: smb://192.168.1.10/G/TV-Series/test/test s01e07.mkv
11:59:23.528 T:8952 DEBUG: CUtil::ScanForExternalSubtitles: Searching for subtitles...
11:59:23.529 T:8952 DEBUG: CUtil::ScanForExternalSubtitles: END (total time: 1 ms)
11:59:24.552 T:5132 DEBUG: #####[AutoSubs]##### availableLangs ''
11:59:24.552 T:5132 DEBUG: #####[AutoSubs]##### totalTime '2539.28710938'
11:59:24.563 T:5132 DEBUG: #####[AutoSubs]##### isExcluded(): Checking exclusion settings for 'smb://192.168.1.10/G/TV-Series//test/test s01e07.mkv'.
11:59:25.564 T:5132 DEBUG: #####[AutoSubs]##### Started: AutoSearching for Subs
11:59:25.564 T:7272 DEBUG: ------ Window Init (DialogSubtitles.xml) ------
11:59:44.583 T:7272 NOTICE: VideoPlayer: Opening: smb://192.168.1.10/G/TV-Series/test2/test2 s01e02.mkv
11:59:45.229 T:3680 DEBUG: CUtil::ScanForExternalSubtitles: Searching for subtitles...
11:59:45.233 T:3680 DEBUG: CUtil::ScanForExternalSubtitles: END (total time: 5 ms)
11:59:45.371 T:5132 DEBUG: #####[AutoSubs]##### movieFullPath 'smb://192.168.1.10/G/TV-Series/test2/test2 s01e02.mkv'
11:59:46.370 T:5132 DEBUG: #####[AutoSubs]##### availableLangs '['eng']'
11:59:46.370 T:5132 DEBUG: #####[AutoSubs]##### totalTime '3561.68310547'
11:59:46.381 T:5132 DEBUG: #####[AutoSubs]##### Started: Subs found or Excluded
(2018-02-11, 13:46)DragonFly Wrote:You are right, it seems it is an issue within Kodi, I guess that 17.1 was the last version that displayed the sub automatically.(2018-02-11, 00:06)guil70 Wrote:I'm afraid you're wrong there. Autosubs DOES work, it's just Kodi that has a little flaw. Let me clarify, using Kodi 17.6 with DEFAULT settings:(2018-02-10, 22:36)DragonFly Wrote:It is not working whatever being a subtitle present or not.....
Scenario 1 - Downloaded content without any embedded subs and NO external subs present
Code:11:59:23.512 T:7272 NOTICE: VideoPlayer: Opening: smb://192.168.1.10/G/TV-Series/test/test s01e07.mkv
11:59:23.528 T:8952 DEBUG: CUtil::ScanForExternalSubtitles: Searching for subtitles...
11:59:23.529 T:8952 DEBUG: CUtil::ScanForExternalSubtitles: END (total time: 1 ms)
11:59:24.552 T:5132 DEBUG: #####[AutoSubs]##### availableLangs ''
11:59:24.552 T:5132 DEBUG: #####[AutoSubs]##### totalTime '2539.28710938'
11:59:24.563 T:5132 DEBUG: #####[AutoSubs]##### isExcluded(): Checking exclusion settings for 'smb://192.168.1.10/G/TV-Series//test/test s01e07.mkv'.
11:59:25.564 T:5132 DEBUG: #####[AutoSubs]##### Started: AutoSearching for Subs
11:59:25.564 T:7272 DEBUG: ------ Window Init (DialogSubtitles.xml) ------Scenario 2 - Downloaded content with embedded subs and NO external subs present
- Video has been started
- Kodi looks for an external subtitle (ScanForExternalSubtitles) and does not find any
- AutoSubs checks the mediainfo and does not find any embedded subtitle in whatever language
- AutoSubs pauses the video and presents the 'search for subtitles windows' (Window Init (DialogSubtitles.xml))
Code:11:59:44.583 T:7272 NOTICE: VideoPlayer: Opening: smb://192.168.1.10/G/TV-Series/test2/test2 s01e02.mkv
11:59:45.229 T:3680 DEBUG: CUtil::ScanForExternalSubtitles: Searching for subtitles...
11:59:45.233 T:3680 DEBUG: CUtil::ScanForExternalSubtitles: END (total time: 5 ms)
11:59:45.371 T:5132 DEBUG: #####[AutoSubs]##### movieFullPath 'smb://192.168.1.10/G/TV-Series/test2/test2 s01e02.mkv'
11:59:46.370 T:5132 DEBUG: #####[AutoSubs]##### availableLangs '['eng']'
11:59:46.370 T:5132 DEBUG: #####[AutoSubs]##### totalTime '3561.68310547'
11:59:46.381 T:5132 DEBUG: #####[AutoSubs]##### Started: Subs found or ExcludedNow this is the issue within Kodi. Kodi ALSO detects the embedded subtitle but for some reason does not activate it, even tough it is told to by the user in its configuration. It has to be acativated manually. Older versions of Kodi did not have this issue and displayed the sub automatically. The reason you might think AutoSubs is not working is because you're probably not aware your content has embedded subtitles. Use https://mediaarea.net/nl/MediaInfo to find that out for yourself.
- Video has been started
- Kodi looks for an external subtitle (ScanForExternalSubtitles) and does not find any
- AutoSubs checks the mediainfo and finds embedded subtitle in English
- AutoSubs stops any further action because a subtitle has been found (Subs found or Excluded)
(2018-02-11, 16:21)guil70 Wrote:Did you raise this on the issuetracker? I couldn't seem to find anything related.(2018-02-11, 13:46)DragonFly Wrote:You are right, it seems it is an issue within Kodi, I guess that 17.1 was the last version that displayed the sub automatically.(2018-02-11, 00:06)guil70 Wrote: It is not working whatever being a subtitle present or not.....I'm afraid you're wrong there. Autosubs DOES work, it's just Kodi that has a little flaw. Let me clarify, using Kodi 17.6 with DEFAULT settings:
Scenario 1 - Downloaded content without any embedded subs and NO external subs present
Code:11:59:23.512 T:7272 NOTICE: VideoPlayer: Opening: smb://192.168.1.10/G/TV-Series/test/test s01e07.mkv
11:59:23.528 T:8952 DEBUG: CUtil::ScanForExternalSubtitles: Searching for subtitles...
11:59:23.529 T:8952 DEBUG: CUtil::ScanForExternalSubtitles: END (total time: 1 ms)
11:59:24.552 T:5132 DEBUG: #####[AutoSubs]##### availableLangs ''
11:59:24.552 T:5132 DEBUG: #####[AutoSubs]##### totalTime '2539.28710938'
11:59:24.563 T:5132 DEBUG: #####[AutoSubs]##### isExcluded(): Checking exclusion settings for 'smb://192.168.1.10/G/TV-Series//test/test s01e07.mkv'.
11:59:25.564 T:5132 DEBUG: #####[AutoSubs]##### Started: AutoSearching for Subs
11:59:25.564 T:7272 DEBUG: ------ Window Init (DialogSubtitles.xml) ------Scenario 2 - Downloaded content with embedded subs and NO external subs present
- Video has been started
- Kodi looks for an external subtitle (ScanForExternalSubtitles) and does not find any
- AutoSubs checks the mediainfo and does not find any embedded subtitle in whatever language
- AutoSubs pauses the video and presents the 'search for subtitles windows' (Window Init (DialogSubtitles.xml))
Code:11:59:44.583 T:7272 NOTICE: VideoPlayer: Opening: smb://192.168.1.10/G/TV-Series/test2/test2 s01e02.mkv
11:59:45.229 T:3680 DEBUG: CUtil::ScanForExternalSubtitles: Searching for subtitles...
11:59:45.233 T:3680 DEBUG: CUtil::ScanForExternalSubtitles: END (total time: 5 ms)
11:59:45.371 T:5132 DEBUG: #####[AutoSubs]##### movieFullPath 'smb://192.168.1.10/G/TV-Series/test2/test2 s01e02.mkv'
11:59:46.370 T:5132 DEBUG: #####[AutoSubs]##### availableLangs '['eng']'
11:59:46.370 T:5132 DEBUG: #####[AutoSubs]##### totalTime '3561.68310547'
11:59:46.381 T:5132 DEBUG: #####[AutoSubs]##### Started: Subs found or ExcludedNow this is the issue within Kodi. Kodi ALSO detects the embedded subtitle but for some reason does not activate it, even tough it is told to by the user in its configuration. It has to be acativated manually. Older versions of Kodi did not have this issue and displayed the sub automatically. The reason you might think AutoSubs is not working is because you're probably not aware your content has embedded subtitles. Use https://mediaarea.net/nl/MediaInfo to find that out for yourself.
- Video has been started
- Kodi looks for an external subtitle (ScanForExternalSubtitles) and does not find any
- AutoSubs checks the mediainfo and finds embedded subtitle in English
- AutoSubs stops any further action because a subtitle has been found (Subs found or Excluded)