mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-22 02:38:45 -04:00
Add classic Seek Anywhere gesture
This commit is contained in:
@@ -101,6 +101,7 @@ extern NSBundle *YTLitePlusBundle();
|
|||||||
BASIC_SWITCH(LOC(@"HIDE_RIGHT_PANEL"), LOC(@"HIDE_RIGHT_PANEL_DESC"), @"hideRightPanel_enabled"),
|
BASIC_SWITCH(LOC(@"HIDE_RIGHT_PANEL"), LOC(@"HIDE_RIGHT_PANEL_DESC"), @"hideRightPanel_enabled"),
|
||||||
BASIC_SWITCH(LOC(@"NO_SUGGESTED_VIDEO"), LOC(@"NO_SUGGESTED_VIDEO_DESC"), @"noSuggestedVideo_enabled"),
|
BASIC_SWITCH(LOC(@"NO_SUGGESTED_VIDEO"), LOC(@"NO_SUGGESTED_VIDEO_DESC"), @"noSuggestedVideo_enabled"),
|
||||||
BASIC_SWITCH(LOC(@"HIDE_HEATWAVES"), LOC(@"HIDE_HEATWAVES_DESC"), @"hideHeatwaves_enabled"),
|
BASIC_SWITCH(LOC(@"HIDE_HEATWAVES"), LOC(@"HIDE_HEATWAVES_DESC"), @"hideHeatwaves_enabled"),
|
||||||
|
BASIC_SWITCH(LOC(@"SEEK_ANYWHERE"), LOC(@"SEEK_ANYWHERE_DESC"), @"seekAnywhere_enabled")
|
||||||
];
|
];
|
||||||
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"VIDEO_CONTROLS_OVERLAY_OPTIONS") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"VIDEO_CONTROLS_OVERLAY_OPTIONS") pickerSectionTitle:nil rows:rows selectedItemIndex:NSNotFound parentResponder:[self parentResponder]];
|
||||||
[settingsViewController pushViewController:picker];
|
[settingsViewController pushViewController:picker];
|
||||||
|
@@ -440,6 +440,13 @@ static NSData *cellDividerData = nil;
|
|||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
// Seek anywhere gesture - @bhackel
|
||||||
|
%hook YTColdConfig
|
||||||
|
- (BOOL)speedMasterArm2FastForwardWithoutSeekBySliding {
|
||||||
|
return IsEnabled(@"seekAnywhere_enabled") ? NO : %orig;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
// BigYTMiniPlayer: https://github.com/Galactic-Dev/BigYTMiniPlayer
|
// BigYTMiniPlayer: https://github.com/Galactic-Dev/BigYTMiniPlayer
|
||||||
%group Main
|
%group Main
|
||||||
%hook YTWatchMiniBarView
|
%hook YTWatchMiniBarView
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
"HIDE_HEATWAVES" = "إخفاء موجات الحر";
|
"HIDE_HEATWAVES" = "إخفاء موجات الحر";
|
||||||
"HIDE_HEATWAVES_DESC" = "يخفي موجات الحر في مشغل الفيديو. مطلوب إعادة تشغيل التطبيق.";
|
"HIDE_HEATWAVES_DESC" = "يخفي موجات الحر في مشغل الفيديو. مطلوب إعادة تشغيل التطبيق.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
||||||
|
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
"HIDE_HEATWAVES" = "Hitzewellen ausblenden";
|
"HIDE_HEATWAVES" = "Hitzewellen ausblenden";
|
||||||
"HIDE_HEATWAVES_DESC" = "Versteckt die Hitzewellen im Videoplayer. Ein Neustart der App ist erforderlich.";
|
"HIDE_HEATWAVES_DESC" = "Versteckt die Hitzewellen im Videoplayer. Ein Neustart der App ist erforderlich.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "Overlay-Optionen für App-Einstellungen";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "Overlay-Optionen für App-Einstellungen";
|
||||||
|
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
||||||
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
||||||
|
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
"HIDE_HEATWAVES" = "Ocultar Heatwaves";
|
"HIDE_HEATWAVES" = "Ocultar Heatwaves";
|
||||||
"HIDE_HEATWAVES_DESC" = "Oculta las Heatwaves en el reproductor de vídeo. Es necesario reiniciar la aplicación.";
|
"HIDE_HEATWAVES_DESC" = "Oculta las Heatwaves en el reproductor de vídeo. Es necesario reiniciar la aplicación.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "Opciones de superposición de los ajustes de la aplicación";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "Opciones de superposición de los ajustes de la aplicación";
|
||||||
|
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
"HIDE_HEATWAVES" = "Masquer les Heatwaves";
|
"HIDE_HEATWAVES" = "Masquer les Heatwaves";
|
||||||
"HIDE_HEATWAVES_DESC" = "Masque les Heatwaves dans le lecteur vidéo. Le redémarrage de l'application est requis.";
|
"HIDE_HEATWAVES_DESC" = "Masque les Heatwaves dans le lecteur vidéo. Le redémarrage de l'application est requis.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "Paramètres des options d'overlay de l'application";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "Paramètres des options d'overlay de l'application";
|
||||||
|
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
"HIDE_HEATWAVES" = "ヒートウェーブを非表示";
|
"HIDE_HEATWAVES" = "ヒートウェーブを非表示";
|
||||||
"HIDE_HEATWAVES_DESC" = "動画プレーヤーのヒートウェーブを非表示にします。アプリの再起動が必要です。";
|
"HIDE_HEATWAVES_DESC" = "動画プレーヤーのヒートウェーブを非表示にします。アプリの再起動が必要です。";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "アプリの設定オーバーレイの設定";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "アプリの設定オーバーレイの設定";
|
||||||
|
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
||||||
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
||||||
|
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
"HIDE_HEATWAVES" = "Ascunde Heatwaves";
|
"HIDE_HEATWAVES" = "Ascunde Heatwaves";
|
||||||
"HIDE_HEATWAVES_DESC" = "Ascundere Heatwaves în player-ul video. Este necesară repornirea aplicației.";
|
"HIDE_HEATWAVES_DESC" = "Ascundere Heatwaves în player-ul video. Este necesară repornirea aplicației.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "Opțiuni Overlay Setări Aplicație";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "Opțiuni Overlay Setări Aplicație";
|
||||||
|
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
||||||
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
||||||
|
|
||||||
|
@@ -38,6 +38,9 @@ https://github.com/PoomSmart/Return-YouTube-Dislikes/tree/main/layout/Library/Ap
|
|||||||
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
||||||
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
||||||
|
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
"HIDE_HEATWAVES" = "Hide Heatwaves";
|
||||||
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
"HIDE_HEATWAVES_DESC" = "Hides the Heatwaves in the video player. App restart is required.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "App Settings Overlay Options";
|
||||||
|
|
||||||
|
@@ -35,6 +35,9 @@
|
|||||||
"HIDE_HEATWAVES" = "Ẩn sóng nhiệt";
|
"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.";
|
"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.";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// Shorts controls overlay options
|
// Shorts controls overlay options
|
||||||
"SHORTS_CONTROLS_OVERLAY_OPTIONS" = "Tùy chọn lớp phủ điều khiển quần short";
|
"SHORTS_CONTROLS_OVERLAY_OPTIONS" = "Tùy chọn lớp phủ điều khiển quần short";
|
||||||
|
|
||||||
|
@@ -21,6 +21,9 @@
|
|||||||
"HIDE_HEATWAVES" = "隱藏熱浪";
|
"HIDE_HEATWAVES" = "隱藏熱浪";
|
||||||
"HIDE_HEATWAVES_DESC" = "在播放器中隱藏熱浪";
|
"HIDE_HEATWAVES_DESC" = "在播放器中隱藏熱浪";
|
||||||
|
|
||||||
|
"SEEK_ANYWHERE" = "Seek Anywhere Gesture";
|
||||||
|
"SEEK_ANYWHERE_DESC" = "Hold and drag on the video player to seek. You must disable YTLite - Hold to speed";
|
||||||
|
|
||||||
// App settings overlay options
|
// App settings overlay options
|
||||||
"APP_SETTINGS_OVERLAY_OPTIONS" = "應用程式設定隱藏項目";
|
"APP_SETTINGS_OVERLAY_OPTIONS" = "應用程式設定隱藏項目";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user