DY 5511 then VY 1156 at Barcelona
Copenhagen → Barcelona → Ljubljana
Timetable, Barcelona time
22:45DY 5511 from Copenhagen at the gate
15:00VY 1156 to Ljubljana leaves the gate
16 h 15 apart on the timetable, overnight
VY 1156 leaves 16 h 15 after DY 5511 arrives on the timetable: more than half a day, so not a connection we count.