From 3260d482a4c7b321de7805507853742d15df5c5f Mon Sep 17 00:00:00 2001 From: Siddharth Kamble <96260439+siddharthsky@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:44:03 -0800 Subject: [PATCH] Release v1.1.0 (#10) * Update README.md * Rename .java to .kt * Code Refactor #1 * Code Refactor #2 * Rename .java to .kt * Code Refactor #3 * Use Semvar versioning * Fix naming * Implement auto scrolling in output box * Fix EPG generation * Update LICENSE * Fix Overlay Permission issue * Fix updaters * Fix inverted colors * Fix binary getting deleted automatically * Fix reset function * Always download the binary for the first time * Fix update now messages * Fix update mechanism * Stop BinaryService correctly if binary was not found * Check server run status on MainActivity resume * Update SkySharedPref.kt Set iptvLaunchCountdown default to 4 seconds. * Fix: IPTV Redirect Timer * Update build.gradle * Fix: Duplicate channel data handling * Update: UI and TV Navigation - Fixed IPTV time selection via remote - Updated drawables - Added loading bars - Update fav. channel icon in webtv * Update WebPlayerActivity.kt * Removed permission checker * Update WebPlayerActivity.kt - fix video size fit for phones - changed formatted playID * Update redirect IPTV strings * Update output-metadata.json --------- Co-authored-by: Ankan Pal --- .idea/gradle.xml | 1 + LICENSE | 2 +- README.md | 13 + app/build.gradle | 31 +- app/release/output-metadata.json | 4 +- app/src/main/AndroidManifest.xml | 16 +- .../skylake/skytv/jgorunner/MainActivity.kt | 1610 ----------------- .../jgorunner/activities/AppListActivity.kt | 42 + .../jgorunner/activities/MainActivity.kt | 839 +++++++++ .../jgorunner/activities/WebPlayerActivity.kt | 538 ++++++ .../jgorunner/activity/AppListActivity.kt | 171 -- .../jgorunner/activity/WebPlayerActivity.java | 539 ------ .../skytv/jgorunner/core/ServerUtils.kt | 58 + .../jgorunner/core/data/JTVConfiguration.kt | 32 + .../core/data/JTVConfigurationManager.kt | 69 + .../core/execution/BinaryExecutor.kt | 224 +++ .../core/execution/ExecutionError.kt | 17 + .../core/execution/ExecutionManager.kt | 64 + .../core/update/ApplicationUpdater.kt | 157 ++ .../jgorunner/core/update/BinaryUpdater.kt | 61 + .../jgorunner/core/update/DownloadAsset.kt | 10 + .../jgorunner/core/update/DownloadProgress.kt | 6 + .../skytv/jgorunner/data/SkySharedPref.java | 85 - .../skytv/jgorunner/data/SkySharedPref.kt | 157 ++ .../skytv/jgorunner/data/UserConfigHandler.kt | 89 - .../jgorunner/receivers/BootReceiver.java | 82 - .../skytv/jgorunner/receivers/BootReceiver.kt | 76 + .../jgorunner/services/BinaryExecutor.java | 287 --- .../jgorunner/services/BinaryService.java | 171 -- .../skytv/jgorunner/services/BinaryService.kt | 208 +++ .../ui/components/BottomNavigationBar.kt | 88 + .../jgorunner/ui/components/ButtonContent.kt | 35 + .../jgorunner/ui/components/CustPopup.kt | 41 + .../jgorunner/ui/components/ProgressPopup.kt | 95 + .../jgorunner/ui/components/RedirectPopup.kt | 140 ++ .../jgorunner/ui/screens/AppListScreen.kt | 151 ++ .../{activity => ui/screens}/DebugScreen.kt | 30 +- .../skytv/jgorunner/ui/screens/HomeScreen.kt | 375 ++++ .../{activity => ui/screens}/InfoScreen.kt | 70 +- .../{activity => ui/screens}/LoginScreen.kt | 48 +- .../{activity => ui/screens}/RunnerScreen.kt | 61 +- .../screens}/SettingsScreen.kt | 466 +++-- .../skytv/jgorunner/utils/ConfigHandler.kt | 68 - .../jgorunner/utils/ConfigSyncHandler.kt | 88 - .../jgorunner/utils/RemoteBinaryFetcher.kt | 257 --- app/src/main/res/drawable/cancel_24px.xml | 7 +- .../main/res/drawable/notifications_24px.xml | 13 +- app/src/main/res/raw/majorbin | 1 - gradle/libs.versions.toml | 24 +- gradle/wrapper/gradle-wrapper.properties | 2 +- settings.gradle | 1 + 51 files changed, 3833 insertions(+), 3887 deletions(-) delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/MainActivity.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/activities/AppListActivity.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/activities/MainActivity.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/activities/WebPlayerActivity.kt delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/activity/AppListActivity.kt delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/activity/WebPlayerActivity.java create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/core/ServerUtils.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/core/data/JTVConfiguration.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/core/data/JTVConfigurationManager.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/core/execution/BinaryExecutor.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/core/execution/ExecutionError.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/core/execution/ExecutionManager.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/core/update/ApplicationUpdater.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/core/update/BinaryUpdater.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/core/update/DownloadAsset.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/core/update/DownloadProgress.kt delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/data/SkySharedPref.java create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/data/SkySharedPref.kt delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/data/UserConfigHandler.kt delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/receivers/BootReceiver.java create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/receivers/BootReceiver.kt delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/services/BinaryExecutor.java delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/services/BinaryService.java create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/services/BinaryService.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/ui/components/BottomNavigationBar.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/ui/components/ButtonContent.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/ui/components/CustPopup.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/ui/components/ProgressPopup.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/ui/components/RedirectPopup.kt create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/ui/screens/AppListScreen.kt rename app/src/main/java/com/skylake/skytv/jgorunner/{activity => ui/screens}/DebugScreen.kt (91%) create mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/ui/screens/HomeScreen.kt rename app/src/main/java/com/skylake/skytv/jgorunner/{activity => ui/screens}/InfoScreen.kt (68%) rename app/src/main/java/com/skylake/skytv/jgorunner/{activity => ui/screens}/LoginScreen.kt (89%) rename app/src/main/java/com/skylake/skytv/jgorunner/{activity => ui/screens}/RunnerScreen.kt (80%) rename app/src/main/java/com/skylake/skytv/jgorunner/{activity => ui/screens}/SettingsScreen.kt (51%) delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/utils/ConfigHandler.kt delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/utils/ConfigSyncHandler.kt delete mode 100644 app/src/main/java/com/skylake/skytv/jgorunner/utils/RemoteBinaryFetcher.kt delete mode 100644 app/src/main/res/raw/majorbin diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 0897082..7b3006b 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,6 +4,7 @@