File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 99 <Identity
1010 Name =" 22674TimGels.OneDriveCloudPlayer"
1111 Publisher =" CN=3095B4D2-D597-43C2-BFA6-AC26DB73293D"
12- Version =" 1.2.0 .0" />
12+ Version =" 1.2.1 .0" />
1313
1414 <mp : PhoneIdentity PhoneProductId =" 329101d2-9ad1-4065-a890-d72be5ed3714" PhonePublisherId =" 00000000-0000-0000-0000-000000000000" />
1515
Original file line number Diff line number Diff line change 66using OneDrive_Cloud_Player . Services . Utilities ;
77using System ;
88using System . Collections . Generic ;
9+ using System . IO ;
910using System . Linq ;
1011using System . Threading ;
1112using System . Threading . Tasks ;
@@ -454,8 +455,9 @@ public CachedDriveItem ConvertGraphItem(DriveItem GraphItem)
454455 return null ;
455456 }
456457
458+ //TODO: Remove the mkv extension workaround when Graph is fixed or a better solution is implemented.
457459 // Check that files have the correct mimetype (either contains audio or video).
458- if ( GraphItem . File != null && ! ( GraphItem . File . MimeType . Contains ( "video" ) || GraphItem . File . MimeType . Contains ( "audio" ) ) )
460+ if ( GraphItem . File != null && ! ( GraphItem . File . MimeType . Contains ( "video" ) || GraphItem . File . MimeType . Contains ( "audio" ) || Path . GetExtension ( GraphItem . Name ) . Equals ( ".mkv" ) ) )
459461 {
460462 return null ;
461463 }
You can’t perform that action at this time.
0 commit comments