harrv 88 Posted June 14, 2018 Share Posted June 14, 2018 (edited) I really like using Emby to manage my movie and TV libraries, and to provide remote access to them. When I'm home, for various reasons, I use Kodi as my player, rather than one of the Emby apps. I use the Emby for Kodi add-on, the Embuary skin, and configure them for native/direct play over nfs to my nas. I have both Emby and Kodi configured to store subtitles alongside the video files. Emby is configured to download external srt subtitles from opensubtitles.org for movies and episodes that have neither external subtitles already, nor subtitles encoded into the video file itself. I only need/use English subtitles. All of that works beautifully most of the time. When doing direct-play in Kodi, it will use the embedded subtitle found in the video container file, or the external *.eng.srt file downloaded and saved by Emby. When I notice that subtitles are out-of-sync with the video, one of the nice ways I can solve that within Kodi is to use their mechanism for picking and downloading a new srt subtitle file from opensubtitles.org. I pick a file that I think will more closely match the video file I have, download it, and continue to play the video to test the new subtitles. It usually only takes one or two tries to find a subtitle file that is perfectly synchronized. However, Emby saves subtitle files as *.eng.srt and Kodi saves them as *.en.srt. So, after choosing and downloading an in-sync subtitle file in Kodi, I now have two subtitle files on disk--one that is in sync with the video (named *.en.srt) and one that is out-of-sync with the video (named *.eng.srt). Although Kodi saves the file using the 'en' tag, it seems to also recognize files that use the 'eng' language tag in their names. It seems to prefer the *.en.srt file if available, either because that's the naming standard it uses when it saves, or because that file is newer, I'm not sure which. I'm not sure how Emby decides which file to use as the English subtitle file when streaming, but if it picks the same one it saved, it will be the out-of-sync one. All of this would be solved though, if Emby and Kodi both used the same language tag standard. Kodi seems to be using either ISO 639-1, or the IANA Language Subtag Registry. I'm not sure which because both of those use 'en' as the code for English. Emby, on the other hand, seems to be using ISO 639-2. There are quite a few different standards for language tags. See the tags I've given this topic for some of them. The only guidance I could find when searching for preferred standards for this type of use came from W3C in this document: https://www.w3.org/International/questions/qa-lang-2or3 Their recommendation is to use the IANA Language Subtag Registry instead of ISO 639-1 or ISO 639-2. If that's the case, then I think Kodi is correct to us 'en' instead of 'eng'. Thanks so much for any help with this. I hope that Emby and Kodi can get on the same page for which language tags to use when naming srt files. Edited June 14, 2018 by harrv Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 15, 2018 Share Posted June 15, 2018 I'll move your post to the server section so it can be seen by the right people. Link to comment Share on other sites More sharing options...
harrv 88 Posted June 15, 2018 Author Share Posted June 15, 2018 I'll move your post to the server section so it can be seen by the right people. Thanks! (I agree it doesn't seem to be an Emby for Kodi plugin issue, nor an EmbyCon issue, so if that's what the focus of the Kodi forum is, my post/question/issue does fit better here.) Link to comment Share on other sites More sharing options...
Luke 36881 Posted June 21, 2018 Share Posted June 21, 2018 I suppose one easy approach is we could just switch to saving with the two-character convention. Or they could switch to three characters. Link to comment Share on other sites More sharing options...
harrv 88 Posted June 29, 2018 Author Share Posted June 29, 2018 I suppose one easy approach is we could just switch to saving with the two-character convention. Or they could switch to three characters. Yes, that is what I am hoping for. Based on the research I did, it seems IANA Language Subtag Registry is preferred, which is sometimes two characters and sometimes three, depending on the language. In that registry, English is "en". http://www.iana.org/assignments/language-subtag-registry So, based on that, Kodi seems to be doing the right thing (at least for English) and Emby is the one that should make the change. Thanks for considering/investigating. That would help resolve the headaches I mentioned. Link to comment Share on other sites More sharing options...
Luke 36881 Posted July 19, 2018 Share Posted July 19, 2018 @@heula any opinion? Link to comment Share on other sites More sharing options...
tchirou 23 Posted August 26, 2018 Share Posted August 26, 2018 Hi From experience since I have used subtitles for almost the last 30 years, the English subtitles are .en for all the apps and plugins I know. As current examples, we have subliminal (couchpotato, sickrage) and kodi which are worldwide used. Link to comment Share on other sites More sharing options...
Solution Luke 36881 Posted August 27, 2018 Solution Share Posted August 27, 2018 We will switch to the two-character convention. Thanks. 2 Link to comment Share on other sites More sharing options...
tchirou 23 Posted August 27, 2018 Share Posted August 27, 2018 Thanks ! Link to comment Share on other sites More sharing options...
tchirou 23 Posted November 16, 2018 Share Posted November 16, 2018 Hello Any news about implementing this ? Thanks Link to comment Share on other sites More sharing options...
Luke 36881 Posted November 16, 2018 Share Posted November 16, 2018 Yes please see my previous response. Thanks ! Link to comment Share on other sites More sharing options...
tchirou 23 Posted November 16, 2018 Share Posted November 16, 2018 Yes I did but the downloaded subtitles through emby are still « eng » not « en ». Have you made the change ? Because it is not working for me Link to comment Share on other sites More sharing options...
Luke 36881 Posted November 16, 2018 Share Posted November 16, 2018 Please try again with the next release of emby server. Thanks. Link to comment Share on other sites More sharing options...
tchirou 23 Posted November 16, 2018 Share Posted November 16, 2018 I will, thanks. (I am on Synology) Link to comment Share on other sites More sharing options...
Luke 36881 Posted February 22, 2019 Share Posted February 22, 2019 Hi From experience since I have used subtitles for almost the last 30 years, the English subtitles are .en for all the apps and plugins I know. As current examples, we have subliminal (couchpotato, sickrage) and kodi which are worldwide used. Addic7ed is now in the Emby plugin catalog. You'll need to configure your Addic7ed credentials in the plugin configuration. Enjoy. Link to comment Share on other sites More sharing options...
tchirou 23 Posted February 22, 2019 Share Posted February 22, 2019 Excellent Thanks Link to comment Share on other sites More sharing options...
tchirou 23 Posted February 22, 2019 Share Posted February 22, 2019 I suppose we have to wait a server update ? Or there is a channel update for plugins which doesn’t need a server update ? Because I don’t see the plugin on a Synology server. Link to comment Share on other sites More sharing options...
Luke 36881 Posted February 22, 2019 Share Posted February 22, 2019 Give it a try again later on. Link to comment Share on other sites More sharing options...
tchirou 23 Posted February 22, 2019 Share Posted February 22, 2019 Ok thanks Link to comment Share on other sites More sharing options...
tchirou 23 Posted February 23, 2019 Share Posted February 23, 2019 Hi Luke Still nothing If you can consider for the future adding subscene, it would be great Link to comment Share on other sites More sharing options...
Luke 36881 Posted February 23, 2019 Share Posted February 23, 2019 Make sure you're running the latest version of emby server. Thanks. Link to comment Share on other sites More sharing options...
tchirou 23 Posted February 23, 2019 Share Posted February 23, 2019 I have 4.0.2.0 on Synology No update in the package center yet Link to comment Share on other sites More sharing options...
Luke 36881 Posted February 23, 2019 Share Posted February 23, 2019 have you explored the entire plugin catalog? Link to comment Share on other sites More sharing options...
tchirou 23 Posted February 23, 2019 Share Posted February 23, 2019 Yep Link to comment Share on other sites More sharing options...
Luke 36881 Posted February 23, 2019 Share Posted February 23, 2019 is that the browser, or an app? Link to comment Share on other sites More sharing options...
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