BT 683 then FR 6267 at Barcelona
Riga → Barcelona → Edinburgh
Timetable, Barcelona time
13:20BT 683 from Riga at the gatealso IB 7847
12:30FR 6267 to Edinburgh leaves the gate
23 h 10 apart on the timetable, overnight
FR 6267 leaves 23 h 10 after BT 683 arrives on the timetable: more than half a day, so not a connection we count.