forked from anxdpanic/plugin.video.youtube
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request anxdpanic#519 from MoojMidge/master
v7.0.2.2
- Loading branch information
Showing
5 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
From cb73ff623ea6474ccc4ec1d5bd7e8653d90cd1aa Mon Sep 17 00:00:00 2001 | ||
From: anxdpanic <[email protected]> | ||
Date: Fri, 7 Feb 2020 16:44:38 -0500 | ||
Subject: [PATCH] unofficial patch | ||
|
||
--- | ||
addon.xml | 1 + | ||
.../kodion/abstract_provider.py | 21 ++- | ||
.../kodion/constants/const_settings.py | 4 + | ||
|
@@ -22,10 +16,10 @@ Subject: [PATCH] unofficial patch | |
create mode 100644 resources/lib/youtube_plugin/kodion/utils/view_manager.py | ||
|
||
diff --git a/addon.xml b/addon.xml | ||
index 44bece4a..41282ace 100644 | ||
index 57d0b3c6..13eba70c 100644 | ||
--- a/addon.xml | ||
+++ b/addon.xml | ||
@@ -105,3 +105,4 @@ | ||
@@ -107,3 +107,4 @@ | ||
<disclaimer lang="zh_TW">此附加元件未由Google支持</disclaimer> | ||
</extension> | ||
</addon> | ||
|
@@ -106,15 +100,15 @@ index 7ed3feff..46eabf26 100644 | |
raise NotImplementedError() | ||
|
||
diff --git a/resources/lib/youtube_plugin/kodion/impl/abstract_settings.py b/resources/lib/youtube_plugin/kodion/impl/abstract_settings.py | ||
index 47ec7ed2..a07a260d 100644 | ||
index 47ec7ed2..4a314d65 100644 | ||
--- a/resources/lib/youtube_plugin/kodion/impl/abstract_settings.py | ||
+++ b/resources/lib/youtube_plugin/kodion/impl/abstract_settings.py | ||
@@ -90,6 +90,9 @@ class AbstractSettings(object): | ||
def is_setup_wizard_enabled(self): | ||
return self.get_bool(SETTINGS.SETUP_WIZARD, False) | ||
|
||
+ def is_override_view_enabled(self): | ||
+ return self.get_bool(constants.setting.VIEW_OVERRIDE, False) | ||
+ return self.get_bool(SETTINGS.VIEW_OVERRIDE, False) | ||
+ | ||
def is_support_alternative_player_enabled(self): | ||
return self.get_bool(SETTINGS.SUPPORT_ALTERNATIVE_PLAYER, False) | ||
|
@@ -619,6 +613,3 @@ index 70429df9..65206514 100644 | |
<setting id="youtube.language" type="string" label="30523" help=""> | ||
<level>0</level> | ||
<default>en-US</default> | ||
-- | ||
2.40.0.windows.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters