From e662b4d9d960d09626248c7772d22f5c9fef82fd Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 5 Mar 2022 14:02:57 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 28 ++++++++++++++-------------- gradient.php | 2 +- scripts/lib/shield.php | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 0f0e4f3..84d19f4 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,12 +2,9 @@ - - - - - + + diff --git a/gradient.php b/gradient.php index 268913c..df7eb0a 100644 --- a/gradient.php +++ b/gradient.php @@ -40,7 +40,7 @@ } else if (data.type === 'youtube') { css.backgroundImage = 'none'; //videoURL = data.data.video_path; - videoURL = data.data.video_path.replace('/nas/', 'file:///Z:/'); + videoURL = data.data.video_path.replace('/nas/', 'file:///N:/'); //videoURL = videoURL.replace('file:///Z:/Videos/YoutubeDL', 'file:///D:/YoutubeDL'); startVideo = 1; if (data.data.start) { diff --git a/scripts/lib/shield.php b/scripts/lib/shield.php index 4da1838..5f239af 100644 --- a/scripts/lib/shield.php +++ b/scripts/lib/shield.php @@ -138,7 +138,7 @@ function shieldNetflix($id = null, $device = null) } shieldCommand('shell am start', ' -c android.intent.category.LEANBACK_LAUNCHER -a android.intent.action.VIEW -f 0x10808000 -e source 30 -d ' . $url . ' com.netflix.ninja/.MainActivity', $device); if ($id === 'home') { - sleep(6); + sleep(8); shieldKey(['ok', 'down'], $device); } else { sleep(1); -- 2.39.5