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.34: Pre Release #312

Merged
merged 80 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
d2fe190
MP1-5201: Fix MPC-HC subs resync (change from ms to REFERENCE_TIME)
Mar 16, 2024
c42db97
MP1-5202: Fix MediaInfoService multiple request of the same file from…
Mar 16, 2024
ff121f2
MP1-5203: Resume of inserted dvd/bluray disc doesn't work(from autoplay)
Mar 16, 2024
8ce54d2
MP1-5204: Fix native Volume OSD window restore upon MediaPortal exit
Mar 16, 2024
70b8934
MP1-5205: Install x64 version of System.Data.SQLite.dll in TvServer
Mar 16, 2024
4617edd
Merge pull request #282 from MediaPortal/MP1-5201-Fix_MPC-HC_subs_resync
andrewjswan Mar 18, 2024
f8ac9f3
Merge pull request #283 from MediaPortal/MP1-5202-Fix_MediaInfoServic…
andrewjswan Mar 18, 2024
9085a12
Merge pull request #284 from MediaPortal/MP1-5203-Resume_of_inserted_…
andrewjswan Mar 18, 2024
400d03f
Merge pull request #285 from MediaPortal/MP1-5204-Fix_native_Volume_O…
andrewjswan Mar 18, 2024
8723822
Merge pull request #286 from MediaPortal/MP1-5205-Install_x64_version…
andrewjswan Mar 18, 2024
27a74ec
MP1.34-Pre: German language update
andrewjswan Mar 20, 2024
db63cb6
MP1.34-Pre: DefaultWideHD skin update
andrewjswan Mar 20, 2024
e332b0a
Merge pull request #287 from MediaPortal/MP1.34_Pre.Release_DWHD_Lang…
andrewjswan Mar 21, 2024
aca7212
MP1.34-Pre: French language update
andrewjswan Mar 23, 2024
b9acb4a
MP1-5206: Fix for MPEMaker crashes when Location is without a folder …
andrewjswan Mar 23, 2024
40c4810
Merge pull request #288 from MediaPortal/MP1.34_Pre.Release_French_La…
andrewjswan Mar 23, 2024
ea0225a
Merge pull request #289 from MediaPortal/MP1-5206-Fix_for_MPEMaker_cr…
andrewjswan Mar 23, 2024
5e5f004
MP1-5207: MPEUpdater - Tools for Update KnownExtensions from command …
andrewjswan Mar 24, 2024
b9a3e62
MP1-5208: TV Plugin - Schedule: Fix OnClicked GUIListControl event ha…
Mar 24, 2024
134987f
Merge pull request #290 from MediaPortal/MP1-5207-MPEUpdater_Tools_fo…
andrewjswan Mar 24, 2024
ddbe2d3
MP1-5209: Force EVR instead of MadVR in some Cases
andrewjswan Mar 24, 2024
e0aded2
MP1-5209: Force EVR instead of MadVR in some Cases (Chore)
andrewjswan Mar 26, 2024
daa69dc
MP1-5210: Add Short DayOfWeek and Short MonthOfYear to Date
andrewjswan Mar 27, 2024
1d21ba2
Merge pull request #292 from MediaPortal/MP1-5208-TV_Schedule_Fix_OnC…
andrewjswan Mar 27, 2024
bdd822b
Merge pull request #293 from MediaPortal/MP1-5210-Add_Short_DayOfWeek…
andrewjswan Mar 27, 2024
c0a4921
Merge pull request #291 from MediaPortal/MP1-5209-Force_EVR_instead_o…
andrewjswan Mar 27, 2024
fe15fc9
MP1-5212: Core: VMR9: Check IVideoWindow for null if MadVR is used
Mar 30, 2024
9e76a0d
MP1-5211: Core: HideVolumeOSDLib: Code format
Mar 30, 2024
19ae8c3
MP1-5211: Core: Fix initial volume/mute/table in VolumeHandler
Mar 30, 2024
7a1a477
MP1-5213: MPAudioRenderer: Fix desctructor call to prevent MediaPorta…
Mar 31, 2024
9947afe
MP1-5214: Add PixelShader support: Add shader installation
Mar 31, 2024
4a6e4c9
MP1-5214: Add PixelShader support: Add translation
Mar 31, 2024
0e79990
MP1-5214: Add PixelShader support
Mar 31, 2024
db9728d
MP1-5214: Add PixelShader support: Add menu to Video Fullscreen
Mar 31, 2024
78b5424
MP1-5210: Add Short to Home settings
andrewjswan Mar 31, 2024
a814076
Merge pull request #294 from MediaPortal/MP1-5210-Add_Short_DayOfWeek…
andrewjswan Mar 31, 2024
652f43e
MP1-5214: Add PixelShader support: Move menu to PixelShaderCollection…
Apr 1, 2024
8e92363
MP1-5214: Add PixelShader support: Add Load(profile) method to PixerS…
Apr 1, 2024
f7ded25
MP1-5214: Add PixelShader support: Add menu to TvPlugin fullscreen
Apr 1, 2024
4013b1d
MP1-5214: Add PixelShader support: Add debug logging to PixelShaderCo…
Apr 1, 2024
654f04d
MP1-5214: Add PixelShader support: Load(profile) - use default profil…
Apr 1, 2024
3f10780
Merge branch 'MP1.34_Pre.Release_Test3' into MP1-5211-Fix_initial_vol…
epbk Apr 1, 2024
b0e001f
Merge pull request #295 from MediaPortal/MP1-5211-Fix_initial_volume_…
andrewjswan Apr 1, 2024
ae761f6
Merge pull request #296 from MediaPortal/MP1-5212-Unable_to_play_with…
andrewjswan Apr 1, 2024
39a0cfd
Merge pull request #297 from MediaPortal/MP1-5213-Fix_occasional_Medi…
andrewjswan Apr 1, 2024
28bc39c
Merge pull request #298 from MediaPortal/MP1-5214-Add_PixelShader_sup…
andrewjswan Apr 1, 2024
7cf8e47
MP1.34-Pre: Cosmetic fix in Setup/setup.nsi
andrewjswan Apr 2, 2024
6c26e21
MP1.34-Pre: Titan - common.facade.recordings fix
andrewjswan Apr 3, 2024
07d0479
PinCode image change to fix issue where stars stay blue
KJ-Cox Apr 3, 2024
249a18a
Merge pull request #299 from KJ-Cox/MP1.34_Pre.Release_Titan
andrewjswan Apr 4, 2024
f4da83d
Merge pull request #300 from MediaPortal/MP1.34_Pre.Release_Titan
andrewjswan Apr 4, 2024
c9d5315
MP1.34-Pre: Update CODEOWNERS
andrewjswan Apr 5, 2024
0ab17ad
MP1-5215: Add MySQL.Interceptor and Read TV Server dependencies in Se…
andrewjswan Apr 5, 2024
97992cb
Updated Logo horizontal size for TVSeries and updated Mediainfo for h…
KJ-Cox Apr 6, 2024
0b8e4c9
Merge pull request #301 from KJ-Cox/MP1.34_Pre.Release_Test3
andrewjswan Apr 6, 2024
bdc5d65
Merge pull request #302 from MediaPortal/MP1-5215-TV_Server_and_Maria…
andrewjswan Apr 9, 2024
47aade7
MP1.34-Pre: MPE: Updated extension platform compatibility whitelist
Apr 9, 2024
1368c90
MP1.34-Pre: Update workflow_labeler.yml
andrewjswan Apr 15, 2024
ca8f7dc
MP1.34-Pre: Update workflow_milestone.yml
andrewjswan Apr 15, 2024
f2acf1e
MP1-5216: Don't make queries if the SQLite database is not open
andrewjswan Apr 25, 2024
98afdb3
Merge pull request #304 from MediaPortal/MP1-5216-Dont_make_queries_i…
andrewjswan Apr 25, 2024
6e955be
MP1-5019: Bump MySQL version to 8.3
andrewjswan Apr 26, 2024
d2ea726
MP1-5019: Add MariaDB SQL Server
andrewjswan Apr 26, 2024
29a10ed
Merge pull request #305 from MediaPortal/MP1-5019-Add_MariaDB_as_TVSe…
andrewjswan Apr 28, 2024
95d9cc8
MP1-5217: Install .Net Framework 3.5, 4.0 if needed
andrewjswan Apr 28, 2024
b4fcff4
Merge pull request #306 from MediaPortal/MP1-5217-Install_.Net_Framew…
andrewjswan Apr 28, 2024
78e5db7
MP1-5217: Change On Click default SQL Server
andrewjswan Apr 29, 2024
c6d84a4
MP1-5217: Add .Net 4.0 checking, and 1638 error code
andrewjswan Apr 29, 2024
4ab77fc
Merge pull request #307 from MediaPortal/MP1-5217-Install_.Net_Framew…
andrewjswan Apr 29, 2024
ec27782
MP1-5217: Change .Net 3 command line
andrewjswan Apr 30, 2024
affd227
Merge pull request #308 from MediaPortal/MP1-5217-Install_.Net_Framew…
andrewjswan Apr 30, 2024
96977e9
MP1-5218: DeployTools: Transferring program installation to a separat…
andrewjswan May 1, 2024
aad46b4
MP1-5218: DeployTools: Transferring program installation to separate …
andrewjswan May 1, 2024
e41c334
MP1-5019: Fix for MariaDB parameters
andrewjswan May 1, 2024
7fa2eab
MP1-5218: Typo in RunCommand
andrewjswan May 1, 2024
33d1d00
Merge pull request #309 from MediaPortal/MP1-5218-DeployTools_Transfe…
andrewjswan May 1, 2024
d9df60a
MP1.34.Pre: Bump version number and set INFO level to DEBUG
andrewjswan May 12, 2024
b87b2a7
Merge pull request #310 from MediaPortal/MP1.34.Pre-Bump_version_numb…
andrewjswan May 12, 2024
3318fa7
Moving files from MePo theme Titan skin with FanartHandler support
KJ-Cox May 14, 2024
7283f43
Merge pull request #311 from KJ-Cox/MP1.34_Pre.Release_Test3
andrewjswan May 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
* @Azzuro @andrewjswan @doskabouter @epbk @Sebastiii
* @Azzuro @andrewjswan @doskabouter @epbk @Sebastiii

/mediaportal/MediaPortal.Base/skin/DefaultWideHD/ @catavolt

/mediaportal/MediaPortal.Base/skin/Titan/ @andrewjswan
2 changes: 1 addition & 1 deletion .github/workflows/workflow_labeler.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Workflow / Pull Request Labeler"

on:
pull_request:
pull_request_target:
types: [opened, edited]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow_milestone.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Workflow / Milestone"

on:
pull_request:
pull_request_target:
types:
- opened
- closed
Expand Down
6 changes: 6 additions & 0 deletions Common-MP-TVE3/External/Gentle.NET/Source/Gentle.NET.sln
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gentle.Provider.MySQL", "Ge
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gentle.Provider.SQLServerCE", "Gentle.Provider.SQLServerCE\Gentle.Provider.SQLServerCE.csproj", "{E3149E66-2BF2-4441-8A72-CDEFDE97C4D1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gentle.Provider.MySQL.Interceptor", "Gentle.Provider.MySQL.Interceptor\Gentle.Provider.MySQL.Interceptor.csproj", "{D8D01EDD-FE20-4F51-9CE1-B5C50244D6CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -144,6 +146,10 @@ Global
{E3149E66-2BF2-4441-8A72-CDEFDE97C4D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E3149E66-2BF2-4441-8A72-CDEFDE97C4D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E3149E66-2BF2-4441-8A72-CDEFDE97C4D1}.Release|Any CPU.Build.0 = Release|Any CPU
{D8D01EDD-FE20-4F51-9CE1-B5C50244D6CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D8D01EDD-FE20-4F51-9CE1-B5C50244D6CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D8D01EDD-FE20-4F51-9CE1-B5C50244D6CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D8D01EDD-FE20-4F51-9CE1-B5C50244D6CA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#region Copyright (C) 2024 Team MediaPortal

// Copyright (C) 2024 Team MediaPortal
// http://www.team-mediaportal.com
//
// MediaPortal is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// MediaPortal is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with MediaPortal. If not, see <http://www.gnu.org/licenses/>.

#endregion

using System.Reflection;

// This file contains only the assemlbly attributes specific to this assembly.
// The remaining attributes are defined in the shared SolutionInfo.cs file.

[assembly: AssemblyTitle( "MySQL interceptor for Gentle.NET" )]
[assembly: AssemblyDescription( "This inerceptor uses the MySQL .NET Connector library from MySQL AB." )]
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{D8D01EDD-FE20-4F51-9CE1-B5C50244D6CA}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon>
</ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>Gentle.Provider.MySQL.Interceptor</AssemblyName>
<AssemblyOriginatorKeyFile>Gentle.snk</AssemblyOriginatorKeyFile>
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>Library</OutputType>
<RootNamespace>Gentle.Provider.MySQL.Interceptor</RootNamespace>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<StartupObject>
</StartupObject>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<SignAssembly>true</SignAssembly>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>bin\Debug\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<NoStdLib>false</NoStdLib>
<NoWarn>1591;1701;1702</NoWarn>
<Optimize>false</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
<WarningsAsErrors>;NU1605</WarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>false</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<NoStdLib>false</NoStdLib>
<NoWarn>1591;1701;1702</NoWarn>
<Optimize>true</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>none</DebugType>
<ErrorReport>prompt</ErrorReport>
<WarningsAsErrors>;NU1605</WarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="MySql.Data">
<HintPath>..\Gentle.Provider.MySQL\lib\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="System">
<Name>System</Name>
</Reference>
<Reference Include="System.Data">
<Name>System.Data</Name>
</Reference>
<Reference Include="System.Xml">
<Name>System.XML</Name>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\SolutionInfo.cs">
<Link>SolutionInfo.cs</Link>
<SubType>Code</SubType>
</Compile>
<Compile Include="AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Interceptor.cs" />
<Compile Include="Utf8mb3.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Gentle.snk" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#region Copyright (C) 2024 Team MediaPortal

// Copyright (C) 2024 Team MediaPortal
// http://www.team-mediaportal.com
//
// MediaPortal is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// MediaPortal is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with MediaPortal. If not, see <http://www.gnu.org/licenses/>.

#endregion

using System;
using System.Data;
using MySql.Data.MySqlClient;

namespace Gentle.Provider.MySQL.Interceptor
{
/// <summary>
/// Filters out collations with NULL id (e.g. UCA-14.0.0) from SHOW COLLATION command
/// </summary>
public sealed class Interceptor : BaseCommandInterceptor
{
public override bool ExecuteReader(string sql, CommandBehavior behavior, ref MySqlDataReader returnValue)
{
if (!sql.Equals("SHOW COLLATION", StringComparison.OrdinalIgnoreCase))
{
return false;
}

MySqlCommand command = ActiveConnection.CreateCommand();

command.CommandText = "SHOW COLLATION WHERE id IS NOT NULL";
returnValue = command.ExecuteReader(behavior);

return true;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Gentle.Provider.MySQL.Interceptor

## How it works

Library modifies `SHOW COLLATION` query using `BaseCommandInterceptor` to prevent fetching collations with NULL Id's.
There is also small piece of code which append `utf8mb3` charset to MySql.Data's internal mapping Dictionary allowing
to read fields with utf8mb3 collations.

## Usage

1. Append following line to your connection string

`;commandinterceptors=Gentle.Provider.MySQL.Interceptor.Interceptor,Gentle.Provider.MySQL.Interceptor`

2. Call `Utf8mb3.Enable()` before opening first MySql connection.
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#region Copyright (C) 2024 Team MediaPortal

// Copyright (C) 2024 Team MediaPortal
// http://www.team-mediaportal.com
//
// MediaPortal is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// MediaPortal is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with MediaPortal. If not, see <http://www.gnu.org/licenses/>.

#endregion

using System;
using System.Collections;
using MySql.Data.MySqlClient;

namespace Gentle.Provider.MySQL.Interceptor
{
// ReSharper disable once InconsistentNaming
public static class Utf8mb3
{
private static readonly Version NewFieldNamingVersion = new Version(6, 10, 0);

public static void Enable()
{
// Add internal mapping of database utf8mb3 charset to .NET framework's UTF-8 encoding
var assembly = System.Reflection.Assembly.GetAssembly(typeof(MySqlConnection));
var connectorVersion = assembly.GetName().Version;

var mappingFieldName = connectorVersion >= NewFieldNamingVersion ? "_mapping" : "mapping";

var mappingField = assembly
.GetType("MySql.Data.MySqlClient.CharSetMap").GetField(mappingFieldName,
System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.GetField |
System.Reflection.BindingFlags.Static);

if (mappingField != null)
{
var mappingDictionary = (IDictionary)mappingField.GetValue(null);
var utf8Mapping = mappingDictionary["utf8"];

if (utf8Mapping != null)
{
try
{
mappingDictionary.Add("utf8mb3", utf8Mapping);
}
catch (ArgumentException)
{
// Item already exist
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Gentle.Provider.MySQL.Interceptor\Gentle.Provider.MySQL.Interceptor.csproj">
<Project>{d8d01edd-fe20-4f51-9ce1-b5c50244d6ca}</Project>
<Name>Gentle.Provider.MySQL.Interceptor</Name>
</ProjectReference>
<Reference Include="MySql.Data, Version=6.6.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
using System.Data;
using Gentle.Common;
using Gentle.Framework;
using Gentle.Provider.MySQL.Interceptor;
using MySql.Data.MySqlClient;

namespace Gentle.Provider.MySQL
Expand Down Expand Up @@ -83,6 +84,7 @@ public override IDbConnection GetConnection()
try
{
IDbConnection dbc = new MySqlConnection( ConnectionString );
Utf8mb3.Enable();
dbc.Open();
Check.VerifyEquals( dbc.State, ConnectionState.Open, Error.NoNewConnection );
return dbc;
Expand Down
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 @@ -159,8 +159,6 @@ CMPAudioRenderer::~CMPAudioRenderer()
if (m_pVolumeHandler)
m_pVolumeHandler->Release();

delete m_pClock;

if (m_pReferenceClock)
{
SetSyncSource(NULL);
Expand All @@ -177,9 +175,7 @@ CMPAudioRenderer::~CMPAudioRenderer()
if (FAILED(hr))
Log("Pipeline DisconnectAll failed with: (0x%08x)", hr);
}

SAFE_RELEASE(m_pSettings);


delete m_pWASAPIRenderer;
delete m_pAC3Encoder;
delete m_pInBitDepthAdapter;
Expand All @@ -188,6 +184,9 @@ CMPAudioRenderer::~CMPAudioRenderer()
delete m_pSampleRateConverter;
delete m_pChannelMixer;
delete m_pSampleCopier;
delete m_pClock;

SAFE_RELEASE(m_pSettings);

Log("MP Audio Renderer - destructor - instance 0x%x - end", this);
if (m_pLogger)
Expand Down
Loading
Loading