Home
last modified time | relevance | path

Searched refs:ThisFileInfo (Results 1 – 22 of 22) sorted by relevance

/plugin/jplayer/vendor/james-heinrich/getid3/demos/
Ddemo.mp3header.php1212 function CalculateCompressionRatioVideo(&$ThisFileInfo) { argument
1213 if (empty($ThisFileInfo['video'])) {
1216 …if (empty($ThisFileInfo['video']['resolution_x']) || empty($ThisFileInfo['video']['resolution_y'])…
1219 if (empty($ThisFileInfo['video']['bits_per_sample'])) {
1223 switch ($ThisFileInfo['video']['dataformat']) {
1232 $BitrateCompressed = $ThisFileInfo['filesize'] * 8;
1236 if (!empty($ThisFileInfo['video']['frame_rate'])) {
1237 $FrameRate = $ThisFileInfo['video']['frame_rate'];
1241 if (!empty($ThisFileInfo['playtime_seconds'])) {
1242 $PlaytimeSeconds = $ThisFileInfo['playtime_seconds'];
[all …]
Ddemo.simple.php38 $ThisFileInfo = $getID3->analyze($FullFileName); variable
40 $getID3->CopyTagsToComments($ThisFileInfo);
44 echo '<td>'.htmlentities($ThisFileInfo['filenamepath']).'</td>';
45 …td>' .htmlentities(!empty($ThisFileInfo['comments_html']['artist']) ? implode('<br>',…
46 …td>' .htmlentities(!empty($ThisFileInfo['comments_html']['title']) ? implode('<br>',…
47 …td align="right">'.htmlentities(!empty($ThisFileInfo['audio']['bitrate']) ? round…
48 …td align="right">'.htmlentities(!empty($ThisFileInfo['playtime_string']) ? …
Ddemo.mysqli.php297 $ThisFileInfo = $getID3->analyze($filename);
298 $getID3->CopyTagsToComments($ThisFileInfo);
301 $SourceArray = (!empty($ThisFileInfo['comments']) ? $ThisFileInfo['comments'] : array());
302 } elseif (!empty($ThisFileInfo['tags'][$synchronizefrom])) {
303 …$SourceArray = (!empty($ThisFileInfo['tags'][$synchronizefrom]) ? $ThisFileInfo['tags'][$synchroni…
465 $ThisFileInfo = $getID3->analyze($filename); variable
466 $getID3->CopyTagsToComments($ThisFileInfo);
469 $ThisFileInfo['file_modified_time'] = filemtime($filename);
470 $ThisFileInfo['md5_file'] = ($getid3_demo_mysqli_md5_file ? md5_file($filename) : '');
473 if (empty($ThisFileInfo['fileformat'])) {
[all …]
Ddemo.basic.php24 $ThisFileInfo = $getID3->analyze($filename); variable
31 $getID3->CopyTagsToComments($ThisFileInfo);
Ddemo.browse.php95 $ThisFileInfo = $getID3->analyze($_REQUEST['filename']); variable
96 …$AutoGetHashes = (bool) (isset($ThisFileInfo['filesize']) && ($ThisFileInfo['filesize'] > 0) && ($
99 $ThisFileInfo['md5_file'] = md5_file($_REQUEST['filename']);
100 $ThisFileInfo['sha1_file'] = sha1_file($_REQUEST['filename']);
104 $getID3->CopyTagsToComments($ThisFileInfo);
121 getid3_lib::ksort_recursive($ThisFileInfo);
122 echo table_var_dump($ThisFileInfo, false, $PageEncoding);
/plugin/jukebox/id3/
Dmodule.audio.mp3.php29 function getid3_mp3(&$fd, &$ThisFileInfo) { argument
31 if (!$this->getOnlyMPEGaudioInfo($fd, $ThisFileInfo, $ThisFileInfo['avdataoffset'])) {
33 $ThisFileInfo['error'][] = 'Rescanning file in BruteForce mode';
34 $this->getOnlyMPEGaudioInfoBruteForce($fd, $ThisFileInfo);
39 if (isset($ThisFileInfo['mpeg']['audio']['bitrate_mode'])) {
40 …$ThisFileInfo['audio']['bitrate_mode'] = strtolower($ThisFileInfo['mpeg']['audio']['bitrate_mode']…
43ThisFileInfo['id3v2']['headerlength']) && ($ThisFileInfo['avdataoffset'] > $ThisFileInfo['id3v2'][…
46 if (isset($ThisFileInfo['id3v2']['headerlength'])) {
47 ….= '(ID3v2 header ends at '.$ThisFileInfo['id3v2']['headerlength'].', then '.($ThisFileInfo['avdat…
51 $synchoffsetwarning .= 'synch detected at '.$ThisFileInfo['avdataoffset'].')';
[all …]
Dmodule.audio-video.flv.php41 function getid3_flv(&$fd, &$ThisFileInfo, $ReturnAllTagData=false) { argument
42 fseek($fd, $ThisFileInfo['avdataoffset'], SEEK_SET);
44 $FLVdataLength = $ThisFileInfo['avdataend'] - $ThisFileInfo['avdataoffset'];
47 $ThisFileInfo['fileformat'] = 'flv';
48 $ThisFileInfo['flv']['header']['signature'] = substr($FLVheader, 0, 3);
49 $ThisFileInfo['flv']['header']['version'] = getid3_lib::BigEndian2Int(substr($FLVheader, 3, 1));
52 if ($ThisFileInfo['flv']['header']['signature'] != 'FLV') {
53 …$ThisFileInfo['error'][] = 'Expecting "FLV" at offset '.$ThisFileInfo['avdataoffset'].', found "'.…
54 unset($ThisFileInfo['flv']);
55 unset($ThisFileInfo['fileformat']);
[all …]
Dmodule.tag.id3v2.php21 function getid3_id3v2(&$fd, &$ThisFileInfo, $StartingOffset=0) { argument
45 $ThisFileInfo['id3v2']['header'] = true;
46 $thisfile_id3v2 = &$ThisFileInfo['id3v2'];
63 unset($ThisFileInfo['id3v2']);
70 …$ThisFileInfo['error'][] = 'this script only parses up to ID3v2.4.x - this tag is ID3v2.'.$id3v2_m…
236 …$ThisFileInfo['warning'][] = 'Invalid ID3v2 padding found at offset '.$thisfile_id3v2['padding']['…
276 …$ThisFileInfo['warning'][] = 'ID3v2 tag written as ID3v2.4, but with non-synchsafe integers (ID3v2…
298 …$ThisFileInfo['warning'][] = 'Invalid ID3v2 padding found at offset '.$thisfile_id3v2['padding']['…
306 …$ThisFileInfo['warning'][] = 'error parsing "'.$frame_name.'" ('.$framedataoffset.' bytes into the…
318 $this->ParseID3v2Frame($parsedFrame, $ThisFileInfo);
[all …]
Dmodule.tag.id3v1.php20 function getid3_id3v1(&$fd, &$ThisFileInfo) { argument
28 $ThisFileInfo['avdataend'] = $ThisFileInfo['filesize'] - 128;
69 $ThisFileInfo['warning'][] = 'Some ID3v1 fields do not use NULL characters for padding';
72 $ParsedID3v1['tag_offset_end'] = $ThisFileInfo['filesize'];
75 $ThisFileInfo['id3v1'] = $ParsedID3v1;
91 …$ThisFileInfo['warning'][] = 'Duplicate ID3v1 tag detected - this has been known to happen with iT…
92 $ThisFileInfo['avdataend'] -= 128;
Dgetid3.lib.php637 …$ThisFileInfo['warning'][] = 'PHP running in Safe Mode - backtick operator not available, using sl…
1187 function CopyTagsToComments(&$ThisFileInfo) { argument
1190 if (!empty($ThisFileInfo['tags'])) {
1191 foreach ($ThisFileInfo['tags'] as $tagtype => $tagarray) {
1195 if (empty($ThisFileInfo['comments'][$tagname])) {
1202 foreach ($ThisFileInfo['comments'][$tagname] as $existingkey => $existingvalue) {
1213 foreach ($ThisFileInfo['comments'][$tagname] as $existingkey => $existingvalue) {
1216 $ThisFileInfo['comments'][$tagname][$existingkey] = trim($value);
1222 …if (empty($ThisFileInfo['comments'][$tagname]) || !in_array(trim($value), $ThisFileInfo['comments'…
1223 $ThisFileInfo['comments'][$tagname][] = trim($value);
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
Dwrite.apetag.php65 $ThisFileInfo = $getID3->analyze($this->filename);
67 …if (isset($ThisFileInfo['ape']['tag_offset_start']) && isset($ThisFileInfo['lyrics3']['tag_offset_…
68 if ($ThisFileInfo['ape']['tag_offset_start'] >= $ThisFileInfo['lyrics3']['tag_offset_end']) {
74 $ThisFileInfo = $getID3->analyze($this->filename);
81 …if (isset($ThisFileInfo['ape']['items'][strtolower($rg_key)]['data'][0]) && !isset($this->tag_data…
82 …$this->tag_data[strtoupper($rg_key)][0] = $ThisFileInfo['ape']['items'][strtolower($rg_key)]['data…
92 $PostAPEdataOffset = $ThisFileInfo['avdataend'];
93 if (isset($ThisFileInfo['ape']['tag_offset_end'])) {
94 $PostAPEdataOffset = max($PostAPEdataOffset, $ThisFileInfo['ape']['tag_offset_end']);
96 if (isset($ThisFileInfo['lyrics3']['tag_offset_start'])) {
[all …]
Dwrite.lyrics3.php62 $ThisFileInfo = $getID3->analyze($this->filename);
63 …if (isset($ThisFileInfo['lyrics3']['tag_offset_start']) && isset($ThisFileInfo['lyrics3']['tag_off…
69 fseek($fp, $ThisFileInfo['lyrics3']['tag_offset_end']);
71 if ($ThisFileInfo['filesize'] > $ThisFileInfo['lyrics3']['tag_offset_end']) {
72 …$DataAfterLyrics3 = fread($fp, $ThisFileInfo['filesize'] - $ThisFileInfo['lyrics3']['tag_offset_en…
75 ftruncate($fp, $ThisFileInfo['lyrics3']['tag_offset_start']);
78 fseek($fp, $ThisFileInfo['lyrics3']['tag_offset_start']);
Dwrite.php129 private $ThisFileInfo; variable in getid3_writetags
172 $this->ThisFileInfo = array('fileformat'=>'');
179 $this->ThisFileInfo = $getID3->analyze($this->filename);
182 switch (isset($this->ThisFileInfo['fileformat']) ? $this->ThisFileInfo['fileformat'] : '') {
203 …switch (isset($this->ThisFileInfo['audio']['dataformat']) ? $this->ThisFileInfo['audio']['dataform…
223 …ed_tag_format.'" is not allowed on "'.(isset($this->ThisFileInfo['fileformat']) ? $this->ThisFileI…
224 …$errormessage .= (isset($this->ThisFileInfo['audio']['dataformat']) ? '.'.$this->ThisFileInfo['aud…
300 if (!empty($this->ThisFileInfo['tags'])) {
301 foreach ($this->ThisFileInfo['tags'] as $tag_format => $tag_data_array) {
304 …$this->ThisFileInfo['tags'][$tag_format][strtoupper($tag_key)] = $this->ThisFileInfo['tags'][$tag_…
[all …]
Dgetid3.lib.php1531 * @param array $ThisFileInfo
1536 public static function CopyTagsToComments(&$ThisFileInfo, $option_tags_html=true) { argument
1538 if (!empty($ThisFileInfo['tags'])) {
1539 if (isset($ThisFileInfo['tags']['id3v1'])) {
1541 $ID3v1 = $ThisFileInfo['tags']['id3v1'];
1542 unset($ThisFileInfo['tags']['id3v1']);
1543 $ThisFileInfo['tags']['id3v1'] = $ID3v1;
1546 foreach ($ThisFileInfo['tags'] as $tagtype => $tagarray) {
1550 if (empty($ThisFileInfo['comments'][$tagname])) {
1557 foreach ($ThisFileInfo['comments'][$tagname] as $existingkey => $existingvalue) {
[all …]
Dwrite.id3v1.php111 $ThisFileInfo = $getID3->analyze($this->filename);
112 if (isset($ThisFileInfo['tags']['id3v1'])) {
114 foreach ($ThisFileInfo['tags']['id3v1'] as $key => $value) {
170 $ThisFileInfo = $getID3->analyze($this->filename);
171 $this->filesize = $ThisFileInfo['filesize'];
Dmodule.archive.zip.php124 if (!empty($ThisFileInfo['zip']['files']['ppt'])) {
126 } elseif (!empty($ThisFileInfo['zip']['files']['xl'])) {
128 } elseif (!empty($ThisFileInfo['zip']['files']['word'])) {
Dgetid3.php1573 * @param array $ThisFileInfo
1577 public function CopyTagsToComments(&$ThisFileInfo) { argument
1578 return getid3_lib::CopyTagsToComments($ThisFileInfo, $this->option_tags_html);
/plugin/photogallery/phpThumb/
Dphpthumb.bmp.php24 $ThisFileInfo = array();
25 if ($this->getid3_bmp($BMPdata, $ThisFileInfo, true, true)) {
26 $gd = $this->PlotPixelsGD($ThisFileInfo['bmp'], $truecolor);
82 public function getid3_bmp(&$BMPdata, &$ThisFileInfo, $ExtractPalette=false, $ExtractData=false) { argument
85 $ThisFileInfo['bmp']['header']['raw'] = array();
86 $thisfile_bmp = &$ThisFileInfo['bmp'];
107 …$ThisFileInfo['error'][] = 'Expecting "BM" at offset '. (int) (@$ThisFileInfo[ 'avdataoffset']) .'…
108 unset($ThisFileInfo['fileformat']);
109 unset($ThisFileInfo['bmp']);
147 $ThisFileInfo['error'][] = 'Unknown BMP subtype (or not a BMP file)';
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/
DREADME.md189 $ThisFileInfo = $getID3->analyze($localtempfilename);
Dreadme.txt194 $ThisFileInfo = $getID3->analyze($localtempfilename, $remote_filesize, basename($remotefilename));
Dstructure.txt41 getid3_lib::CopyTagsToComments($ThisFileInfo)
Dchangelog.txt1317 $ThisFileInfo['encoding'] and converts all comments to this
1856 ¤ Renamed all references to $MP3fileInfo to $ThisFileInfo