How to write BPM?? Cannot find tag array list ANYWHERE

The place for "I can't figure out how to..." questions.
Post Reply
CamaroMan
User
Posts: 3
Joined: Thu Oct 22, 2015 1:33 am
Are you a spambot?: no

How to write BPM?? Cannot find tag array list ANYWHERE

Post by CamaroMan » Thu Oct 22, 2015 6:27 pm

I have been trying to figure out how to write bpm, such a simple thing!

Do i have to manually enter the correct id3 array :

'tags' => array('bpm'=>'200')

or what?

Why is there no sticky with pre defined list of tags we can add to $TagData??

CamaroMan
User
Posts: 3
Joined: Thu Oct 22, 2015 1:33 am
Are you a spambot?: no

Re: How to write BPM?? Cannot find tag array list ANYWHERE

Post by CamaroMan » Thu Oct 22, 2015 7:40 pm

found it after 5 hours!

beats_per_minute -

look in the write.id3v2.php around lines 1907 on:

$ID3v2ShortFrameNameLookup[2]['comment'] = 'COM';
$ID3v2ShortFrameNameLookup[2]['album'] = 'TAL';
$ID3v2ShortFrameNameLookup[2]['beats_per_minute'] = 'TBP';
$ID3v2ShortFrameNameLookup[2]['composer'] = 'TCM';
$ID3v2ShortFrameNameLookup[2]['genre'] = 'TCO';
$ID3v2ShortFrameNameLookup[2]['itunescompilation'] = 'TCP';
$ID3v2ShortFrameNameLookup[2]['copyright'] = 'TCR';
$ID3v2ShortFrameNameLookup[2]['encoded_by'] = 'TEN';
$ID3v2ShortFrameNameLookup[2]['language'] = 'TLA';
$ID3v2ShortFrameNameLookup[2]['length'] = 'TLE';
$ID3v2ShortFrameNameLookup[2]['original_artist'] = 'TOA';
$ID3v2ShortFrameNameLookup[2]['original_filename'] = 'TOF';
$ID3v2ShortFrameNameLookup[2]['original_lyricist'] = 'TOL';
$ID3v2ShortFrameNameLookup[2]['original_album_title'] = 'TOT';
$ID3v2ShortFrameNameLookup[2]['artist'] = 'TP1';
$ID3v2ShortFrameNameLookup[2]['band'] = 'TP2';
$ID3v2ShortFrameNameLookup[2]['conductor'] = 'TP3';
$ID3v2ShortFrameNameLookup[2]['remixer'] = 'TP4';
$ID3v2ShortFrameNameLookup[2]['publisher'] = 'TPB';
$ID3v2ShortFrameNameLookup[2]['isrc'] = 'TRC';
$ID3v2ShortFrameNameLookup[2]['tracknumber'] = 'TRK';
$ID3v2ShortFrameNameLookup[2]['track_number'] = 'TRK';
$ID3v2ShortFrameNameLookup[2]['size'] = 'TSI';
$ID3v2ShortFrameNameLookup[2]['encoder_settings'] = 'TSS';
$ID3v2ShortFrameNameLookup[2]['description'] = 'TT1';
$ID3v2ShortFrameNameLookup[2]['title'] = 'TT2';
$ID3v2ShortFrameNameLookup[2]['subtitle'] = 'TT3';
$ID3v2ShortFrameNameLookup[2]['lyricist'] = 'TXT';
$ID3v2ShortFrameNameLookup[2]['user_text'] = 'TXX';
$ID3v2ShortFrameNameLookup[2]['year'] = 'TYE';
$ID3v2ShortFrameNameLookup[2]['unique_file_identifier'] = 'UFI';
$ID3v2ShortFrameNameLookup[2]['unsynchronised_lyrics'] = 'ULT';
$ID3v2ShortFrameNameLookup[2]['url_file'] = 'WAF';
$ID3v2ShortFrameNameLookup[2]['url_artist'] = 'WAR';
$ID3v2ShortFrameNameLookup[2]['url_source'] = 'WAS';
$ID3v2ShortFrameNameLookup[2]['copyright_information'] = 'WCP';
$ID3v2ShortFrameNameLookup[2]['url_publisher'] = 'WPB';
$ID3v2ShortFrameNameLookup[2]['url_user'] = 'WXX';

// The following are common to ID3v2.3 and ID3v2.4
$ID3v2ShortFrameNameLookup[3]['audio_encryption'] = 'AENC';
$ID3v2ShortFrameNameLookup[3]['attached_picture'] = 'APIC';
$ID3v2ShortFrameNameLookup[3]['picture'] = 'APIC';
$ID3v2ShortFrameNameLookup[3]['comment'] = 'COMM';
$ID3v2ShortFrameNameLookup[3]['commercial'] = 'COMR';
$ID3v2ShortFrameNameLookup[3]['encryption_method_registration'] = 'ENCR';
$ID3v2ShortFrameNameLookup[3]['event_timing_codes'] = 'ETCO';
$ID3v2ShortFrameNameLookup[3]['general_encapsulated_object'] = 'GEOB';
$ID3v2ShortFrameNameLookup[3]['group_identification_registration'] = 'GRID';
$ID3v2ShortFrameNameLookup[3]['linked_information'] = 'LINK';
$ID3v2ShortFrameNameLookup[3]['music_cd_identifier'] = 'MCDI';
$ID3v2ShortFrameNameLookup[3]['mpeg_location_lookup_table'] = 'MLLT';
$ID3v2ShortFrameNameLookup[3]['ownership'] = 'OWNE';
$ID3v2ShortFrameNameLookup[3]['play_counter'] = 'PCNT';
$ID3v2ShortFrameNameLookup[3]['popularimeter'] = 'POPM';
$ID3v2ShortFrameNameLookup[3]['position_synchronisation'] = 'POSS';
$ID3v2ShortFrameNameLookup[3]['private'] = 'PRIV';
$ID3v2ShortFrameNameLookup[3]['recommended_buffer_size'] = 'RBUF';
$ID3v2ShortFrameNameLookup[3]['reverb'] = 'RVRB';
$ID3v2ShortFrameNameLookup[3]['synchronised_lyrics'] = 'SYLT';
$ID3v2ShortFrameNameLookup[3]['synchronised_tempo_codes'] = 'SYTC';
$ID3v2ShortFrameNameLookup[3]['album'] = 'TALB';
$ID3v2ShortFrameNameLookup[3]['beats_per_minute'] = 'TBPM';
$ID3v2ShortFrameNameLookup[3]['itunescompilation'] = 'TCMP';
$ID3v2ShortFrameNameLookup[3]['composer'] = 'TCOM';
$ID3v2ShortFrameNameLookup[3]['genre'] = 'TCON';
$ID3v2ShortFrameNameLookup[3]['copyright'] = 'TCOP';
$ID3v2ShortFrameNameLookup[3]['playlist_delay'] = 'TDLY';
$ID3v2ShortFrameNameLookup[3]['encoded_by'] = 'TENC';
$ID3v2ShortFrameNameLookup[3]['lyricist'] = 'TEXT';
$ID3v2ShortFrameNameLookup[3]['file_type'] = 'TFLT';
$ID3v2ShortFrameNameLookup[3]['content_group_description'] = 'TIT1';
$ID3v2ShortFrameNameLookup[3]['title'] = 'TIT2';
$ID3v2ShortFrameNameLookup[3]['subtitle'] = 'TIT3';
$ID3v2ShortFrameNameLookup[3]['initial_key'] = 'TKEY';
$ID3v2ShortFrameNameLookup[3]['language'] = 'TLAN';
$ID3v2ShortFrameNameLookup[3]['length'] = 'TLEN';
$ID3v2ShortFrameNameLookup[3]['media_type'] = 'TMED';
$ID3v2ShortFrameNameLookup[3]['original_album_title'] = 'TOAL';
$ID3v2ShortFrameNameLookup[3]['original_filename'] = 'TOFN';
$ID3v2ShortFrameNameLookup[3]['original_lyricist'] = 'TOLY';
$ID3v2ShortFrameNameLookup[3]['original_artist'] = 'TOPE';
$ID3v2ShortFrameNameLookup[3]['file_owner'] = 'TOWN';
$ID3v2ShortFrameNameLookup[3]['artist'] = 'TPE1';
$ID3v2ShortFrameNameLookup[3]['band'] = 'TPE2';
$ID3v2ShortFrameNameLookup[3]['conductor'] = 'TPE3';
$ID3v2ShortFrameNameLookup[3]['remixer'] = 'TPE4';
$ID3v2ShortFrameNameLookup[3]['part_of_a_set'] = 'TPOS';
$ID3v2ShortFrameNameLookup[3]['publisher'] = 'TPUB';
$ID3v2ShortFrameNameLookup[3]['tracknumber'] = 'TRCK';
$ID3v2ShortFrameNameLookup[3]['track_number'] = 'TRCK';
$ID3v2ShortFrameNameLookup[3]['internet_radio_station_name'] = 'TRSN';
$ID3v2ShortFrameNameLookup[3]['internet_radio_station_owner'] = 'TRSO';
$ID3v2ShortFrameNameLookup[3]['isrc'] = 'TSRC';
$ID3v2ShortFrameNameLookup[3]['encoder_settings'] = 'TSSE';
$ID3v2ShortFrameNameLookup[3]['user_text'] = 'TXXX';
$ID3v2ShortFrameNameLookup[3]['unique_file_identifier'] = 'UFID';
$ID3v2ShortFrameNameLookup[3]['terms_of_use'] = 'USER';
$ID3v2ShortFrameNameLookup[3]['unsynchronised_lyrics'] = 'USLT';
$ID3v2ShortFrameNameLookup[3]['commercial'] = 'WCOM';
$ID3v2ShortFrameNameLookup[3]['copyright_information'] = 'WCOP';
$ID3v2ShortFrameNameLookup[3]['url_file'] = 'WOAF';
$ID3v2ShortFrameNameLookup[3]['url_artist'] = 'WOAR';
$ID3v2ShortFrameNameLookup[3]['url_source'] = 'WOAS';
$ID3v2ShortFrameNameLookup[3]['url_station'] = 'WORS';
$ID3v2ShortFrameNameLookup[3]['payment'] = 'WPAY';
$ID3v2ShortFrameNameLookup[3]['url_publisher'] = 'WPUB';
$ID3v2ShortFrameNameLookup[3]['url_user'] = 'WXXX';

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests