You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i would implement this as an xmlhtml stream parser, to handle all the unclosed tags
and because we dont need the html dom - we build our own "document"
The text was updated successfully, but these errors were encountered:
sami is a rarely-used subtitles format, which looks like broken html (unclosed tags)
https://en.wikipedia.org/wiki/SAMI
https://github.com/LinearAlpha/smi2ass/blob/main/smi2ass.py - hacky... fighting the html parser
https://github.com/xbmc/xbmc/blob/master/xbmc/cores/VideoPlayer/DVDSubtitles/DVDSubtitleParserSami.cpp
https://github.com/videolan/vlc/blob/master/modules/demux/subtitle.c#L1380 - static int ParseSami
i would implement this as an
xmlhtml stream parser, to handle all the unclosed tagsand because we dont need the html dom - we build our own "document"
The text was updated successfully, but these errors were encountered: