alexballas / go2tv

Cast media files to UPnP/DLNA Media Renderers and Smart TVs.
MIT License
468 stars 45 forks source link

Add subtitle file failed #61

Closed 20NE closed 1 year ago

20NE commented 1 year ago

There is option "-s" to add subtitles file in CLI mode, but doesn't work. I tried:

All failed. It seems DLNA doesn't support subtitle.

alexballas commented 1 year ago

Hello, I tested it and it works fine on my TV. What device are you using? (model name etc) Maybe this is a limitation with your TV / Device since not all devices support DLNA subtitles.

20NE commented 1 year ago

Xiaomi TV, I haven't tried on any other device yet

alexballas commented 1 year ago

Unfortunately this looks like a Xiaomi specific issue. Go2TV uses UPNP/DLNA to communicate and cast media to the devices. Subtitles support is not part of UPNP specification. There are some vendors however that introduced some proprietary extensions to the protocol to support subtitles like Samsung and Panasonic but this is not the case for every TV out there.

It would be good if you could test it with a different device. I personally tested it on Samsung and LG TVs and the subtitles work fine.