1 // Inicjalizacja Strażnika Czasu 2function StartTimeGuardian() { 3 console.log("Strażnik Czasu FlixTV: Aktywowany."); 4 5 // Uruchamiamy sprawdzanie co 60 sekund 6 setInterval(function() { 7 8 // ZASADA 1: Priorytet VOD 9 // JeÅli oglÄ damy VOD i autoodtwarzanie VOD jest wÅÄ czone -> ignorujemy harmonogram Live 10 if (window.CurrentStreamType === 'vod' && window.AppAutoVodPlay === true) { 11 console.log("Strażnik: OglÄ dasz VOD (Autoplay ON). Harmonogram Live wstrzymany."); 12 return; 13 } 14 15 // ZASADA 2: Priorytet LIVE 16 // JeÅli automatyczne przeÅÄ czanie Live jest caÅkowicie wyÅÄ czone -> nic nie robimy 17 if (window.AppAutoLivePlay === false) { 18 return; 19 } 20 21 // JeÅli przeszliÅmy filtry (czyli oglÄ damy Live, albo oglÄ damy VOD ale Autoplay VOD jest OFF) 22 // -> Pytamy serwer, czy czas przeÅÄ czyÄ kanaÅ. 23 xajax_CheckScheduledSwitch(); 24 25 }, 60000); 26} 27 28// Odpalamy przy starcie 29document.addEventListener('DOMContentLoaded', StartTimeGuardian);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.