toomanynights 13 Posted June 13, 2024 Posted June 13, 2024 Hello guys, For some reason, in one specific case I can't see the external subtitles in Kodi. Interesting thing, is, the same subtitles are displayed correctly when watching through Emby interface. Tried searching for this error here, the most relevant was the case where the culprit was lack of "1" at the top and UTF-BOM instead of just UTF. Both are fine in my case. Also noticed that I had two lines overlapping in my subtitles. Removed the overlap, the issue remains. Tried rebooting, repairing the library, all the usual stuff. Nothing helped. The problem stubbornly persists. Worth mentioning that embedded subtitles from the same video work just fine - only the external ones malfunction. Would appreciate any help. Here is the part of the log I found relevant. Attaching the complete log for a good measure. 2024-06-13 12:00:48.568 Info Server: http/1.1 GET http://host1/videos/3377/34b6c4a8f08d6865a800c9cd83a9fc97/Subtitles/4/stream.srt. Connection=Upgrade, Host=host1, User-Agent=Emby for Kodi Next Gen/9.4.21, Accept-Charset=UTF-8,*, Accept-Encoding=gzip, Authorization=Emby Client=Emby for Kodi Next Gen,Device=Kodi%20%2810.1.16.104%29,DeviceId=1d89185c-ff8c-4517-a1b4-72d5dc8c07c2,Version=9.4.21,UserId=cc1937923618467b82d1188f36e1088f, Content-Type=application/json, X-Real-IP=host5, X-Forwarded-For=host5, X-Emby-Token=x_secret6_x 2024-06-13 12:00:48.571 Error App: Error getting subtitles *** Error Report *** Version: 4.8.8.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 5.10.0-28-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 6 Data path: /config Application path: /system System.InvalidOperationException: System.InvalidOperationException: Sequence contains no matching element at System.Linq.ThrowHelper.ThrowNoMatchException() at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate) at Emby.Api.Subtitles.SubtitleService.GetSubtitles(GetSubtitle request, CancellationToken cancellationToken) at Emby.Api.Subtitles.SubtitleService.Get(GetSubtitle request) Source: System.Linq TargetSite: Void ThrowNoMatchException() embyserver.txt
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 Hi @quickmic, sure. Vexed - S01E01 - Episode 1 WEBDL-1080p.ru.srt 1
quickmic 1703 Posted June 14, 2024 Posted June 14, 2024 43 minutes ago, toomanynights said: Hi @quickmic, sure. Vexed - S01E01 - Episode 1 WEBDL-1080p.ru.srt 92.48 kB · 0 downloads I run a test with your subtitle. Works fine here, but I assume it also depends on your subtitle settings on Emby. I use default
quickmic 1703 Posted June 14, 2024 Posted June 14, 2024 I forgot to mention, plugin: -> I used latest 10.X (public testing version)
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 3 minutes ago, quickmic said: I run a test with your subtitle. Works fine here, but I assume it also depends on your subtitle settings on Emby. I have the exact same settings as yours. I don't think it's Emby though. Emby "sees" this sub and I can watch with it through Emby interface. Emby for Kodi though - doesn't. As for the plugin, mine is 9.4.21.
Luke 42077 Posted June 14, 2024 Posted June 14, 2024 The error in the log suggests to me that the content was first synced to Emby for Kodi. Then the media info of the video has changed, whether that be through subtitle downloads or whatever it was, something changed and Emby for Kodi hasn't become aware of this yet and resynced. Therefore when you try to play it's playing based on the old data, and that's why it fails. So if you had just made changes to the video, then you might want to wait for the sync to occur or do that manually.
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 Hi @Luke! That actually rings a bell, since I changed the subs several times in attempt to make it work. However I did sync in all the ways I know: - restarted Emby - in Emby "TV Shows - Scan library files" - in the exact show "Scan library files" - in Kodi "Update library" - in Kodi "Repair library" Nothing seems to work. This sub is still not in Kodi.
Luke 42077 Posted June 14, 2024 Posted June 14, 2024 @quickmiccan advise on the process from the Kodi standpoint but remember that this is a syncing process. That means first Emby Server has to become aware of the change, then Emby for Kodi. If that sounds too complicated then you may want to look at the EmbyCon addon, which is just login and play, no syncing required.
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 @Luke Thanks for the advice. Actually Emby for Kodi has worked flawlessly for me until now - this is the first stubborn sub I've encountered in over a year of using it. I'm quite sure Emby is aware of the change, because it plays this episode with this sub without a problem. Usually it's enough to restart Kodi to sync all changes that occured on Emby side, but not this time round. 1
quickmic 1703 Posted June 14, 2024 Posted June 14, 2024 Can you please perform a test with latest beta 10.0.30, but NOT on your productive box. Use a PC for testing.
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 @quickmicJust tried. Unfortunately, version 10 doesn't as much as let me log in. Usually, because the "Remote (WAN)" address from Emby dashboard doesn't work for some reason, I just use the address of Emby server without port. It works even on the same machine on version 9 (I just tried that too), but version 10 won't connect when I use the same data.
quickmic 1703 Posted June 14, 2024 Posted June 14, 2024 Please use a port when you manually set the server address.
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 @quickmicIt doesn't work with the port on 9. But I tried using port now, at least "Invalid server address" error is gone, but now it just thinks for a minute and takes me back to "Select main server" pop-up.
quickmic 1703 Posted June 14, 2024 Posted June 14, 2024 (edited) please send me a Kodi debug log for review. fyi, I'm not reviewing/fixing issues in 9.X unless it's a showstopper. 10.X will become the next stable version in the next weeks, therefore 10.X needs to be used for testing... Edited June 14, 2024 by quickmic
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 Got it, thanks. Here's the log. I did attempt to sing in again after enabling debug. kodi.log
quickmic 1703 Posted June 14, 2024 Posted June 14, 2024 The address is invalid. https://42.lw.itsby.design:8920 does not exist. https://42.lw.itsby.design:443 exists, but might be behind a proxy. Looks like basic auth (from a proxy).
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 Ehh.. I'm afraid I'm out of ideas https://42.lw.itsby.design/toomanynights/emby/ is the full address of my Emby. In version 9, I just provide this in the address field and clear the port. It works.
quickmic 1703 Posted June 14, 2024 Posted June 14, 2024 use this address: "https://42.lw.itsby.design/toomanynights/" port 443
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 Nope. Looks the same as before. kodi.log
quickmic 1703 Posted June 14, 2024 Posted June 14, 2024 ? You entered port "430" 2024-06-14 12:27:25.974 T:14616 debug <general>: Emby.helper.utils: get_url_info: https / 42.lw.itsby.design / 430 it's 443
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 Noticed a typo in the port right after posting, but the forum wouldn't let me post again right away Changed it, still nothing. But now it switches me back really fast, without delay as before. kodi.log
quickmic 1703 Posted June 14, 2024 Posted June 14, 2024 btw, I'll add port 443 if you leave it empty (in next version), however, the url must be correct. (Also in 9.x) I can never work with just https://42.lw.itsby.design it must be https://42.lw.itsby.design/toomanynights/ even in 9.x
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 Yes, like I said, in 9 I provide https://42.lw.itsby.design/toomanynights/emby/ without any port. 1
quickmic 1703 Posted June 14, 2024 Posted June 14, 2024 9.x might have removed the trailing /emby/ for you. I'll also put that on my todo list for next version. However, did the login work now?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now