Bug fix: Reject bitmap subtitles (PGS/VobSub/DVB)
Problem: When a video file contained only bitmap subtitle tracks (PGS, VobSub, DVB), the addon would extract the raw binary data and send it to DeepL, producing garbled output (86% corrupted characters like pPH).
Fix:
- Detect bitmap subtitle codecs (
hdmv_pgs_subtitle,dvd_subtitle,dvb_subtitle,xsub) before extraction find_source_subtitle()now filters out bitmap tracks and prefers text-based tracks (SRT/ASS/SSA/VTT)- Clear error message when only bitmap subtitles are available: "Bitmap subtitles cannot be translated — they contain images, not text."
- Prevents sending binary PGS data to translation APIs
Reported by: Daniel via Grand Designs UK S27E06 subtitle with PGS tracks.
Install
Download service.subtitletranslator-0.11.2.zip and install via Kodi → Add-ons → Install from zip file.