FR 1977 then VY 1093 at Dublin
Riga → Dublin → Barcelona
Timetable, Dublin time
20:35FR 1977 from Riga at the gate
12:50VY 1093 to Barcelona leaves the gate
16 h 15 apart on the timetable, overnight
VY 1093 leaves 16 h 15 after FR 1977 arrives on the timetable: more than half a day, so not a connection we count.