Skip to content

Commit

Permalink
Merge pull request #310 from MediaPortal/MP1.34.Pre-Bump_version_numb…
Browse files Browse the repository at this point in the history
…er_and_set_INFO_level_to_DEBUG

MP1.34.Pre: Bump version number and set INFO level to DEBUG
  • Loading branch information
andrewjswan committed May 12, 2024
2 parents 33d1d00 + d9df60a commit b87b2a7
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Common-MP-TVE3/SolutionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.33.000.0")]
[assembly: AssemblyFileVersion("1.33.000.0")]
[assembly: AssemblyVersion("1.33.100.0")]
[assembly: AssemblyFileVersion("1.33.100.0")]

//[assembly: AssemblyInformationalVersion("")]
//[assembly: CompatibleVersion("1.1.8.*", "1.1.8.*")]
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

!define VER_MAJOR 1
!define VER_MINOR 33
!define VER_REVISION 000
!define VER_REVISION 100

#**********************************************************************************************************#

Expand Down
8 changes: 4 additions & 4 deletions Tools/MediaPortal.DeployTool/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,8 @@ public static Version GetPackageVersion(string type)
break;
case "max":
major = 1;
minor = 32;
revision = 100;
minor = 33;
revision = 000;
break;
}
Version ver = new Version(major, minor, revision);
Expand All @@ -803,7 +803,7 @@ public static Version GetCurrentPackageVersion()
{
int major = 1;
int minor = 33;
int revision = 000;
int revision = 100;

Version ver = new Version(major, minor, revision);
return ver;
Expand Down Expand Up @@ -853,7 +853,7 @@ public static Version VersionFromRegistry(string regkey)

public static string GetDisplayVersion()
{
return "1.33 Springtime / 20th Anniversary";
return "1.34 Pre Release";
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3399,7 +3399,7 @@ public bool IsChannelMappedToCard(Channel dbChannel, Card card, bool forEpg)
/// </summary>
public void SetLogLevel()
{
var logLevel = (LogLevel)int.Parse(GetSetting("loglevel", "4").Value); // debug is "5", info is "4"
var logLevel = (LogLevel)int.Parse(GetSetting("loglevel", "5").Value); // debug is "5", info is "4"
Log.SetLogLevel(logLevel);
}
}
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.33.Final.{build}
version: 1.34.Pre.Release.{build}
image: Visual Studio 2019
clone_folder: c:\project\mediaportal
environment:
Expand Down
2 changes: 1 addition & 1 deletion mediaportal/Configuration/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<loadFromRemoteSources enabled="true" />
</runtime>
<appSettings>
<add key="version" value="1.33-Springtime / 20th Anniversary" />
<add key="version" value="1.34-Pre Release" />
</appSettings>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0.30319" />
Expand Down
2 changes: 1 addition & 1 deletion mediaportal/Configuration/Sections/General.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public General(string name)
InitializeComponent();
}

private string loglevel = "2"; // 1= error, 2 = info, 3 = debug
private string loglevel = "3"; // 1= error, 2 = info, 3 = debug

/// <summary>
/// Erforderliche Designervariable.
Expand Down
2 changes: 1 addition & 1 deletion mediaportal/MediaPortal.Application/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<loadFromRemoteSources enabled="true" />
</runtime>
<appSettings>
<add key="version" value="1.33-Springtime / 20th Anniversary" />
<add key="version" value="1.34-Pre Release" />
<add key="edtftp.log.level" value="ALL" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
Expand Down
2 changes: 1 addition & 1 deletion mediaportal/Utils/ServiceImplementations/LogImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public LogImpl()
//BackupLogFiles();
using (Settings xmlreader = new MPSettings())
{
_minLevel = (Level)Enum.Parse(typeof (Level), xmlreader.GetValueAsString("general", "loglevel", "2")); // set loglevel to 2:info 3:debug
_minLevel = (Level)Enum.Parse(typeof (Level), xmlreader.GetValueAsString("general", "loglevel", "3")); // set loglevel to 2:info 3:debug
}
bConfiguration = false;
}
Expand Down

0 comments on commit b87b2a7

Please sign in to comment.