huykhoi 1 Posted October 12 Posted October 12 Hi everyone, I’ve built a subtitle provider plugin for Emby Server and I’m looking for beta testers before I request inclusion in the official plugin catalog. What it does Many videos only come with subtitles in one language, usually English. This plugin adds a new subtitle source called subtitle.ifim. When Emby looks for a subtitle in a language your video doesn’t have, the plugin: takes a text subtitle the video already has (an external .srt/.ass/.vtt file or an embedded text track in MKV), sends it to the subtitle.ifim.shop API to be translated into the language Emby asked for, returns the result to Emby, which saves it next to the video (e.g. Movie.vi.srt). Because it translates the video’s own subtitle, the timing always matches the video. Features Works with Emby’s normal subtitle flow: the automatic download for new media, the Download missing subtitles scheduled task, or a manual search in Edit subtitles 20+ target languages, including Vietnamese, English, Chinese (Simplified/Traditional), Japanese, Korean, Thai, Indonesian, Spanish, French, German and more Converts embedded text tracks and ASS/VTT to SRT automatically, and detects legacy encodings (Windows-1252, GBK, Big5…) Optional bilingual mode (original line + translation) Translates one file at a time, so a full library scan won’t flood the server Requirements Emby Server 4.8 or newer A free API key from https://subtitle.ifim.shop/account/api (includes a free daily allowance of 300,000 characters, which is roughly 4–5 movies a day) Installation Download the attached Emby.SubtitleIfim.dll. Copy it into your Emby plugins folder: Windows: %AppData%\Emby-Server\programdata\plugins Linux: /var/lib/emby/plugins Docker: /config/plugins Restart Emby Server. Go to Dashboard → Plugins → subtitle.ifim, paste your API key, click Test API key, then Save. Go to Library → edit a library → Subtitle downloads, then tick subtitle.ifim and the languages you want. Privacy To translate, the plugin sends the subtitle text and the video title (e.g. “Movie Name (2020)” or “Show S01E02”) to subtitle.ifim.shop. No video or audio files, library data or viewing history are sent. Known limitations Image-based subtitles (PGS/VobSub) can’t be translated yet, because they need OCR first. If a video has no subtitle at all, the plugin returns no result. These are machine translations, so quality is good but not equal to a human translation. What I’d love feedback on Does installation and configuration work on your setup (Windows / Linux / Docker / NAS)? Any errors in the Emby log (search for subtitle.ifim)? How is the translation quality for your language? Do you have unusual subtitle files (odd encodings, ASS with heavy styling) that fail? Source code: https://github.com/khoidanghuy-cloud/emby.subtitle.ifim Thanks for testing! Any bug reports or suggestions are welcome. Emby.SubtitleIfim.dll 1
Solution huykhoi 1 Posted October 13 Author Solution Posted October 13 Easily watch guideline video at:
jozzyinc 0 Posted Saturday at 07:31 AM Posted Saturday at 07:31 AM First of all, I would like to say a big thank you to the team for developing this plugin. After trying many different solutions over a long period of time, I finally feel that I have found a subtitle translation service that delivers the quality and results I was looking for. I'm genuinely very enthusiastic about your work! There is just one issue I would like to report regarding the Emby plugin. External subtitles (.srt) work perfectly, and the translation to Dutch is excellent. However, when I try to translate subtitles that are embedded directly inside an MKV video file, Emby returns an HTTP 500 error. After some testing, I was able to narrow down the problem: Translating an external English SRT file works perfectly. Translating an English subtitle extracted from an MKV file and saved as an external SRT also works perfectly. Translating the same subtitle directly from inside the MKV file fails. This makes me suspect that the problem occurs when the plugin tries to read or extract embedded subtitles through Emby's subtitle processing system. My setup: Emby Server 4.10.2.0 Asustor NAS (ARM64) iFim Emby plugin 1.0.11.0 Could you please investigate whether this is something that can be fixed in the plugin, or whether there is a workaround for translating embedded subtitles directly? Thank you again for your excellent work. I really hope this last issue can be resolved, because your plugin is exactly what I have been looking for!
huykhoi 1 Posted Monday at 01:06 AM Author Posted Monday at 01:06 AM (edited) Thank you so much for your feedback. Our team will investigate right after back to work. Khoi, WhatsApp / telegram +84985282915 or via email iohk12a3@outlook.com Edited Monday at 01:06 AM by huykhoi contact added
huykhoi 1 Posted Monday at 01:17 AM Author Posted Monday at 01:17 AM (edited) Thanks a lot for the detailed report, it pointed us straight to the cause. Version 1.0.12 fixes it: download the new Emby.SubtitleIfim.dll from https://subtitle.ifim.shop/account/api/emby , replace the old file in Emby's plugins folder and restart Emby. Embedded MKV subtitles can then be translated directly. Please let us know if anything still fails! We also update latest version in this attached file. Emby.SubtitleIfim.dll Edited Monday at 01:19 AM by huykhoi
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