Open jvl711 opened 2 years ago
It looks like there may be a mix of internal SRT tracks and external SRT files...which if I recall, probably isn't supported. Get rid of the external subtitle file, rescan, and then try again to see if it works.
@Narflex
You were correct. I renamed the external .srt file and the error went away. Is there something here I could fix?
Thanks, Josh
I don't think there's an easy solution at all. You can likely make the crash less of a problem by having this catch Exception rather than IOException: https://github.com/google/sagetv/blob/master/java/sage/media/sub/SRTSubtitleHandler.java#L419
But then subtitles likely won't work with that file. I do recall this being a design decision at some point...subs had to be either external or internal for a file, not both. Although maybe for different sub formats, then they can be either external or internal possibly. I don't really remember anymore. :)
I think the important part of the log is below. There may have been a problem with the subtitle file. I think it would be a good idea to see if SageTV can handle this failure a little more cleanly.