diff options
-rwxr-xr-x | modules/id3/vainfo.class.php | 8 | ||||
-rw-r--r-- | search.php | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/modules/id3/vainfo.class.php b/modules/id3/vainfo.class.php index 23f2703f..5cd6239c 100755 --- a/modules/id3/vainfo.class.php +++ b/modules/id3/vainfo.class.php @@ -120,13 +120,13 @@ class vainfo { /* Switch on the file type */ switch ($this->type) { case 'mp3': - $this->_file_encoding = $this->_raw['encoding']; - break; + case 'ogg': + case 'flac': default: - $this->_file_encoding = 'UTF-8'; + $this->_file_encoding = $this->_raw['encoding']; break; } // end switch - + } // _get_encoding /** @@ -51,7 +51,6 @@ switch ($action) { } case 'search': show_template('show_search'); - print_r($_REQUEST); $results = run_search($_REQUEST); show_search($_REQUEST['object_type'],$results); break; |