Changeset 32979 for trunk/src/wp-includes/ID3/module.tag.lyrics3.php
- Timestamp:
- 06/28/2015 12:16:17 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ID3/module.tag.lyrics3.php
r29734 r32979 102 102 103 103 if (!isset($info['ape'])) { 104 $GETID3_ERRORARRAY = &$info['warning']; 105 getid3_lib::IncludeDependency(GETID3_INCLUDEPATH.'module.tag.apetag.php', __FILE__, true); 106 $getid3_temp = new getID3(); 107 $getid3_temp->openfile($this->getid3->filename); 108 $getid3_apetag = new getid3_apetag($getid3_temp); 109 $getid3_apetag->overrideendoffset = $info['lyrics3']['tag_offset_start']; 110 $getid3_apetag->Analyze(); 111 if (!empty($getid3_temp->info['ape'])) { 112 $info['ape'] = $getid3_temp->info['ape']; 113 } 114 if (!empty($getid3_temp->info['replay_gain'])) { 115 $info['replay_gain'] = $getid3_temp->info['replay_gain']; 116 } 117 unset($getid3_temp, $getid3_apetag); 104 if (isset($info['lyrics3']['tag_offset_start'])) { 105 $GETID3_ERRORARRAY = &$info['warning']; 106 getid3_lib::IncludeDependency(GETID3_INCLUDEPATH.'module.tag.apetag.php', __FILE__, true); 107 $getid3_temp = new getID3(); 108 $getid3_temp->openfile($this->getid3->filename); 109 $getid3_apetag = new getid3_apetag($getid3_temp); 110 $getid3_apetag->overrideendoffset = $info['lyrics3']['tag_offset_start']; 111 $getid3_apetag->Analyze(); 112 if (!empty($getid3_temp->info['ape'])) { 113 $info['ape'] = $getid3_temp->info['ape']; 114 } 115 if (!empty($getid3_temp->info['replay_gain'])) { 116 $info['replay_gain'] = $getid3_temp->info['replay_gain']; 117 } 118 unset($getid3_temp, $getid3_apetag); 119 } else { 120 $info['warning'][] = 'Lyrics3 and APE tags appear to have become entangled (most likely due to updating the APE tags with a non-Lyrics3-aware tagger)'; 121 } 118 122 } 119 123
Note: See TracChangeset
for help on using the changeset viewer.