Permalink
Browse files

Fixed settings reading of basic home setting

  • Loading branch information...
RickDB committed Dec 30, 2016
1 parent 609d01b commit 8fd530583f524aa1718121072e51ee4d2ba1c2ba
@@ -4144,7 +4144,7 @@ http://jmediamanager.org/mediaportal/</Value>
<Major>3</Major>
<Minor>7</Minor>
<Build>0</Build>
<Revision>10</Revision>
<Revision>11</Revision>
</Version>
<ExtensionDescription>MyAnime is a plugin for MediaPortal that allows you to watch and manaage your anime collection.

@@ -439,14 +439,14 @@ public void Load()
FfdshowNotificationsAutoCloseTime = int.Parse(xmlreader.GetValueAsString("Anime3", "FfdshowNotificationsAutoCloseTime", "3000"));
FfdshowNotificationsLockTime = int.Parse(xmlreader.GetValueAsString("Anime3", "FfdshowNotificationsLockTime", "5000"));

ModeToggleKey = xmlreader.GetValueAsString("Anime3", "ModeToggleKey", "]");
StartTextToggleKey = xmlreader.GetValueAsString("Anime3", "StartTextToggleKey", "[");
AskBeforeStartStreamingPlayback = GetBooleanSetting(ref xmlreader, "AskBeforeStartStreamingPlayback", true);
HomeButtonNavigation = GetBooleanSetting(ref xmlreader, "HomeButtonNavigation", true);
BasicHome = xmlreader.GetValueAsBool("general", "startbasichome", false);

_subPaths = xmlreader.GetValueAsString("subtitles", "paths", @".\");
xmlreader.Dispose();
ModeToggleKey = xmlreader.GetValueAsString("Anime3", "ModeToggleKey", "]");
StartTextToggleKey = xmlreader.GetValueAsString("Anime3", "StartTextToggleKey", "[");
AskBeforeStartStreamingPlayback = GetBooleanSetting(ref xmlreader, "AskBeforeStartStreamingPlayback", true);
HomeButtonNavigation = GetBooleanSetting(ref xmlreader, "HomeButtonNavigation", true);
BasicHome = xmlreader.GetValueAsBool("gui", "startbasichome", false);

_subPaths = xmlreader.GetValueAsString("subtitles", "paths", @".\");
xmlreader.Dispose();



@@ -34,5 +34,5 @@
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("3.7.0.10")]
[assembly: AssemblyFileVersion("3.7.0.10")]
[assembly: AssemblyVersion("3.7.0.11")]
[assembly: AssemblyFileVersion("3.7.0.11")]
@@ -2446,10 +2446,11 @@ public override void OnAction(MediaPortal.GUI.Library.Action action)

// Set home window message for use later
var msgHome = new GUIMessage(GUIMessage.MessageType.GUI_MSG_GOTO_WINDOW, 0, 0, 0,
(int) GUIWindow.Window.WINDOW_SECOND_HOME, 00432100, null);
(int) GUIWindow.Window.WINDOW_HOME, 00432100, null);

if (BaseConfig.Settings.BasicHome)
msgHome = new GUIMessage(GUIMessage.MessageType.GUI_MSG_GOTO_WINDOW, 0, 0, 0,
(int) GUIWindow.Window.WINDOW_HOME, 00432100, null);
(int) GUIWindow.Window.WINDOW_SECOND_HOME, 00432100, null);

switch (action.wID)
{

0 comments on commit 8fd5305

Please sign in to comment.