music-metadata
Advanced tools
Comparing version 0.7.4 to 0.7.5
@@ -14,2 +14,3 @@ "use strict"; | ||
var path = require("path"); | ||
var AiffParser_1 = require("./aiff/AiffParser"); | ||
var ParserFactory = (function () { | ||
@@ -74,2 +75,3 @@ function ParserFactory() { | ||
return es6_promise_1.Promise.resolve(new APEv2Parser_1.APEv2Parser()); | ||
case '.aac': | ||
case '.mp4': | ||
@@ -86,2 +88,4 @@ case '.m4a': | ||
return es6_promise_1.Promise.resolve(new OggParser_1.OggParser()); | ||
case '.aiff': | ||
return es6_promise_1.Promise.resolve(new AiffParser_1.AIFFParser()); | ||
default: | ||
@@ -105,2 +109,5 @@ throw new Error("Extension " + extension + " not supported."); | ||
return es6_promise_1.Promise.resolve(new OggParser_1.OggParser()); | ||
case 'audio/aac': | ||
case 'audio/aacp': | ||
return es6_promise_1.Promise.resolve(new MP4Parser_1.MP4Parser()); | ||
default: | ||
@@ -107,0 +114,0 @@ throw new Error("MIME-Type: " + mimeType + " not supported."); |
{ | ||
"name": "music-metadata", | ||
"description": "Streaming music metadata parser for node and the browser.", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Borewit", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
505092
58
4222