FR 775 then VY 1156 at Barcelona
Torino → Barcelona → Ljubljana
Timetable, Barcelona time
20:00FR 775 from Torino at the gate
18:25VY 1156 to Ljubljana leaves the gate
22 h 25 apart on the timetable, overnight
VY 1156 leaves 22 h 25 after FR 775 arrives on the timetable: more than half a day, so not a connection we count.