forked from Borewit/music-metadata
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Borewit#1291 from Borewit/aiff-text-chunks
Add AIFF text chunk support, resulting in AIFF metadata & mapping
- Loading branch information
Showing
8 changed files
with
167 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { INativeTagMap } from '../common/GenericTagTypes.js'; | ||
import { CommonTagMapper } from '../common/GenericTagMapper.js'; | ||
|
||
/** | ||
* ID3v1 tag mappings | ||
*/ | ||
const tagMap: INativeTagMap = { | ||
NAME: 'title', | ||
AUTH: 'artist', | ||
'(c) ': 'copyright', | ||
ANNO: 'comment' | ||
}; | ||
|
||
export class AiffTagMapper extends CommonTagMapper { | ||
|
||
public constructor() { | ||
super(['AIFF'], tagMap); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters