summaryrefslogtreecommitdiffstats
path: root/lib/class/vainfo.class.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2012-04-11 18:17:54 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2012-04-11 18:17:54 -0400
commit91603e980060385a9af06ed042ade5f2d0f875b9 (patch)
treec4befa1a6461d5773bece127e7270c6a1ef43d8e /lib/class/vainfo.class.php
parent2888851fa383f8ed0681ee49a5a435055ed80c2c (diff)
downloadampache-91603e980060385a9af06ed042ade5f2d0f875b9.tar.gz
ampache-91603e980060385a9af06ed042ade5f2d0f875b9.tar.bz2
ampache-91603e980060385a9af06ed042ade5f2d0f875b9.zip
Don't throw away data that getID3 has deigned to parse
Fixes M4A tag parsing, probably other things.
Diffstat (limited to 'lib/class/vainfo.class.php')
-rw-r--r--lib/class/vainfo.class.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/class/vainfo.class.php b/lib/class/vainfo.class.php
index 298da73f..fef72095 100644
--- a/lib/class/vainfo.class.php
+++ b/lib/class/vainfo.class.php
@@ -360,25 +360,6 @@ class vainfo {
* type
*/
if ($type = $this->_raw['video']['dataformat']) {
- // Manually set the tag information
- if ($type == 'flv') {
- $this->_raw['tags']['flv'] = array();
- }
- if ($type == 'quicktime') {
- $this->_raw['tags']['quicktime'] = array();
- }
- if($type == 'mpeg' OR $type == 'mpg') {
- $this->_raw['tags']['mpeg'] = array();
- }
- if($type == 'asf') {
- $this->_raw['tags']['asf'] = array();
- }
- if($type == 'wmv') {
- $this->_raw['tags']['wmv'] = array();
- }
- else {
- $this->_raw['tags']['avi'] = array();
- }
$type = $this->_clean_type($type);
return $type;
}