diff --git a/OneDrive-Cloud-Player/Package.appxmanifest b/OneDrive-Cloud-Player/Package.appxmanifest
index 0a335eb..3532abd 100644
--- a/OneDrive-Cloud-Player/Package.appxmanifest
+++ b/OneDrive-Cloud-Player/Package.appxmanifest
@@ -9,7 +9,7 @@
+ Version="1.2.1.0" />
diff --git a/OneDrive-Cloud-Player/Services/Helpers/CacheHelper.cs b/OneDrive-Cloud-Player/Services/Helpers/CacheHelper.cs
index 51274c0..0e8b650 100644
--- a/OneDrive-Cloud-Player/Services/Helpers/CacheHelper.cs
+++ b/OneDrive-Cloud-Player/Services/Helpers/CacheHelper.cs
@@ -6,6 +6,7 @@
using OneDrive_Cloud_Player.Services.Utilities;
using System;
using System.Collections.Generic;
+using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
@@ -454,8 +455,9 @@ public CachedDriveItem ConvertGraphItem(DriveItem GraphItem)
return null;
}
+ //TODO: Remove the mkv extension workaround when Graph is fixed or a better solution is implemented.
// Check that files have the correct mimetype (either contains audio or video).
- if (GraphItem.File != null && !(GraphItem.File.MimeType.Contains("video") || GraphItem.File.MimeType.Contains("audio")))
+ if (GraphItem.File != null && !(GraphItem.File.MimeType.Contains("video") || GraphItem.File.MimeType.Contains("audio") || Path.GetExtension(GraphItem.Name).Equals(".mkv")))
{
return null;
}