IB 5387 then VY 1156 at Barcelona
Bologna → Barcelona → Ljubljana
Timetable, Barcelona time
16:00IB 5387 from Bologna at the gatealso LL 5387, VY 6111
15:00VY 1156 to Ljubljana leaves the gatealso IB 5116, LL 5116
23 h apart on the timetable, overnight
VY 1156 leaves 23 h after IB 5387 arrives on the timetable: more than half a day, so not a connection we count.