Skip to content

Commit

Permalink
#83: Add technician as new common tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed May 1, 2018
1 parent c9e0c3d commit b5045cc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 26 deletions.
3 changes: 3 additions & 0 deletions doc-gen/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,5 +250,8 @@
},
"replaygain_track_gain": {
"description": "_ToDo_: difference with averageLevel"
},
"technician": {
"description": "Technician who digitized subject"
}
}
41 changes: 15 additions & 26 deletions src/common/GenericTagTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export type CommonTag =
| 'album'
| 'date'
| 'originaldate'
|
'originalyear'
| 'originalyear'
| 'comment'
| 'genre'
| 'picture'
Expand All @@ -21,82 +20,71 @@ export type CommonTag =
| 'albumsort'
| 'titlesort'
| 'work'
|
'artistsort'
| 'artistsort'
| 'albumartistsort'
| 'composersort'
| 'lyricist'
| 'writer'
| 'conductor'
| 'remixer'
|
'arranger'
| 'arranger'
| 'engineer'
| 'technician'
| 'producer'
| 'djmixer'
| 'mixer'
| 'label'
| 'grouping'
| 'subtitle'
|
'discsubtitle'
| 'discsubtitle'
| 'totaltracks'
| 'totaldiscs'
| 'compilation'
| '_rating'
| 'bpm'
|
'mood'
| 'mood'
| 'media'
| 'catalognumber'
| 'show'
| 'showsort'
| 'podcast'
| 'podcasturl'
|
'releasestatus'
| 'releasestatus'
| 'releasetype'
| 'releasecountry'
| 'script'
| 'language'
|
'copyright'
| 'copyright'
| 'license'
| 'encodedby'
| 'encodersettings'
| 'gapless'
| 'barcode'
|
'isrc'
| 'isrc'
| 'asin'
| 'musicbrainz_recordingid'
| 'musicbrainz_trackid'
| 'musicbrainz_albumid'
|
'musicbrainz_artistid'
| 'musicbrainz_artistid'
| 'musicbrainz_albumartistid'
| 'musicbrainz_releasegroupid'
|
'musicbrainz_workid'
| 'musicbrainz_workid'
| 'musicbrainz_trmid'
| 'musicbrainz_discid'
| 'acoustid_id'
|
'acoustid_fingerprint'
| 'acoustid_fingerprint'
| 'musicip_puid'
| 'musicip_fingerprint'
| 'website'
| 'performer:instrument'
|
'peakLevel'
| 'peakLevel'
| 'averageLevel'
| 'notes'
| 'key'
| 'originalalbum'
| 'originalartist'
| 'discogs_release_id'
|
'replaygain_track_gain'
| 'replaygain_track_gain'
| 'replaygain_track_peak';

export const TagPriority = ['APEv2', 'vorbis', 'ID3v2.4', 'ID3v2.3', 'ID3v2.2', 'exif', 'asf', 'iTunes MP4', 'ID3v1.1'];
Expand Down Expand Up @@ -144,6 +132,7 @@ export const commonTags: ITagInfoMap = {
arranger: {multiple: true},
engineer: {multiple: true},
producer: {multiple: true},
technician: {multiple: true},
djmixer: {multiple: true},
mixer: {multiple: true},
label: {multiple: false},
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export interface ICommonTagsResult {
producer?: string[],
djmixer?: string[],
mixer?: string[],
technician?: string[],
label?: string,
grouping?: string[],
subtitle?: string[],
Expand Down

0 comments on commit b5045cc

Please sign in to comment.