diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/id3/vainfo.class.php | 8 |
1 files changed, 4 insertions, 4 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 /** |