music-metadata
Advanced tools
Comparing version 0.7.6 to 0.7.7
@@ -53,2 +53,3 @@ // ASF Objects | ||
}()); | ||
exports.State = State; | ||
// ToDo: use ignore type | ||
@@ -55,0 +56,0 @@ var IgnoreObjectState = (function (_super) { |
@@ -77,2 +77,7 @@ "use strict"; | ||
case '.m4a': | ||
case '.m4b': | ||
case '.m4pa': | ||
case '.m4v': | ||
case '.m4r': | ||
case '.3gp': | ||
return es6_promise_1.Promise.resolve(new MP4Parser_1.MP4Parser()); | ||
@@ -86,2 +91,5 @@ case '.wma': | ||
case '.ogg': | ||
case '.ogv': | ||
case '.oga': | ||
case '.ogx': | ||
return es6_promise_1.Promise.resolve(new OggParser_1.OggParser()); | ||
@@ -104,2 +112,3 @@ case '.aiff': | ||
return es6_promise_1.Promise.resolve(new MP4Parser_1.MP4Parser()); | ||
case 'video/x-ms-asf': | ||
case 'audio/x-ms-wma': | ||
@@ -110,2 +119,4 @@ return es6_promise_1.Promise.resolve(new AsfParser_1.AsfParser()); | ||
case 'audio/ogg': | ||
case 'application/ogg': | ||
case 'video/ogg': | ||
return es6_promise_1.Promise.resolve(new OggParser_1.OggParser()); | ||
@@ -112,0 +123,0 @@ case 'audio/aiff': |
{ | ||
"name": "music-metadata", | ||
"description": "Streaming music metadata parser for node and the browser.", | ||
"version": "0.7.6", | ||
"version": "0.7.7", | ||
"author": { | ||
@@ -45,7 +45,8 @@ "name": "Borewit", | ||
"compile": "tsc --pretty", | ||
"lint": "tslint 'src/**/*.ts' 'test/**/*.ts'", | ||
"test-browser": "for f in test/test-*.js; do browserify -t brfs $f | testling; done", | ||
"test": "mocha --require ts-node/register test/*.ts", | ||
"lint": "tslint 'lib/**/*.ts' --exclude 'lib/**/*.d.ts' 'test/**/*.ts' --exclude 'test/**/*.d.ts'", | ||
"test": "mocha --require ts-node/register test", | ||
"prepare": "npm run compile", | ||
"verify": "npm-run-all compile lint test" | ||
"start": "npm-run-all compile lint cover-test", | ||
"cover-test": "nyc npm run test", | ||
"coveralls": "npm run cover-test && nyc report --reporter=text-lcov | coveralls" | ||
}, | ||
@@ -56,5 +57,5 @@ "dependencies": { | ||
"filereader-stream": "^1.0.0", | ||
"fs-extra": "^3.0.1", | ||
"fs-extra": "^4.0.0", | ||
"is-stream": "^1.1.0", | ||
"strtok3": "^1.0.0", | ||
"strtok3": "^1.0.3", | ||
"then-read-stream": "^0.1.0", | ||
@@ -67,10 +68,11 @@ "token-types": "0.0.1" | ||
"@types/mocha": "^2.2.41", | ||
"@types/node": "^8.0.6", | ||
"@types/node": "^8.0.13", | ||
"chai": "^4.1.0", | ||
"coveralls": "^2.13.1", | ||
"mocha": "^3.4.2", | ||
"npm-run-all": "^3.1.1", | ||
"npm-run-all": "^4.0.2", | ||
"nyc": "^11.1.0", | ||
"ts-node": "^3.2.0", | ||
"tslint": "^5.5.0", | ||
"typescript": "^2.4.1", | ||
"typings": "2.0.0" | ||
"typescript": "^2.4.1" | ||
}, | ||
@@ -77,0 +79,0 @@ "testling": { |
@@ -5,2 +5,3 @@ [![Build Status](https://travis-ci.org/Borewit/music-metadata.svg?branch=master)](https://travis-ci.org/Borewit/music-metadata) | ||
[![Dependencies](https://david-dm.org/Borewit/music-metadata.svg)](https://david-dm.org/Borewit/music-metadata) | ||
[![Coverage Status](https://coveralls.io/repos/github/Borewit/music-metadata/badge.svg?branch=master)](https://coveralls.io/github/Borewit/music-metadata?branch=master) | ||
@@ -18,11 +19,14 @@ Streaming music metadata parser for node. | ||
* Supports metadata of the following audio files: | ||
* ape (APEv2) | ||
* asf (ASF) | ||
* flac (Vorbis) | ||
* m4a (MP4, Apple iTunes) | ||
* mp3 (ID3v1, ID3v2.2, ID3v2.3, ID3v2.4) | ||
* Ogg (Vorbis) | ||
* wma (ASF) | ||
* wmv (ASF) | ||
* Supports metadata of the following audio and tag types: | ||
| File extension | MIME-type | Tag header type | | ||
| -------------------------------------- | ------------------------------ | ---------------------------------- | | ||
| ape | audio/ape | APEv2 | | ||
| asf, wma, wmv | audio/x-ms-wma, video/x-ms-asf | ASF | | ||
| flac | audio/flac | Vorbis | | ||
| m4a, m4b, m4p, m4v, m4r, 3gp, mp4, aac | audio/aac, audio/aacp | QTFF | | ||
| mp3 | audio/mpeg | ID3v1.1, ID3v2.2, ID3v2.3, ID3v2.4 | | ||
| ogv, oga, ogx, ogg | audio/ogg, application/ogg | Vorbis | | ||
* Support for [MusicBrainz](https://pages.github.com/) / [Picard](https://picard.musicbrainz.org/) [tags](https://picard.musicbrainz.org/docs/tags/) | ||
@@ -29,0 +33,0 @@ * Support for encoding / format details: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
721804
114
10406
108
12
+ Addedfs-extra@4.0.3(transitive)
+ Addedjsonfile@4.0.0(transitive)
- Removedfs-extra@3.0.1(transitive)
- Removedjsonfile@3.0.1(transitive)
Updatedfs-extra@^4.0.0
Updatedstrtok3@^1.0.3