This is a really ugly implementation for srt reading, I really need to fix this but it will do for now.