OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 importScripts('function_sequence.js'); | 5 importScripts('function_sequence.js'); |
6 importScripts('function_parallel.js'); | 6 importScripts('function_parallel.js'); |
7 importScripts('util.js'); | |
8 | 7 |
9 function Id3Parser(parent) { | 8 function Id3Parser(parent) { |
10 MetadataParser.call(this, parent, 'id3', /\.(mp3)$/i); | 9 MetadataParser.call(this, parent, 'id3', /\.(mp3)$/i); |
11 } | 10 } |
12 | 11 |
13 Id3Parser.prototype = {__proto__: MetadataParser.prototype}; | 12 Id3Parser.prototype = {__proto__: MetadataParser.prototype}; |
14 | 13 |
15 /** | 14 /** |
16 * Reads synchsafe integer. | 15 * Reads synchsafe integer. |
17 * 'SynchSafe' term is taken from id3 documentation. | 16 * 'SynchSafe' term is taken from id3 documentation. |
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 TYER: 'ID3_YEAR', | 670 TYER: 'ID3_YEAR', |
672 WCOP: 'ID3_COPYRIGHT', | 671 WCOP: 'ID3_COPYRIGHT', |
673 WOAF: 'ID3_OFFICIAL_AUDIO_FILE_WEBPAGE', | 672 WOAF: 'ID3_OFFICIAL_AUDIO_FILE_WEBPAGE', |
674 WOAR: 'ID3_OFFICIAL_ARTIST', | 673 WOAR: 'ID3_OFFICIAL_ARTIST', |
675 WOAS: 'ID3_OFFICIAL_AUDIO_SOURCE_WEBPAGE', | 674 WOAS: 'ID3_OFFICIAL_AUDIO_SOURCE_WEBPAGE', |
676 WPUB: 'ID3_PUBLISHERS_OFFICIAL_WEBPAGE' | 675 WPUB: 'ID3_PUBLISHERS_OFFICIAL_WEBPAGE' |
677 } | 676 } |
678 }; | 677 }; |
679 | 678 |
680 MetadataDispatcher.registerParserClass(Id3Parser); | 679 MetadataDispatcher.registerParserClass(Id3Parser); |
OLD | NEW |