FR 776 then VY 1156 at Barcelona
Venezia → Barcelona → Ljubljana
Timetable, Barcelona time
23:30FR 776 from Venezia at the gate
18:25VY 1156 to Ljubljana leaves the gate
18 h 55 apart on the timetable, overnight
VY 1156 leaves 18 h 55 after FR 776 arrives on the timetable: more than half a day, so not a connection we count.