import net.pterodactylus.demoscenemusic.data.Base;
import net.pterodactylus.demoscenemusic.data.Properties;
+import net.pterodactylus.demoscenemusic.utils.AudioCodecs;
import net.pterodactylus.util.template.Accessor;
import net.pterodactylus.util.template.TemplateContext;
@Override
public Object get(TemplateContext templateContext, Object object, String member) {
Properties properties = (Properties) object;
+ if ("audio/codec".equals(member)) {
+ return AudioCodecs.codecDescriptions.get(properties.get(member));
+ }
return properties.get(member);
}