Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MP1-1.33: Final #279

Merged
merged 48 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
65ceda4
MP1-5185: NSIS: Remove VC++ 2008 check for x64 architecture
Feb 3, 2024
2460a1b
MP1-5185: NSIS: Add missing /REBOOTOK option for DELETE command on fi…
Feb 3, 2024
de4d46c
MP1-5185: NSIS: Add missing "MediaPortal TV Server / Client (x64)" ma…
Feb 4, 2024
65a744c
MP1-5185: MPE: Update extension list url
Feb 6, 2024
aebc620
MP1-5183: TVE: Add x64 Analog Card support(PDmpgMux.ax filter)
Feb 6, 2024
f8a8459
Merge pull request #263 from MediaPortal/MP1-5183-TVE_x64_version
andrewjswan Feb 9, 2024
91b98d2
Merge pull request #264 from MediaPortal/MP1-5185-MP_MPE_Installation…
andrewjswan Feb 9, 2024
f650352
MP1-5196: UNC Tools: Fix WMI call to resolve UNC (avoid waking-up ot…
Feb 9, 2024
8f6d164
MP1.33 Final: Update Milestone Workflow
andrewjswan Feb 10, 2024
ed5214e
MP1-5196: UNC Tools: Remove temporary debug logging
Feb 10, 2024
02b5d47
MP1-5197: Load screen calibration prior loading window plugins upon s…
Feb 10, 2024
8413a94
Revert "MP1-5197: Load screen calibration prior loading window plugin…
Feb 10, 2024
b80b061
MP1-5197: Load screen calibration prior loading window plugins upon s…
Feb 10, 2024
03af6ec
Merge pull request #265 from MediaPortal/MP1-5196-Fix_Enhance_UNC_Roo…
andrewjswan Feb 12, 2024
81db9d6
Merge pull request #266 from MediaPortal/MP1-5197-Load_screen_calibra…
andrewjswan Feb 12, 2024
41fba9d
MP1-5198: MP Audiorender: switch to default correction mode if bias i…
Feb 16, 2024
19a67df
MP1-5199: Update volume handler properties(tags) upon startup
Feb 16, 2024
283ffe3
MP1-5199: Core: Mixer: show volume OSD only in case of volume/mute ch…
Feb 16, 2024
ec1e0ad
Merge pull request #267 from MediaPortal/MP1-5198-MP_Audiorender_swit…
andrewjswan Feb 16, 2024
4e9f027
Merge pull request #268 from MediaPortal/MP1-5199-Fix_volume_OSD_pres…
andrewjswan Feb 16, 2024
66f235d
MP1-5185: DeployTool: FixMediaPortal64RegistryPath : Add missing writ…
Feb 17, 2024
06b3f83
MP1-5199: Core: Mixer: Revert Mixer10 : show volume OSD only in case …
Feb 17, 2024
0ac6194
MP1-5185: DeployTool: FixMediaPortal64RegistryPath : Add missing writ…
Feb 17, 2024
b792a46
MP1-5199: Core: Mixer: Revert Mixer10 : show volume OSD only in case …
Feb 17, 2024
652cc89
MP1-5188: Core: AdaptRefreshRate: Check MediaInfo scan type for null
Feb 18, 2024
9cdadfc
Merge pull request #269 from MediaPortal/MP1-5185-MP_MPE_Installation…
andrewjswan Feb 19, 2024
aa3c7da
Merge pull request #270 from MediaPortal/MP1-5188-fix-adapt-refresh-r…
andrewjswan Feb 19, 2024
5899580
Merge pull request #271 from MediaPortal/MP1-5199-Fix_volume_OSD_pres…
andrewjswan Feb 19, 2024
9907cbc
MP1.33: DefaultWideHD volume OSD and the topbar update
andrewjswan Feb 19, 2024
e801ddf
MP1-5199: Core: HideVolumeOSDLib: Add support for Windows 11
Feb 20, 2024
90ab5f6
MP1-5185: MPE: Add execution condition to the FileItem
Feb 20, 2024
8a8116f
Merge pull request #272 from MediaPortal/MP1-5199-Fix_volume_OSD_pres…
andrewjswan Feb 20, 2024
633b585
Merge pull request #273 from MediaPortal/MP1-5185-MP_MPE_Installation…
andrewjswan Feb 20, 2024
1e80332
MP1.33.Final: Bump version number and set DEBUG level to INFO
andrewjswan Feb 20, 2024
10658a5
Merge pull request #274 from MediaPortal/MP1.33.Final-Bump_version_nu…
andrewjswan Feb 21, 2024
087deed
MP1-5199: Core: VolumeHandler: Fix singleton creation
Feb 22, 2024
3739754
MP1-5199: Core: Mixer10: Dispose previous instances of MMNotification…
Feb 22, 2024
3c65b50
Merge pull request #275 from MediaPortal/MP1-5199-Fix_volume_OSD_pres…
andrewjswan Feb 22, 2024
37b6913
MP1-5199: Core: VolumeHandler: Restore Windows Volume OSD on dispose
Feb 23, 2024
135ace2
MP1-5199: Configuration: Change default Volume Control settings
Feb 23, 2024
74d95a0
Merge pull request #276 from MediaPortal/MP1-5199-Fix_volume_OSD_pres…
andrewjswan Feb 23, 2024
3d27e27
Add reference to SharpDX.Mathematics so the dll will be in the output…
doskabouter Feb 25, 2024
bba0a75
Log exception when connecting with tvservice
doskabouter Feb 25, 2024
b758351
MP1.33.Final: Change Codename (#277)
andrewjswan Feb 26, 2024
6b37e1b
MP1-5199: Core: Mixer: Fix OnControlChanged event handling to avoid s…
Feb 25, 2024
0843b63
MP1-5199: Core: Mixer: Change initial GUI volume level to Master leve…
Feb 25, 2024
cac6599
Merge pull request #278 from MediaPortal/MP1-5199-Fix_volume_OSD_pres…
andrewjswan Feb 27, 2024
94b9193
MP1.33-Final: Bump setup-msbuild to v2
andrewjswan Feb 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/mediaportal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

steps:
- name: Setup Visual Studio 2019
uses: microsoft/setup-msbuild@v1.3
uses: microsoft/setup-msbuild@v2
with:
vs-version: 16.11

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/workflow_milestone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: benelan/milestone-action@v3
with:
single: true

add_on_close:
name: Add Milestone on Close / Merge
Expand All @@ -21,4 +23,5 @@ jobs:
steps:
- uses: benelan/milestone-action@v3
with:
overwrite: true # remove this line to keep existing milestone
overwrite: true
single: true
10 changes: 5 additions & 5 deletions Common-MP-TVE3/SolutionInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region Copyright (C) 2005-2023 Team MediaPortal
#region Copyright (C) 2005-2024 Team MediaPortal

// Copyright (C) 2005-2023 Team MediaPortal
// Copyright (C) 2005-2024 Team MediaPortal
// http://www.team-mediaportal.com
//
// MediaPortal is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -36,7 +36,7 @@

[assembly: AssemblyCompany("Team MediaPortal")]
[assembly: AssemblyProduct("MediaPortal")]
[assembly: AssemblyCopyright("Copyright © 2005-2023 Team MediaPortal")]
[assembly: AssemblyCopyright("Copyright © 2005-2024 Team MediaPortal")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -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.32.100.0")]
[assembly: AssemblyFileVersion("1.32.100.0")]
[assembly: AssemblyVersion("1.33.000.0")]
[assembly: AssemblyFileVersion("1.33.000.0")]

//[assembly: AssemblyInformationalVersion("")]
//[assembly: CompatibleVersion("1.1.8.*", "1.1.8.*")]
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ double SynchCorrection::GetRequiredAdjustment(REFERENCE_TIME rtAHwTime, REFERENC
bool bQuality;
double dHwTime, dHwTimeDelta, dPhaseDiff, dDiffP, dDiff, dGain;

if (!m_pSettings->GetMaintainSoundPitch())
bQuality = bias > 1.0 - QUALITY_BIAS_LIMIT && bias < 1.0 + QUALITY_BIAS_LIMIT;

if (bQuality && !m_pSettings->GetMaintainSoundPitch())
{
// RATE mode: sound pitch is not maintained
// To avoid large change in speed(sound pitch), we use simple PI regulator to keep the target speed almost constant
Expand Down Expand Up @@ -437,9 +439,10 @@ double SynchCorrection::GetRequiredAdjustment(REFERENCE_TIME rtAHwTime, REFERENC
}
else
{
m_bMaintainSoundPitch = true; //use TEMPO to keep sound pitch

ret = bias * adjustment;
dTotalAudioDrift = CalculateDrift(rtAHwTime, rtRCTime - m_rtStart) + m_dAudioDelay + m_dEVRAudioDelay;
bQuality = bias > 1.0 - QUALITY_BIAS_LIMIT && bias < 1.0 + QUALITY_BIAS_LIMIT;

if (bQuality)
{
Expand Down
Binary file added DirectShowFilters/bin/Release/x64/PDMpgMux.ax
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region Copyright (C) 2005-2023 Team MediaPortal
#region Copyright (C) 2005-2024 Team MediaPortal
/*
// Copyright (C) 2005-2023 Team MediaPortal
// Copyright (C) 2005-2024 Team MediaPortal
// http://www.team-mediaportal.com
//
// MediaPortal is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -31,8 +31,8 @@


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

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

Expand Down
16 changes: 16 additions & 0 deletions Tools/InstallationScripts/include/MediaPortalMacros.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,9 @@
!if "${PRODUCT_NAME}" == "MediaPortal TV Server / Client"
!insertmacro NSISuninstall "${MP_REG_UNINSTALL}"
!endif
!if "${PRODUCT_NAME}" == "MediaPortal TV Server / Client (x64)"
!insertmacro NSISuninstall "${MP_REG_UNINSTALL}"
!endif

SetShellVarContext all
# Delete new MediaPortal ( >= 0.2.3 RC3 ) and TVengine 3 directories
Expand Down Expand Up @@ -837,10 +840,12 @@ DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\MediaPort
!macro MediaPortalVCRedistCheck
${LOG_TEXT} "INFO" ".: Microsoft Visual C++ Redistributable Check :."

!if "${Architecture}" == "x86"
; check if VC Redist 2008 SP1 is installed
${IfNot} ${VCRedist2008IsInstalled}
!insertmacro ShowMissingComponent " - Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package ATL Security Update"
${EndIf}
!endif

${LOG_TEXT} "INFO" "============================"
!macroend
Expand Down Expand Up @@ -926,6 +931,17 @@ ${EndIf}
!insertmacro TVSERVER_GET_VERSION $R0
!endif

!if "${PRODUCT_NAME}" == "MediaPortal TV Server / Client (x64)"
${IfNot} ${TVServerIsInstalled}
${AndIfNot} ${TVClientIsInstalled}
MessageBox MB_YESNO|MB_ICONSTOP "$(TEXT_MSGBOX_ERROR_GIT_NOMP)" IDNO +2
ExecShell open "${WEB_DOWNLOAD_MIN_MP_VERSION}"
Abort
${Else}

!insertmacro TVSERVER_GET_VERSION $R0
!endif

${VersionCompare} $R0 ${MIN_INSTALLED_MP_VERSION} $R0
${If} $R0 == 0
; installed version is EQUAL to min
Expand Down
14 changes: 7 additions & 7 deletions Tools/MediaPortal.DeployTool/Utils.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region Copyright (C) 2005-2023 Team MediaPortal
#region Copyright (C) 2005-2024 Team MediaPortal

// Copyright (C) 2005-2023 Team MediaPortal
// Copyright (C) 2005-2024 Team MediaPortal
// http://www.team-mediaportal.com
//
// MediaPortal is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -780,7 +780,7 @@ public static Version GetPackageVersion(string type)
case "max":
major = 1;
minor = 32;
revision = 000;
revision = 100;
break;
}
Version ver = new Version(major, minor, revision);
Expand All @@ -800,8 +800,8 @@ public static bool IsPackageUpdatabled(Version pkgVer)
public static Version GetCurrentPackageVersion()
{
int major = 1;
int minor = 32;
int revision = 100;
int minor = 33;
int revision = 000;

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

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

/// <summary>
Expand Down Expand Up @@ -926,7 +926,7 @@ public static void FixMediaPortal64RegistryPath(string strName)
{
//Existing old registry path

RegistryKey key = Registry.LocalMachine.OpenSubKey(strPath);
RegistryKey key = Registry.LocalMachine.OpenSubKey(strPath, true);

if (key == null)
{
Expand Down
10 changes: 7 additions & 3 deletions TvEngine3/TVLibrary/Setup/setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,12 @@ ${MementoSection} "MediaPortal TV Server" SecServer
!insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_NOTPROTECTED "${git_DirectShowFilters}\TsWriter\bin\${BUILD_TYPE}\TsWriter.ax" "$INSTDIR\TsWriter.ax" "$INSTDIR"
; filters for analog tv
!insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_NOTPROTECTED "${git_DirectShowFilters}\MPWriter\bin\${BUILD_TYPE}\mpFileWriter.ax" "$INSTDIR\mpFileWriter.ax" "$INSTDIR"
!insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_NOTPROTECTED "${git_DirectShowFilters}\bin\Release\PDMpgMux.ax" "$INSTDIR\PDMpgMux.ax" "$INSTDIR"

!if "${Architecture}" == "x64"
!insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_NOTPROTECTED "${git_DirectShowFilters}\bin\Release\x64\PDMpgMux.ax" "$INSTDIR\PDMpgMux.ax" "$INSTDIR"
!else
!insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_NOTPROTECTED "${git_DirectShowFilters}\bin\Release\PDMpgMux.ax" "$INSTDIR\PDMpgMux.ax" "$INSTDIR"
!endif

${If} ${FileExists} "$INSTDIR\MPUrlSourceSplitter\MPUrlSourceSplitter.ax"
${LOG_TEXT} "INFO" "MPUrlSourceSplitter detected, skipping registration of MPIPTVSource.ax"
; reregister because previous uninstall probably unregisterd the MPIPTVSource.ax
Expand Down Expand Up @@ -1332,7 +1336,7 @@ Function un.onUninstSuccess
${If} ${RebootFlag}
${LOG_TEXT} "INFO" "!!! Some files were not able to uninstall. To finish uninstallation completly a REBOOT is needed."
FileOpen $0 $INSTDIR\rebootflag w
Delete $INSTDIR\rebootflag ; this will not be deleted until the reboot because it is currently opened
Delete /REBOOTOK $INSTDIR\rebootflag ; this will not be deleted until the reboot because it is currently opened
RmDir $INSTDIR
FileClose $0
${EndIf}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region Copyright (C) 2005-2023 Team MediaPortal
#region Copyright (C) 2005-2024 Team MediaPortal

// Copyright (C) 2005-2023 Team MediaPortal
// Copyright (C) 2005-2024 Team MediaPortal
// http://www.team-mediaportal.com
//
// MediaPortal is free software: you can redistribute it and/or modify
Expand Down 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", "5").Value); // debug is "5", info is "4"
var logLevel = (LogLevel)int.Parse(GetSetting("loglevel", "4").Value); // debug is "5", info is "4"
Log.SetLogLevel(logLevel);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1911,26 +1911,42 @@ private bool AddMpegMuxer(IFilterGraph2 _graphBuilder, Capture _capture)
Log.Log.WriteFile("analog:AddMpegMuxer()");
try
{
//CyberLink MPEG Muxer
const string _MONIKER_MPEG_MUXER =
@"@device:sw:{083863F1-70DE-11D0-BD40-00A0C911CE86}\{4B5C6BC0-D60E-11D2-8F3F-0080C84E9806}";
const string monikerPowerDirectorMuxer =
@"@device:sw:{083863F1-70DE-11D0-BD40-00A0C911CE86}\{7F2BBEAF-E11C-4D39-90E8-938FB5A86045}";
const string monikerPowerDvdMuxer =
@"@device:sw:{083863F1-70DE-11D0-BD40-00A0C911CE86}\{6770E328-9B73-40C5-91E6-E2F321AEDE57}";
const string monikerPowerDvdMuxer2 =
@"@device:sw:{083863F1-70DE-11D0-BD40-00A0C911CE86}\{370E9701-9DC5-42C8-BE29-4E75F0629EED}";
_filterMpegMuxer = Marshal.BindToMoniker(monikerPowerDirectorMuxer) as IBaseFilter;
int hr = _graphBuilder.AddFilter(_filterMpegMuxer, "CyberLink MPEG Muxer");

int hr = -1;
try
{
_filterMpegMuxer = Marshal.BindToMoniker(_MONIKER_MPEG_MUXER) as IBaseFilter;
hr = _graphBuilder.AddFilter(_filterMpegMuxer, "CyberLink MPEG Muxer");
if (hr == 0)
Log.Log.WriteFile("analog:CyberLink MPEG Muxer loaded: " + _MONIKER_MPEG_MUXER);
}
catch { }
if (hr != 0)
{
_filterMpegMuxer = Marshal.BindToMoniker(monikerPowerDvdMuxer) as IBaseFilter;
_filterMpegMuxer = Marshal.BindToMoniker(monikerPowerDirectorMuxer) as IBaseFilter;
hr = _graphBuilder.AddFilter(_filterMpegMuxer, "CyberLink MPEG Muxer");
if (hr != 0)
{
_filterMpegMuxer = Marshal.BindToMoniker(monikerPowerDvdMuxer2) as IBaseFilter;
_filterMpegMuxer = Marshal.BindToMoniker(monikerPowerDvdMuxer) as IBaseFilter;
hr = _graphBuilder.AddFilter(_filterMpegMuxer, "CyberLink MPEG Muxer");
if (hr != 0)
{
Log.Log.WriteFile("analog:AddMpegMuxer returns:0x{0:X}", hr);
//throw new TvException("Unable to add Cyberlink MPEG Muxer");
_filterMpegMuxer = Marshal.BindToMoniker(monikerPowerDvdMuxer2) as IBaseFilter;
hr = _graphBuilder.AddFilter(_filterMpegMuxer, "CyberLink MPEG Muxer");
if (hr != 0)
{
Log.Log.WriteFile("analog:AddMpegMuxer returns:0x{0:X}", hr);
//throw new TvException("Unable to add Cyberlink MPEG Muxer");
}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions TvEngine3/TVLibrary/TvPlugin/TvPlugin/TVHome.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1052,10 +1052,10 @@ public static bool WaitForGentleConnection()
IList<Card> cards = TvDatabase.Card.ListAll();
success = true;
}
catch (Exception)
catch (Exception e)
{
success = false;
Log.Debug("TVHome: waiting for gentle.net DB connection {0} msec", timer.ElapsedMilliseconds);
Log.Debug("TVHome: waiting for gentle.net DB connection {0} msec\nException: {1}", timer.ElapsedMilliseconds, e.Message);
Thread.Sleep(100);
}
}
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.Pre.Release.{build}
version: 1.33.Final.{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-Pre Release" />
<add key="version" value="1.33-Springtime / 20th Anniversary" />
</appSettings>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0.30319" />
Expand Down
6 changes: 3 additions & 3 deletions mediaportal/Configuration/Sections/General.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region Copyright (C) 2005-2023 Team MediaPortal
#region Copyright (C) 2005-2024 Team MediaPortal

// Copyright (C) 2005-2023 Team MediaPortal
// Copyright (C) 2005-2024 Team MediaPortal
// http://www.team-mediaportal.com
//
// MediaPortal is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -42,7 +42,7 @@ public General(string name)
InitializeComponent();
}

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

/// <summary>
/// Erforderliche Designervariable.
Expand Down
4 changes: 2 additions & 2 deletions mediaportal/Configuration/Sections/GeneralVolume.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public override void LoadSettings()
{
string isSettingExist = reader.GetValueAsString("volume", "handler", "");
int volumeStyle = reader.GetValueAsInt("volume", "handler", 1);
bool isDigital = reader.GetValueAsBool("volume", "digital", true);
mpCBHideWinOSD.Checked = reader.GetValueAsBool("volume", "hideWindowsOSD", false);
bool isDigital = reader.GetValueAsBool("volume", "digital", false);
mpCBHideWinOSD.Checked = reader.GetValueAsBool("volume", "hideWindowsOSD", true);

_useClassicHandler.Checked = volumeStyle == 0;
_useWindowsHandler.Checked = volumeStyle == 1;
Expand Down
Loading
Loading