From cdac628127340112bbdd0d818a8449857d33b31c Mon Sep 17 00:00:00 2001
From: cjee21 <77721854+cjee21@users.noreply.github.com>
Date: Mon, 18 Nov 2024 19:07:56 +0800
Subject: [PATCH] Update file extensions lists
---
Source/Common/Preferences.cpp | 64 +++++++++++++++++++++---
Source/GUI/UWP/Package.appxmanifest | 18 +++++--
Source/Install/MediaInfo_Extensions.nsh | 38 +++++++++++---
Source/WindowsQtPackage/AppxManifest.xml | 32 +++++++++++-
4 files changed, 133 insertions(+), 19 deletions(-)
diff --git a/Source/Common/Preferences.cpp b/Source/Common/Preferences.cpp
index 48ab5402a..fe4578b34 100644
--- a/Source/Common/Preferences.cpp
+++ b/Source/Common/Preferences.cpp
@@ -637,16 +637,20 @@ int Preferences::ExplorerShell()
".aud;AUDFile\r\n"
".aue;AUEFile\r\n"
".avi;AVIFile\r\n"
+ ".avif;AVIFFile\r\n"
+ ".avs;AVSFile\r\n"
".bdmv;BDMVFile\r\n"
".bmp;BMPFile\r\n"
".bms;BMPFile\r\n"
".braw;BRAWFile\r\n"
".caf;CAFFile\r\n"
".clpi;CLPIFile\r\n"
+ ".dat;DATFile\r\n"
".dde;DolbyEFile\r\n"
".divx;AVIFile\r\n"
".dpg;DPGFile\r\n"
".dff;DFFFile\r\n"
+ ".dsd;DSDFile\r\n"
".dsf;DSFFile\r\n"
".dts;DTSFile\r\n"
".dtshd;DTSFile\r\n"
@@ -669,6 +673,10 @@ int Preferences::ExplorerShell()
".h264;H264File\r\n"
".h3d;JPEGFile\r\n"
".hdmov;MOVFile\r\n"
+ ".heic;HEICFile\r\n"
+ ".heif;HEICFile\r\n"
+ ".iamf;IAMFFile\r\n"
+ ".ico;ICOFile\r\n"
".ifo;IfoFile\r\n"
".ism;ISMFile\r\n"
".isma;ISMAFile\r\n"
@@ -678,6 +686,7 @@ int Preferences::ExplorerShell()
".jpeg;JPEGFile\r\n"
".jpg;JPEGFile\r\n"
".jps;JPEGFile\r\n"
+ ".jxl;JPEGFile\r\n"
".m1s;mpegFile\r\n"
".m1t;mpegFile\r\n"
".m1v;mpegFile\r\n"
@@ -751,7 +760,8 @@ int Preferences::ExplorerShell()
".vro;VROFile\r\n"
".w64;W64File\r\n"
".wav;WAVFile\r\n"
- ".webM;WebMFile\r\n"
+ ".webm;WebMFile\r\n"
+ ".webp;WebPFile\r\n"
".wma;WMAFile\r\n"
".wmv;WMVFile\r\n"
".wtv;WTVFile\r\n"
@@ -1250,27 +1260,41 @@ int Preferences::ShellToolTip()
List=__T(
".264;H264File\r\n"
".3g2;mpeg4File\r\n"
- ".3ga;mpeg4File\r\n"
+ ".3ga;mpeg4File\r\n"
".3gp;mpeg4File\r\n"
- ".3gpa;mpeg4File\r\n"
+ ".3gpa;mpeg4File\r\n"
".3gpp;mpeg4File\r\n"
+ ".aa3;ATRACFile\r\n"
".aac;AACFile\r\n"
+ ".aacp;AACFile\r\n"
+ ".adts;AACFile\r\n"
".ac3;AC3File\r\n"
+ ".act;WAVFile\r\n"
+ ".aif;AIFFFile\r\n"
+ ".aifc;AIFFFile\r\n"
".aiff;AIFFFile\r\n"
".amr;AMRFile\r\n"
".ape;APEFile\r\n"
".asf;ASFFile\r\n"
+ ".at3;ATRACFile\r\n"
+ ".au;AUFile\r\n"
".aud;AUDFile\r\n"
".aue;AUEFile\r\n"
".avi;AVIFile\r\n"
+ ".avif;AVIFFile\r\n"
+ ".avs;AVSFile\r\n"
".bdmv;BDMVFile\r\n"
".bmp;BMPFile\r\n"
+ ".bms;BMPFile\r\n"
".braw;BRAWFile\r\n"
+ ".caf;CAFFile\r\n"
".clpi;CLPIFile\r\n"
+ ".dat;DATFile\r\n"
".dde;DolbyEFile\r\n"
".divx;AVIFile\r\n"
".dpg;DPGFile\r\n"
- ".dsf;DFFFile\r\n"
+ ".dff;DFFFile\r\n"
+ ".dsd;DSDFile\r\n"
".dsf;DSFFile\r\n"
".dts;DTSFile\r\n"
".dtshd;DTSFile\r\n"
@@ -1279,15 +1303,24 @@ int Preferences::ShellToolTip()
".dvr-ms;DVRMSFile\r\n"
".eac3;EAC3File\r\n"
".evo;EVOFile\r\n"
+ ".f4a;mpeg4File\r\n"
+ ".f4b;mpeg4File\r\n"
".f4v;mpeg4File\r\n"
+ ".fla;FLACFile\r\n"
".flc;FLICFile\r\n"
".fli;FLICFile\r\n"
".flac;FLACFile\r\n"
".flv;FlashVideoFile\r\n"
".gvi;AVIFile\r\n"
".gif;GIFFile\r\n"
+ ".gis;GIFFile\r\n"
".h264;H264File\r\n"
+ ".h3d;JPEGFile\r\n"
".hdmov;MOVFile\r\n"
+ ".heic;HEICFile\r\n"
+ ".heif;HEICFile\r\n"
+ ".iamf;IAMFFile\r\n"
+ ".ico;ICOFile\r\n"
".ifo;IfoFile\r\n"
".ism;ISMFile\r\n"
".isma;ISMAFile\r\n"
@@ -1296,6 +1329,8 @@ int Preferences::ShellToolTip()
".jp2;JPEGFile\r\n"
".jpeg;JPEGFile\r\n"
".jpg;JPEGFile\r\n"
+ ".jps;JPEGFile\r\n"
+ ".jxl;JPEGFile\r\n"
".m1s;mpegFile\r\n"
".m1t;mpegFile\r\n"
".m1v;mpegFile\r\n"
@@ -1308,11 +1343,11 @@ int Preferences::ShellToolTip()
".m4b;mpeg4File\r\n"
".m4v;mpeg4File\r\n"
".mac;APEFile\r\n"
- ".mlp;MLPFile\r\n"
".mk3d;MK3DFile\r\n"
".mka;MKAFile\r\n"
".mks;MKSFile\r\n"
".mkv;MKVFile\r\n"
+ ".mlp;MLPFile\r\n"
".mod;modFile\r\n"
".mov;MOVFile\r\n"
".mp+;mpcFile\r\n"
@@ -1328,6 +1363,7 @@ int Preferences::ShellToolTip()
".mpgx;mpegFile\r\n"
".mpls;MPLSFile\r\n"
".mpm;mpegFile\r\n"
+ ".mpo;JPEGFile\r\n"
".mpv;mpegFile\r\n"
".mts;mpegFile\r\n"
".mxf;MXFFile\r\n"
@@ -1336,29 +1372,43 @@ int Preferences::ShellToolTip()
".ogm;OGMFile\r\n"
".ogv;OGVFile\r\n"
".ogx;OGXFile\r\n"
+ ".oma;ATRACFile\r\n"
".opus;OpusFile\r\n"
".png;PNGFile\r\n"
+ ".pns;PNGFile\r\n"
".qcp;QCPFile\r\n"
".qt;QTFile\r\n"
".ra;RMFile\r\n"
".rm;RMFile\r\n"
".rmvb;FlashVideoFile\r\n"
+ ".shn;ShortenFile\r\n"
".smv;SMVFile\r\n"
+ ".spdif;SPDIFFile\r\n"
+ ".spx;SpeexFile\r\n"
".stl;STLFile\r\n"
".swf;FlashFile\r\n"
- ".tak;TAKFile\r\n"
+ ".tak;TakVideoFile\r\n"
+ ".thd;THDFile\r\n"
+ ".thd+ac3;THDFile\r\n"
".tif;TIFFFile\r\n"
".tiff;TIFFFile\r\n"
+ ".tmf;mpegFile\r\n"
".tp;TPFile\r\n"
+ ".trec;mpeg4File\r\n"
".trp;TRPFile\r\n"
".ts;tsFile\r\n"
".tta;TTAFile\r\n"
+ ".ty;mpegFile\r\n"
".vob;mpegFile\r\n"
+ ".vqf;VQFFile\r\n"
+ ".vro;VROFile\r\n"
".w64;W64File\r\n"
".wav;WAVFile\r\n"
- ".webM;WebMFile\r\n"
+ ".webm;WebMFile\r\n"
+ ".webp;WebPFile\r\n"
".wma;WMAFile\r\n"
".wmv;WMVFile\r\n"
+ ".wtv;WTVFile\r\n"
".wv;WCFile\r\n"
".wvc;WVCFile\r\n"
".y4m;Y4MFile\r\n"
diff --git a/Source/GUI/UWP/Package.appxmanifest b/Source/GUI/UWP/Package.appxmanifest
index 1dc3df032..619948b0e 100644
--- a/Source/GUI/UWP/Package.appxmanifest
+++ b/Source/GUI/UWP/Package.appxmanifest
@@ -48,6 +48,7 @@
.aud
.aue
.avi
+ .avif
.avs
.bdmv
.bmp
@@ -61,6 +62,7 @@
.dpg
.dff
.dsd
+ .dsf
.dts
.dtshd
.dv
@@ -68,28 +70,34 @@
.dvr-ms
.eac3
.evo
- .h3d
.f4a
.f4b
.f4v
.fla
- .flac
.flc
.fli
+ .flac
.flv
+ .gvi
.gif
.gis
- .gvi
.h264
+ .h3d
.hdmov
+ .heic
+ .heif
+ .iamf
+ .ico
.ifo
.ism
.isma
.ismv
.j2k
+ .jp2
.jpeg
.jpg
.jps
+ .jxl
.m1s
.m1t
.m1v
@@ -143,8 +151,8 @@
.shn
.smv
.spdif
- .stl
.spx
+ .stl
.swf
.tak
.thd
@@ -153,6 +161,7 @@
.tiff
.tmf
.tp
+ .trec
.trp
.ts
.tta
@@ -163,6 +172,7 @@
.w64
.wav
.webm
+ .webp
.wma
.wmv
.wtv
diff --git a/Source/Install/MediaInfo_Extensions.nsh b/Source/Install/MediaInfo_Extensions.nsh
index 29a7026be..1075b4a51 100644
--- a/Source/Install/MediaInfo_Extensions.nsh
+++ b/Source/Install/MediaInfo_Extensions.nsh
@@ -66,6 +66,7 @@
!insertmacro MediaInfo_Extensions_Install_I ".aud"
!insertmacro MediaInfo_Extensions_Install_I ".aue"
!insertmacro MediaInfo_Extensions_Install_I ".avi"
+ !insertmacro MediaInfo_Extensions_Install_I ".avif"
!insertmacro MediaInfo_Extensions_Install_I ".avs"
!insertmacro MediaInfo_Extensions_Install_I ".bdmv"
!insertmacro MediaInfo_Extensions_Install_I ".bmp"
@@ -79,6 +80,7 @@
!insertmacro MediaInfo_Extensions_Install_I ".dpg"
!insertmacro MediaInfo_Extensions_Install_I ".dff"
!insertmacro MediaInfo_Extensions_Install_I ".dsd"
+ !insertmacro MediaInfo_Extensions_Install_I ".dsf"
!insertmacro MediaInfo_Extensions_Install_I ".dts"
!insertmacro MediaInfo_Extensions_Install_I ".dtshd"
!insertmacro MediaInfo_Extensions_Install_I ".dv"
@@ -86,28 +88,34 @@
!insertmacro MediaInfo_Extensions_Install_I ".dvr-ms"
!insertmacro MediaInfo_Extensions_Install_I ".eac3"
!insertmacro MediaInfo_Extensions_Install_I ".evo"
- !insertmacro MediaInfo_Extensions_Install_I ".h3d"
!insertmacro MediaInfo_Extensions_Install_I ".f4a"
!insertmacro MediaInfo_Extensions_Install_I ".f4b"
!insertmacro MediaInfo_Extensions_Install_I ".f4v"
!insertmacro MediaInfo_Extensions_Install_I ".fla"
- !insertmacro MediaInfo_Extensions_Install_I ".flac"
!insertmacro MediaInfo_Extensions_Install_I ".flc"
!insertmacro MediaInfo_Extensions_Install_I ".fli"
+ !insertmacro MediaInfo_Extensions_Install_I ".flac"
!insertmacro MediaInfo_Extensions_Install_I ".flv"
+ !insertmacro MediaInfo_Extensions_Install_I ".gvi"
!insertmacro MediaInfo_Extensions_Install_I ".gif"
!insertmacro MediaInfo_Extensions_Install_I ".gis"
- !insertmacro MediaInfo_Extensions_Install_I ".gvi"
!insertmacro MediaInfo_Extensions_Install_I ".h264"
+ !insertmacro MediaInfo_Extensions_Install_I ".h3d"
!insertmacro MediaInfo_Extensions_Install_I ".hdmov"
+ !insertmacro MediaInfo_Extensions_Install_I ".heic"
+ !insertmacro MediaInfo_Extensions_Install_I ".heif"
+ !insertmacro MediaInfo_Extensions_Install_I ".iamf"
+ !insertmacro MediaInfo_Extensions_Install_I ".ico"
!insertmacro MediaInfo_Extensions_Install_I ".ifo"
!insertmacro MediaInfo_Extensions_Install_I ".ism"
!insertmacro MediaInfo_Extensions_Install_I ".isma"
!insertmacro MediaInfo_Extensions_Install_I ".ismv"
!insertmacro MediaInfo_Extensions_Install_I ".j2k"
+ !insertmacro MediaInfo_Extensions_Install_I ".jp2"
!insertmacro MediaInfo_Extensions_Install_I ".jpeg"
!insertmacro MediaInfo_Extensions_Install_I ".jpg"
!insertmacro MediaInfo_Extensions_Install_I ".jps"
+ !insertmacro MediaInfo_Extensions_Install_I ".jxl"
!insertmacro MediaInfo_Extensions_Install_I ".m1s"
!insertmacro MediaInfo_Extensions_Install_I ".m1t"
!insertmacro MediaInfo_Extensions_Install_I ".m1v"
@@ -161,8 +169,8 @@
!insertmacro MediaInfo_Extensions_Install_I ".shn"
!insertmacro MediaInfo_Extensions_Install_I ".smv"
!insertmacro MediaInfo_Extensions_Install_I ".spdif"
- !insertmacro MediaInfo_Extensions_Install_I ".stl"
!insertmacro MediaInfo_Extensions_Install_I ".spx"
+ !insertmacro MediaInfo_Extensions_Install_I ".stl"
!insertmacro MediaInfo_Extensions_Install_I ".swf"
!insertmacro MediaInfo_Extensions_Install_I ".tak"
!insertmacro MediaInfo_Extensions_Install_I ".thd"
@@ -182,12 +190,14 @@
!insertmacro MediaInfo_Extensions_Install_I ".w64"
!insertmacro MediaInfo_Extensions_Install_I ".wav"
!insertmacro MediaInfo_Extensions_Install_I ".webm"
+ !insertmacro MediaInfo_Extensions_Install_I ".webp"
!insertmacro MediaInfo_Extensions_Install_I ".wma"
!insertmacro MediaInfo_Extensions_Install_I ".wmv"
!insertmacro MediaInfo_Extensions_Install_I ".wtv"
!insertmacro MediaInfo_Extensions_Install_I ".wv"
!insertmacro MediaInfo_Extensions_Install_I ".wvc"
!insertmacro MediaInfo_Extensions_Install_I ".y4m"
+
!insertmacro MediaInfo_Extensions_Install_I "audio"
!insertmacro MediaInfo_Extensions_Install_I "Folder"
!insertmacro MediaInfo_Extensions_Install_I "video"
@@ -214,7 +224,10 @@
!insertmacro MediaInfo_Extensions_Uninstall_I ".3gpp"
!insertmacro MediaInfo_Extensions_Uninstall_I ".aa3"
!insertmacro MediaInfo_Extensions_Uninstall_I ".aac"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".aacp"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".adts"
!insertmacro MediaInfo_Extensions_Uninstall_I ".ac3"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".act"
!insertmacro MediaInfo_Extensions_Uninstall_I ".aif"
!insertmacro MediaInfo_Extensions_Uninstall_I ".aifc"
!insertmacro MediaInfo_Extensions_Uninstall_I ".aiff"
@@ -222,9 +235,11 @@
!insertmacro MediaInfo_Extensions_Uninstall_I ".ape"
!insertmacro MediaInfo_Extensions_Uninstall_I ".asf"
!insertmacro MediaInfo_Extensions_Uninstall_I ".at3"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".au"
!insertmacro MediaInfo_Extensions_Uninstall_I ".aud"
!insertmacro MediaInfo_Extensions_Uninstall_I ".aue"
!insertmacro MediaInfo_Extensions_Uninstall_I ".avi"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".avif"
!insertmacro MediaInfo_Extensions_Uninstall_I ".avs"
!insertmacro MediaInfo_Extensions_Uninstall_I ".bdmv"
!insertmacro MediaInfo_Extensions_Uninstall_I ".bmp"
@@ -237,6 +252,7 @@
!insertmacro MediaInfo_Extensions_Uninstall_I ".divx"
!insertmacro MediaInfo_Extensions_Uninstall_I ".dpg"
!insertmacro MediaInfo_Extensions_Uninstall_I ".dff"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".dsd"
!insertmacro MediaInfo_Extensions_Uninstall_I ".dsf"
!insertmacro MediaInfo_Extensions_Uninstall_I ".dts"
!insertmacro MediaInfo_Extensions_Uninstall_I ".dtshd"
@@ -245,18 +261,24 @@
!insertmacro MediaInfo_Extensions_Uninstall_I ".dvr-ms"
!insertmacro MediaInfo_Extensions_Uninstall_I ".eac3"
!insertmacro MediaInfo_Extensions_Uninstall_I ".evo"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".f4a"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".f4b"
!insertmacro MediaInfo_Extensions_Uninstall_I ".f4v"
!insertmacro MediaInfo_Extensions_Uninstall_I ".fla"
- !insertmacro MediaInfo_Extensions_Uninstall_I ".flac"
!insertmacro MediaInfo_Extensions_Uninstall_I ".flc"
!insertmacro MediaInfo_Extensions_Uninstall_I ".fli"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".flac"
!insertmacro MediaInfo_Extensions_Uninstall_I ".flv"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".gvi"
!insertmacro MediaInfo_Extensions_Uninstall_I ".gif"
!insertmacro MediaInfo_Extensions_Uninstall_I ".gis"
- !insertmacro MediaInfo_Extensions_Uninstall_I ".gvi"
!insertmacro MediaInfo_Extensions_Uninstall_I ".h264"
!insertmacro MediaInfo_Extensions_Uninstall_I ".h3d"
!insertmacro MediaInfo_Extensions_Uninstall_I ".hdmov"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".heic"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".heif"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".iamf"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".ico"
!insertmacro MediaInfo_Extensions_Uninstall_I ".ifo"
!insertmacro MediaInfo_Extensions_Uninstall_I ".ism"
!insertmacro MediaInfo_Extensions_Uninstall_I ".isma"
@@ -266,6 +288,7 @@
!insertmacro MediaInfo_Extensions_Uninstall_I ".jpeg"
!insertmacro MediaInfo_Extensions_Uninstall_I ".jpg"
!insertmacro MediaInfo_Extensions_Uninstall_I ".jps"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".jxl"
!insertmacro MediaInfo_Extensions_Uninstall_I ".m1s"
!insertmacro MediaInfo_Extensions_Uninstall_I ".m1t"
!insertmacro MediaInfo_Extensions_Uninstall_I ".m1v"
@@ -280,7 +303,6 @@
!insertmacro MediaInfo_Extensions_Uninstall_I ".mac"
!insertmacro MediaInfo_Extensions_Uninstall_I ".mk3d"
!insertmacro MediaInfo_Extensions_Uninstall_I ".mka"
- !insertmacro MediaInfo_Extensions_Uninstall_I ".mk3d"
!insertmacro MediaInfo_Extensions_Uninstall_I ".mks"
!insertmacro MediaInfo_Extensions_Uninstall_I ".mkv"
!insertmacro MediaInfo_Extensions_Uninstall_I ".mlp"
@@ -341,12 +363,14 @@
!insertmacro MediaInfo_Extensions_Uninstall_I ".w64"
!insertmacro MediaInfo_Extensions_Uninstall_I ".wav"
!insertmacro MediaInfo_Extensions_Uninstall_I ".webm"
+ !insertmacro MediaInfo_Extensions_Uninstall_I ".webp"
!insertmacro MediaInfo_Extensions_Uninstall_I ".wma"
!insertmacro MediaInfo_Extensions_Uninstall_I ".wmv"
!insertmacro MediaInfo_Extensions_Uninstall_I ".wtv"
!insertmacro MediaInfo_Extensions_Uninstall_I ".wv"
!insertmacro MediaInfo_Extensions_Uninstall_I ".wvc"
!insertmacro MediaInfo_Extensions_Uninstall_I ".y4m"
+
!insertmacro MediaInfo_Extensions_Uninstall_I "audio"
!insertmacro MediaInfo_Extensions_Uninstall_I "Folder"
!insertmacro MediaInfo_Extensions_Uninstall_I "video"
diff --git a/Source/WindowsQtPackage/AppxManifest.xml b/Source/WindowsQtPackage/AppxManifest.xml
index 77ed1fc47..716478599 100644
--- a/Source/WindowsQtPackage/AppxManifest.xml
+++ b/Source/WindowsQtPackage/AppxManifest.xml
@@ -102,6 +102,12 @@
+
+
+
+
+
+
@@ -120,6 +126,9 @@
+
+
+
@@ -132,6 +141,9 @@
+
+
+
@@ -198,6 +210,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -225,6 +249,9 @@
+
+
+
@@ -444,7 +471,10 @@
-
+
+
+
+