parent
69913ce25d
commit
c7d42c12d0
|
@ -246,7 +246,7 @@ namespace GarrysMod.AddonCreator.Addon
|
||||||
.ToDictionary(i => i.Key, i => i.Value);
|
.ToDictionary(i => i.Key, i => i.Value);
|
||||||
|
|
||||||
files = files
|
files = files
|
||||||
.Select(f => Assembly.LoadFrom("taglib-sharp.dll")
|
.Select(f => typeof(SupportedMimeType).Assembly
|
||||||
.GetTypes()
|
.GetTypes()
|
||||||
.Where(t => t.IsSubclassOf(typeof (TagLib.File)))
|
.Where(t => t.IsSubclassOf(typeof (TagLib.File)))
|
||||||
.Any(mediaSupport => mediaSupport.GetCustomAttributes(typeof (SupportedMimeType), false)
|
.Any(mediaSupport => mediaSupport.GetCustomAttributes(typeof (SupportedMimeType), false)
|
||||||
|
|
Loading…
Reference in New Issue