TP 1037 then FR 478 at Lisbon
Barcelona → Lisbon → Edinburgh
Timetable, Lisbon time
19:05TP 1037 from Barcelona at the gate
15:40FR 478 to Edinburgh leaves the gate
20 h 35 apart on the timetable, overnight
FR 478 leaves 20 h 35 after TP 1037 arrives on the timetable: more than half a day, so not a connection we count.