FR 3194 then LA 5792 at Barcelona
Riga → Barcelona → Venezia
Timetable, Barcelona time
23:45FR 3194 from Riga at the gate
19:40LA 5792 to Venezia leaves the gate
19 h 55 apart on the timetable, overnight
LA 5792 leaves 19 h 55 after FR 3194 arrives on the timetable: more than half a day, so not a connection we count.