The Salzburg-Tyrol Railway (German: Salzburg-Tiroler-Bahn) is a main line railway in Austria. It runs through the states of Salzburg and Tyrol (North Tyrol) from the city of Salzburg to Wörgl and belongs to the core network (Kernnetz) of the Austrian Federal Railways (ÖBB). The section between Salzburg and Schwarzach-Sankt Veit is part of the Salzburg S-Bahn urban railway network.
One more thing you need to consider during the Overnight hours Nightjet services from Innsbruck to Salzburg and Villach Run here usually ÖBB 1116 ÖBB 1016 rare cases ÖBB 1216. 04:15 Schwarzach to Villach Trip is SZ541 Slovenian Railways. Can be substituted by ÖBB 1216. S-bahn trains are ÖBB 4744 4746 4124 or 4758 Talent 3.