music-metadata-browser
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -58,6 +58,21 @@ // Generated by dts-bundle v0.7.3 | ||
year?: number; | ||
/** | ||
* Track title | ||
*/ | ||
title?: string; | ||
/** | ||
* Track, maybe several artists written in a single string. | ||
*/ | ||
artist?: string; | ||
/** | ||
* Track artists, aims to capture every artist in a different string. | ||
*/ | ||
artists?: string[]; | ||
/** | ||
* Track album artists | ||
*/ | ||
albumartist?: string; | ||
/** | ||
* Album title | ||
*/ | ||
album?: string; | ||
@@ -76,21 +91,81 @@ /** | ||
originalyear?: number; | ||
/** | ||
* List of comments | ||
*/ | ||
comment?: string[]; | ||
/** | ||
* Genre | ||
*/ | ||
genre?: string[]; | ||
/** | ||
* Embedded album art | ||
*/ | ||
picture?: IPicture[]; | ||
/** | ||
* Track composer | ||
*/ | ||
composer?: string[]; | ||
/** | ||
* Lyrics | ||
*/ | ||
lyrics?: string[]; | ||
/** | ||
* Album title, formatted for alphabetic ordering | ||
*/ | ||
albumsort?: string; | ||
/** | ||
* Track title, formatted for alphabetic ordering | ||
*/ | ||
titlesort?: string; | ||
/** | ||
* The canonical title of the work | ||
*/ | ||
work?: string; | ||
/** | ||
* Track artist, formatted for alphabetic ordering | ||
*/ | ||
artistsort?: string; | ||
/** | ||
* Album artist, formatted for alphabetic ordering | ||
*/ | ||
albumartistsort?: string; | ||
/** | ||
* Composer(s), formatted for alphabetic ordering | ||
*/ | ||
composersort?: string[]; | ||
/** | ||
* Lyricist(s) | ||
*/ | ||
lyricist?: string[]; | ||
/** | ||
* Writer(s) | ||
*/ | ||
writer?: string[]; | ||
/** | ||
* Conductor(s) | ||
*/ | ||
conductor?: string[]; | ||
/** | ||
* Remixer(s) | ||
*/ | ||
remixer?: string[]; | ||
/** | ||
* Arranger(s) | ||
*/ | ||
arranger?: string[]; | ||
/** | ||
* Engineer(s) | ||
*/ | ||
engineer?: string[]; | ||
/** | ||
* Producer(s) | ||
*/ | ||
producer?: string[]; | ||
/** | ||
* Mix-DJ(s) | ||
*/ | ||
djmixer?: string[]; | ||
/** | ||
* Mixed by | ||
*/ | ||
mixer?: string[]; | ||
@@ -107,7 +182,34 @@ technician?: string[]; | ||
bpm?: string; | ||
/** | ||
* Keywords to reflect the mood of the audio, e.g. 'Romantic' or 'Sad' | ||
*/ | ||
mood?: string; | ||
/** | ||
* Release format, e.g. 'CD' | ||
*/ | ||
media?: string; | ||
/** | ||
* Release catalog number(s) | ||
*/ | ||
catalognumber?: string[]; | ||
show?: string; | ||
showsort?: string; | ||
/** | ||
* TV show title | ||
*/ | ||
tvShow?: string; | ||
/** | ||
* TV show title, formatted for alphabetic ordering | ||
*/ | ||
tvShowSort?: string; | ||
/** | ||
* TV season title | ||
*/ | ||
tvSeason?: string; | ||
/** | ||
* TV episode ID | ||
*/ | ||
tvEpisodeID?: string; | ||
/** | ||
* TV network | ||
*/ | ||
tvNetwork?: string; | ||
podcast?: string; | ||
@@ -347,3 +449,3 @@ podcasturl?: string; | ||
export type TagType = 'vorbis' | 'ID3v1' | 'ID3v2.2' | 'ID3v2.3' | 'ID3v2.4' | 'APEv2' | 'asf' | 'iTunes MP4' | 'exif'; | ||
export type TagType = 'vorbis' | 'ID3v1' | 'ID3v2.2' | 'ID3v2.3' | 'ID3v2.4' | 'APEv2' | 'asf' | 'iTunes' | 'exif'; | ||
export interface IGenericTag { | ||
@@ -353,3 +455,3 @@ id: GenericTagId; | ||
} | ||
export type GenericTagId = 'track' | 'disk' | 'year' | 'title' | 'artist' | 'artists' | 'albumartist' | 'album' | 'date' | 'originaldate' | 'originalyear' | 'comment' | 'genre' | 'picture' | 'composer' | 'lyrics' | 'albumsort' | 'titlesort' | 'work' | 'artistsort' | 'albumartistsort' | 'composersort' | 'lyricist' | 'writer' | 'conductor' | 'remixer' | 'arranger' | 'engineer' | 'technician' | 'producer' | 'djmixer' | 'mixer' | 'label' | 'grouping' | 'subtitle' | 'discsubtitle' | 'totaltracks' | 'totaldiscs' | 'compilation' | 'rating' | 'bpm' | 'mood' | 'media' | 'catalognumber' | 'show' | 'showsort' | 'podcast' | 'podcasturl' | 'releasestatus' | 'releasetype' | 'releasecountry' | 'script' | 'language' | 'copyright' | 'license' | 'encodedby' | 'encodersettings' | 'gapless' | 'barcode' | 'isrc' | 'asin' | 'musicbrainz_recordingid' | 'musicbrainz_trackid' | 'musicbrainz_albumid' | 'musicbrainz_artistid' | 'musicbrainz_albumartistid' | 'musicbrainz_releasegroupid' | 'musicbrainz_workid' | 'musicbrainz_trmid' | 'musicbrainz_discid' | 'acoustid_id' | 'acoustid_fingerprint' | 'musicip_puid' | 'musicip_fingerprint' | 'website' | 'performer:instrument' | 'peakLevel' | 'averageLevel' | 'notes' | 'key' | 'originalalbum' | 'originalartist' | 'discogs_artist_id' | 'discogs_label_id' | 'discogs_master_release_id' | 'discogs_rating' | 'discogs_release_id' | 'discogs_votes' | 'replaygain_track_gain' | 'replaygain_track_peak'; | ||
export type GenericTagId = 'track' | 'disk' | 'year' | 'title' | 'artist' | 'artists' | 'albumartist' | 'album' | 'date' | 'originaldate' | 'originalyear' | 'comment' | 'genre' | 'picture' | 'composer' | 'lyrics' | 'albumsort' | 'titlesort' | 'work' | 'artistsort' | 'albumartistsort' | 'composersort' | 'lyricist' | 'writer' | 'conductor' | 'remixer' | 'arranger' | 'engineer' | 'technician' | 'producer' | 'djmixer' | 'mixer' | 'label' | 'grouping' | 'subtitle' | 'discsubtitle' | 'totaltracks' | 'totaldiscs' | 'compilation' | 'rating' | 'bpm' | 'mood' | 'media' | 'catalognumber' | 'tvShow' | 'tvShowSort' | 'tvEpisode' | 'tvEpisodeId' | 'tvNetwork' | 'tvSeason' | 'podcast' | 'podcasturl' | 'releasestatus' | 'releasetype' | 'releasecountry' | 'script' | 'language' | 'copyright' | 'license' | 'encodedby' | 'encodersettings' | 'gapless' | 'barcode' | 'isrc' | 'asin' | 'musicbrainz_recordingid' | 'musicbrainz_trackid' | 'musicbrainz_albumid' | 'musicbrainz_artistid' | 'musicbrainz_albumartistid' | 'musicbrainz_releasegroupid' | 'musicbrainz_workid' | 'musicbrainz_trmid' | 'musicbrainz_discid' | 'acoustid_id' | 'acoustid_fingerprint' | 'musicip_puid' | 'musicip_fingerprint' | 'website' | 'performer:instrument' | 'peakLevel' | 'averageLevel' | 'notes' | 'key' | 'originalalbum' | 'originalartist' | 'discogs_artist_id' | 'discogs_label_id' | 'discogs_master_release_id' | 'discogs_rating' | 'discogs_release_id' | 'discogs_votes' | 'replaygain_track_gain' | 'replaygain_track_peak' | 'description'; | ||
export interface INativeTagMap { | ||
@@ -356,0 +458,0 @@ [index: string]: GenericTagId; |
{ | ||
"name": "music-metadata-browser", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Browserifed version of music-metadata", | ||
@@ -55,3 +55,3 @@ "main": "dist/music-metadata.js", | ||
"dts-bundle": "^0.7.3", | ||
"music-metadata": "^2.6.2", | ||
"music-metadata": "^2.7.1", | ||
"webpack": "^4.12.1", | ||
@@ -58,0 +58,0 @@ "webpack-bundle-analyzer": "^2.13.1", |
@@ -15,8 +15,6 @@ [![Build Status](https://travis-ci.org/Borewit/music-metadata-browser.svg?branch=master)](https://travis-ci.org/Borewit/music-metadata-browser) | ||
| Audio format | Description | Wiki | | | ||
| ------------- |--------------------------------| -------------------------------------------------------------------|---| | ||
| AIFF | Audio Interchange File Format | [:link:](https://wikipedia.org/wiki/Audio_Interchange_File_Format) | | ||
| APE | Monkey's Audio | [:link:](https://wikipedia.org/wiki/Monkey's_Audio) | | ||
| APE | Monkey's Audio | [:link:](https://wikipedia.org/wiki/Monkey's_Audio) | | ||
| ASF | Advanced Systems Format | [:link:](https://wikipedia.org/wiki/Advanced_Systems_Format) | | ||
@@ -26,12 +24,10 @@ | FLAC | Free Lossless Audio Codec | [:link:](https://wikipedia.org/wiki/FLAC) | <img src="https://upload.wikimedia.org/wikipedia/commons/e/e0/Flac_logo_vector.svg" width="80"> | ||
| MP3 | MPEG-1 / MEG-2 Audio Layer III | [:link:](https://wikipedia.org/wiki/MP3) | <img src="https://upload.wikimedia.org/wikipedia/commons/e/ea/Mp3.svg" width="80"> | ||
| M4A | MPEG 4 Audio | [:link:](https://wikipedia.org/wiki/MPEG-4) | | ||
| M4A | MPEG 4 Audi | [:link:](https://wikipedia.org/wiki/MPEG-4) | | ||
| Ogg / Opos | | [:link:](https://wikipedia.org/wiki/Opus_(audio_format)) | <img src="https://upload.wikimedia.org/wikipedia/commons/0/02/Opus_logo2.svg" width="80"> | ||
| Ogg / Speex | | [:link:](https://wikipedia.org/wiki/Speex) | <img src="https://upload.wikimedia.org/wikipedia/commons/b/b5/Speex_logo_2006.svg" width="80"> | ||
| Ogg / Vorbis | | [:link:](https://wikipedia.org/wiki/Ogg_Vorbis) | <img src="https://upload.wikimedia.org/wikipedia/en/a/ac/XiphophorusLogoSVG.svg" width="80"> | ||
| WAV | | [:link:](https://wikipedia.org/wiki/WAV) | | ||
| WavPack | | [:link:](https://wikipedia.org/wiki/WavPack) | <img src="https://upload.wikimedia.org/wikipedia/commons/1/1c/WavPack_monochrome_logo.png" width="80"> | ||
| WMA | Windows Media Audio | [:link:](https://wikipedia.org/wiki/Windows_Media_Audio) | | ||
| WAV | | [:link:](https://wikipedia.org/wiki/WAV) | <img src="https://www.shareicon.net/download/2015/12/08/684232_file.svg" width="80"> | ||
| WavPack | | [:link:](https://wikipedia.org/wiki/WavPack) | <img src="http://www.wavpack.com/wavpacklogo.svg" width="80"> | ||
| WMA | Windows Media Audio | [:link:](https://wikipedia.org/wiki/Windows_Media_Audio) | <img src="https://upload.wikimedia.org/wikipedia/commons/7/76/Windows_Media_Player_simplified_logo.svg" width="80"> | ||
### Support for tags: | ||
@@ -116,3 +112,3 @@ | ||
```TypeScript | ||
```javascript | ||
import * as mm from 'music-metadata-browser'; | ||
@@ -128,3 +124,3 @@ | ||
The Web API [File interface](https://developer.mozilla.org/en-US/docs/Web/API/File) can be converted into a stream. | ||
```TypeScript | ||
```javascript | ||
import fileReaderStream from 'filereader-stream'; | ||
@@ -150,3 +146,3 @@ import * as mm from 'music-metadata-browser'; | ||
```TypeScript | ||
```javascript | ||
import * as mm from 'music-metadata-browser'; | ||
@@ -178,3 +174,3 @@ import http from "stream-http"; | ||
```TypeScript | ||
```javascript | ||
orderTags(nativeTags: ITag[]): [tagId: string]: any[] | ||
@@ -187,3 +183,3 @@ ``` | ||
```TypeScript | ||
```javascript | ||
ratingToStars(rating: number): number | ||
@@ -190,0 +186,0 @@ ``` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
359651
1380
235