I use a subtitle editor app to eliminate doubles. it's a free app, Subtitle Edit. Takes 5 seconds to fix a subtitle file. Open Folder, select a subtitle file. Go to Tools, scroll down to Merge lines with same text. Press Ok. Save (disk icon). And you're done.