mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-22 02:58:45 -04:00
Merge pull request #66 from bhackel/feature-disable-suggested-video
Feature: Disable Suggested Video
This commit is contained in:
5
.github/workflows/buildapp.yml
vendored
5
.github/workflows/buildapp.yml
vendored
@@ -78,7 +78,10 @@ jobs:
|
||||
- name: Download iOS 16.2 SDK
|
||||
if: steps.SDK.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
svn checkout -q https://github.com/arichorn/sdks/trunk/iPhoneOS16.2.sdk
|
||||
git clone -n --depth=1 --filter=tree:0 https://github.com/arichorn/sdks/
|
||||
cd sdks
|
||||
git sparse-checkout set --no-cone iPhoneOS16.2.sdk
|
||||
git checkout
|
||||
mv *.sdk $THEOS/sdks
|
||||
env:
|
||||
THEOS: ${{ github.workspace }}/theos
|
||||
|
@@ -107,6 +107,16 @@ extern NSBundle *YTLitePlusBundle();
|
||||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"NO_SUGGESTED_VIDEO")
|
||||
titleDescription:LOC(@"NO_SUGGESTED_VIDEO_DESC")
|
||||
accessibilityIdentifier:nil
|
||||
switchOn:IsEnabled(@"noSuggestedVideo_enabled")
|
||||
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
|
||||
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"noSuggestedVideo_enabled"];
|
||||
return YES;
|
||||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_HEATWAVES")
|
||||
titleDescription:LOC(@"HIDE_HEATWAVES_DESC")
|
||||
accessibilityIdentifier:nil
|
||||
|
@@ -351,6 +351,16 @@ static BOOL IsEnabled(NSString *key) {
|
||||
}
|
||||
%end
|
||||
|
||||
// YTNoSuggestedVideo - https://github.com/bhackel/YTNoSuggestedVideo
|
||||
%hook YTMainAppVideoPlayerOverlayViewController
|
||||
- (bool)shouldShowAutonavEndscreen {
|
||||
if (IsEnabled(@"noSuggestedVideo_enabled")) {
|
||||
return false;
|
||||
}
|
||||
return %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// BigYTMiniPlayer: https://github.com/Galactic-Dev/BigYTMiniPlayer
|
||||
%group Main
|
||||
%hook YTWatchMiniBarView
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"HIDE_RIGHT_PANEL" = "إخفاء اللوحة اليمنى في وضع ملء الشاشة";
|
||||
"HIDE_RIGHT_PANEL_DESC" = "مطلوب إعادة تشغيل التطبيق";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "إخفاء موجات الحر";
|
||||
"HIDE_HEATWAVES_DESC" = "يخفي موجات الحر في مشغل الفيديو. مطلوب إعادة تشغيل التطبيق.";
|
||||
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"HIDE_RIGHT_PANEL" = "Hide the right panel in fullscreen mode";
|
||||
"HIDE_RIGHT_PANEL_DESC" = "App restart is required.";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
||||
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
||||
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"HIDE_RIGHT_PANEL" = "Ocultar el panel derecho en modo pantalla completa";
|
||||
"HIDE_RIGHT_PANEL_DESC" = "Es necesario reiniciar la aplicación.";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "Ocultar Heatwaves";
|
||||
"HIDE_HEATWAVES_DESC" = "Oculta las Heatwaves en el reproductor de vídeo. Es necesario reiniciar la aplicación.";
|
||||
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"HIDE_RIGHT_PANEL" = "Masquer le panneau de droite en mode plein écran";
|
||||
"HIDE_RIGHT_PANEL_DESC" = "Le redémarrage de l'application est requis.";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "Masquer les Heatwaves";
|
||||
"HIDE_HEATWAVES_DESC" = "Masque les Heatwaves dans le lecteur vidéo. Le redémarrage de l'application est requis.";
|
||||
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"HIDE_RIGHT_PANEL" = "フルスクリーンモードで右パネルを非表示";
|
||||
"HIDE_RIGHT_PANEL_DESC" = "アプリの再起動が必要です。";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "ヒートウェーブを非表示";
|
||||
"HIDE_HEATWAVES_DESC" = "動画プレーヤーのヒートウェーブを非表示にします。アプリの再起動が必要です。";
|
||||
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"HIDE_RIGHT_PANEL" = "Hide the right panel in fullscreen mode";
|
||||
"HIDE_RIGHT_PANEL_DESC" = "App restart is required.";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
||||
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
||||
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"HIDE_RIGHT_PANEL" = "Ascunde panoul lateral în modul ecran complet";
|
||||
"HIDE_RIGHT_PANEL_DESC" = "Este necesară repornirea aplicației.";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "Ascunde Heatwaves";
|
||||
"HIDE_HEATWAVES_DESC" = "Ascundere Heatwaves în player-ul video. Este necesară repornirea aplicației.";
|
||||
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"HIDE_RIGHT_PANEL" = "Hide the right panel in fullscreen mode";
|
||||
"HIDE_RIGHT_PANEL_DESC" = "App restart is required.";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
||||
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
||||
|
||||
|
@@ -32,6 +32,9 @@ https://github.com/PoomSmart/Return-YouTube-Dislikes/tree/main/layout/Library/Ap
|
||||
"HIDE_RIGHT_PANEL" = "Hide the right panel in fullscreen mode";
|
||||
"HIDE_RIGHT_PANEL_DESC" = "App restart is required.";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
||||
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
||||
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"HIDE_RIGHT_PANEL" = "Hide the right panel in fullscreen mode";
|
||||
"HIDE_RIGHT_PANEL_DESC" = "App restart is required.";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
||||
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
||||
|
||||
|
@@ -29,6 +29,9 @@
|
||||
"DONT_EAT_MY_CONTENT" = "Ngăn Notch/Đảo trên nội dung video 2:1 (DontEatMyContent)";
|
||||
"DONT_EAT_MY_CONTENT_DESC" = "Ngăn notch/Dynamic Island nghiền ngẫm nội dung video 2:1 trên YouTube. Khởi động lại ứng dụng là bắt buộc.";
|
||||
|
||||
"NO_SUGGESTED_VIDEO" = "Hide Suggested Video (YTNoSuggestedVideo)";
|
||||
"NO_SUGGESTED_VIDEO_DESC" = "Remove the suggested video popup when finishing a video";
|
||||
|
||||
"HIDE_HEATWAVES" = "Ẩn sóng nhiệt";
|
||||
"HIDE_HEATWAVES_DESC" = "Ẩn Sóng nhiệt trong trình phát video. Khởi động lại ứng dụng là bắt buộc.";
|
||||
|
||||
|
Reference in New Issue
Block a user