📄 id3v24frames.java
字号:
/*
* Jaudiotagger Copyright (C)2004,2005
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
* General Public License as published by the Free Software Foundation; either version 2.1 of the License,
* or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with this library; if not,
* you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package com.hadeslee.audiotag.tag.id3;
import com.hadeslee.audiotag.tag.TagFieldKey;
import java.util.EnumMap;
/**
* Defines ID3v24 frames and collections that categorise frames.
*
* <p>You can include frames here that are not officially supported as long as they can be used within an
* ID3v24Tag
*
* @author Paul Taylor
* @version $Id: ID3v24Frames.java,v 1.12 2007/11/13 14:24:31 paultaylor Exp $
*/
public class ID3v24Frames extends ID3Frames
{
/**
* Frame IDs begining with T are text frames, & with W are url frames
*/
public static final String FRAME_ID_ACCOMPANIMENT = "TPE2";
public static final String FRAME_ID_ALBUM = "TALB";
public static final String FRAME_ID_ALBUM_SORT_ORDER = "TSOA";
public static final String FRAME_ID_ARTIST = "TPE1";
public static final String FRAME_ID_ATTACHED_PICTURE = "APIC";
public static final String FRAME_ID_AUDIO_ENCRYPTION = "AENC";
public static final String FRAME_ID_AUDIO_SEEK_POINT_INDEX = "ASPI";
public static final String FRAME_ID_BPM = "TBPM";
public static final String FRAME_ID_COMMENT = "COMM";
public static final String FRAME_ID_COMMERCIAL_FRAME = "COMR";
public static final String FRAME_ID_COMPOSER = "TCOM";
public static final String FRAME_ID_CONDUCTOR = "TPE3";
public static final String FRAME_ID_CONTENT_GROUP_DESC = "TIT1";
public static final String FRAME_ID_COPYRIGHTINFO = "TCOP";
public static final String FRAME_ID_ENCODEDBY = "TENC";
public static final String FRAME_ID_ENCODING_TIME = "TDEN";
public static final String FRAME_ID_ENCRYPTION = "ENCR";
public static final String FRAME_ID_EQUALISATION2 = "EQU2";
public static final String FRAME_ID_EVENT_TIMING_CODES = "ETCO";
public static final String FRAME_ID_FILE_OWNER = "TOWN";
public static final String FRAME_ID_FILE_TYPE = "TFLT";
public static final String FRAME_ID_GENERAL_ENCAPS_OBJECT = "GEOB";
public static final String FRAME_ID_GENRE = "TCON";
public static final String FRAME_ID_GROUP_ID_REG = "GRID";
public static final String FRAME_ID_HW_SW_SETTINGS = "TSSE";
public static final String FRAME_ID_INITIAL_KEY = "TKEY";
public static final String FRAME_ID_INVOLVED_PEOPLE = "TIPL";
public static final String FRAME_ID_ISRC = "TSRC";
public static final String FRAME_ID_LANGUAGE = "TLAN";
public static final String FRAME_ID_LENGTH = "TLEN";
public static final String FRAME_ID_LINKED_INFO = "LINK";
public static final String FRAME_ID_LYRICIST = "TEXT";
public static final String FRAME_ID_MEDIA_TYPE = "TMED";
public static final String FRAME_ID_MOOD = "TMOO";
public static final String FRAME_ID_MPEG_LOCATION_LOOKUP_TABLE = "MLLT";
public static final String FRAME_ID_MUSICIAN_CREDITS = "TMCL";
public static final String FRAME_ID_MUSIC_CD_ID = "MCDI";
public static final String FRAME_ID_ORIGARTIST = "TOPE";
public static final String FRAME_ID_ORIGINAL_RELEASE_TIME = "TDOR";
public static final String FRAME_ID_ORIG_FILENAME = "TOFN";
public static final String FRAME_ID_ORIG_LYRICIST = "TOLY";
public static final String FRAME_ID_ORIG_TITLE = "TOAL";
public static final String FRAME_ID_OWNERSHIP = "OWNE";
public static final String FRAME_ID_ARTIST_SORT_ORDER = "TSOP";
public static final String FRAME_ID_PLAYLIST_DELAY = "TDLY";
public static final String FRAME_ID_PLAY_COUNTER = "PCNT";
public static final String FRAME_ID_POPULARIMETER = "POPM";
public static final String FRAME_ID_POSITION_SYNC = "POSS";
public static final String FRAME_ID_PRIVATE = "PRIV";
public static final String FRAME_ID_PRODUCED_NOTICE = "TPRO";
public static final String FRAME_ID_PUBLISHER = "TPUB";
public static final String FRAME_ID_RADIO_NAME = "TRSN";
public static final String FRAME_ID_RADIO_OWNER = "TRSO";
public static final String FRAME_ID_RECOMMENDED_BUFFER_SIZE = "RBUF";
public static final String FRAME_ID_RELATIVE_VOLUME_ADJUSTMENT2 = "RVA2";
public static final String FRAME_ID_RELEASE_TIME = "TDRL";
public static final String FRAME_ID_REMIXED = "TPE4";
public static final String FRAME_ID_REVERB = "RVRB";
public static final String FRAME_ID_SEEK = "SEEK";
public static final String FRAME_ID_SET = "TPOS";
public static final String FRAME_ID_SET_SUBTITLE = "TSST";
public static final String FRAME_ID_SIGNATURE = "SIGN";
public static final String FRAME_ID_SYNC_LYRIC = "SYLT";
public static final String FRAME_ID_SYNC_TEMPO = "SYTC";
public static final String FRAME_ID_TAGGING_TIME = "TDTG";
public static final String FRAME_ID_TERMS_OF_USE = "USER";
public static final String FRAME_ID_TITLE = "TIT2";
public static final String FRAME_ID_TITLE_REFINEMENT = "TIT3";
public static final String FRAME_ID_TITLE_SORT_ORDER = "TSOT";
public static final String FRAME_ID_TRACK = "TRCK";
public static final String FRAME_ID_UNIQUE_FILE_ID = "UFID";
public static final String FRAME_ID_UNSYNC_LYRICS = "USLT";
public static final String FRAME_ID_URL_ARTIST_WEB = "WOAR";
public static final String FRAME_ID_URL_COMMERCIAL = "WCOM";
public static final String FRAME_ID_URL_COPYRIGHT = "WCOP";
public static final String FRAME_ID_URL_FILE_WEB = "WOAF";
public static final String FRAME_ID_URL_OFFICIAL_RADIO = "WORS";
public static final String FRAME_ID_URL_PAYMENT = "WPAY";
public static final String FRAME_ID_URL_PUBLISHERS = "WPUB";
public static final String FRAME_ID_URL_SOURCE_WEB = "WOAS";
public static final String FRAME_ID_USER_DEFINED_INFO = "TXXX";
public static final String FRAME_ID_USER_DEFINED_URL = "WXXX";
public static final String FRAME_ID_YEAR = "TDRC";
public static final String FRAME_ID_ALBUM_ARTIST_SORT_ORDER_ITUNES = "TSO2";
public static final String FRAME_ID_COMPOSER_SORT_ORDER_ITUNES = "TSOC";
public static final String FRAME_ID_IS_COMPILATION = "TCMP";
//TODO this is temporary to provide backwards comptability
public static final String FRAME_ID_PERFORMER_SORT_OWNER = FRAME_ID_ARTIST_SORT_ORDER;
public static final String FRAME_ID_TITLE_SORT_OWNER = FRAME_ID_TITLE_SORT_ORDER;
protected EnumMap<TagFieldKey, ID3v24FieldKey> tagFieldToId3 = new EnumMap<TagFieldKey,ID3v24FieldKey>(TagFieldKey.class);
private static ID3v24Frames id3v24Frames;
public static ID3v24Frames getInstanceOf()
{
if (id3v24Frames == null)
{
id3v24Frames = new ID3v24Frames();
}
return id3v24Frames;
}
private ID3v24Frames()
{
supportedFrames.add(FRAME_ID_ACCOMPANIMENT);
supportedFrames.add(FRAME_ID_ALBUM);
supportedFrames.add(FRAME_ID_ALBUM_SORT_ORDER);
supportedFrames.add(FRAME_ID_ARTIST);
supportedFrames.add(FRAME_ID_ATTACHED_PICTURE);
supportedFrames.add(FRAME_ID_AUDIO_ENCRYPTION);
supportedFrames.add(FRAME_ID_AUDIO_SEEK_POINT_INDEX);
supportedFrames.add(FRAME_ID_BPM);
supportedFrames.add(FRAME_ID_COMMENT);
supportedFrames.add(FRAME_ID_COMMERCIAL_FRAME);
supportedFrames.add(FRAME_ID_COMPOSER);
supportedFrames.add(FRAME_ID_CONDUCTOR);
supportedFrames.add(FRAME_ID_CONTENT_GROUP_DESC);
supportedFrames.add(FRAME_ID_COPYRIGHTINFO);
supportedFrames.add(FRAME_ID_ENCODEDBY);
supportedFrames.add(FRAME_ID_ENCODING_TIME);
supportedFrames.add(FRAME_ID_ENCRYPTION);
supportedFrames.add(FRAME_ID_EQUALISATION2);
supportedFrames.add(FRAME_ID_EVENT_TIMING_CODES);
supportedFrames.add(FRAME_ID_FILE_OWNER);
supportedFrames.add(FRAME_ID_FILE_TYPE);
supportedFrames.add(FRAME_ID_GENERAL_ENCAPS_OBJECT);
supportedFrames.add(FRAME_ID_GENRE);
supportedFrames.add(FRAME_ID_GROUP_ID_REG);
supportedFrames.add(FRAME_ID_HW_SW_SETTINGS);
supportedFrames.add(FRAME_ID_INITIAL_KEY);
supportedFrames.add(FRAME_ID_INVOLVED_PEOPLE);
supportedFrames.add(FRAME_ID_ISRC);
supportedFrames.add(FRAME_ID_LANGUAGE);
supportedFrames.add(FRAME_ID_LENGTH);
supportedFrames.add(FRAME_ID_LINKED_INFO);
supportedFrames.add(FRAME_ID_LYRICIST);
supportedFrames.add(FRAME_ID_MEDIA_TYPE);
supportedFrames.add(FRAME_ID_MOOD);
supportedFrames.add(FRAME_ID_MPEG_LOCATION_LOOKUP_TABLE);
supportedFrames.add(FRAME_ID_MUSIC_CD_ID);
supportedFrames.add(FRAME_ID_ORIGARTIST);
supportedFrames.add(FRAME_ID_ORIGINAL_RELEASE_TIME);
supportedFrames.add(FRAME_ID_ORIG_FILENAME);
supportedFrames.add(FRAME_ID_ORIG_LYRICIST);
supportedFrames.add(FRAME_ID_ORIG_TITLE);
supportedFrames.add(FRAME_ID_OWNERSHIP);
supportedFrames.add(FRAME_ID_ARTIST_SORT_ORDER);
supportedFrames.add(FRAME_ID_PLAYLIST_DELAY);
supportedFrames.add(FRAME_ID_PLAY_COUNTER);
supportedFrames.add(FRAME_ID_POPULARIMETER);
supportedFrames.add(FRAME_ID_POSITION_SYNC);
supportedFrames.add(FRAME_ID_PRIVATE);
supportedFrames.add(FRAME_ID_PRODUCED_NOTICE);
supportedFrames.add(FRAME_ID_PUBLISHER);
supportedFrames.add(FRAME_ID_RADIO_NAME);
supportedFrames.add(FRAME_ID_RADIO_OWNER);
supportedFrames.add(FRAME_ID_RECOMMENDED_BUFFER_SIZE);
supportedFrames.add(FRAME_ID_RELATIVE_VOLUME_ADJUSTMENT2);
supportedFrames.add(FRAME_ID_RELEASE_TIME);
supportedFrames.add(FRAME_ID_REMIXED);
supportedFrames.add(FRAME_ID_REVERB);
supportedFrames.add(FRAME_ID_SEEK);
supportedFrames.add(FRAME_ID_SET);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -