diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-12-18 09:43:44 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-12-18 09:43:44 +0000 |
commit | 2e4141d2f5cb1f3ccbb73bc5deec07601a85bcc5 (patch) | |
tree | 4a7c687afad7b3f6d0fccc3ca1ed3f25f291a867 /modules | |
parent | 64df5b62139b5bb247c9e902b3838985b3ab4c1d (diff) | |
download | ampache-2e4141d2f5cb1f3ccbb73bc5deec07601a85bcc5.tar.gz ampache-2e4141d2f5cb1f3ccbb73bc5deec07601a85bcc5.tar.bz2 ampache-2e4141d2f5cb1f3ccbb73bc5deec07601a85bcc5.zip |
fixed genre pickup in oggs
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/id3/audioinfo.class.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/id3/audioinfo.class.php b/modules/id3/audioinfo.class.php index 04e42da9..30a29cbc 100755 --- a/modules/id3/audioinfo.class.php +++ b/modules/id3/audioinfo.class.php @@ -155,12 +155,14 @@ class AudioInfo { $this->result['ogg']['artist'] = iconv("UTF-8",conf('site_charset') . "//TRANSLIT", $this->info['ogg']['comments']['artist'][0]); $this->result['ogg']['album'] = iconv("UTF-8",conf('site_charset') . "//TRANSLIT", $this->info['ogg']['comments']['album'][0]); $this->result['ogg']['author'] = iconv("UTF-8",conf('site_charset') . "//TRANSLIT", $this->info['ogg']['comments']['author'][0]); + $this->result['ogg']['genre'] = iconv("UTF-8",conf('site_charset') . "//TRANSLIT", $this->info['ogg']['comments']['genre'][0]); } else { $this->result['ogg']['title'] = $this->info['ogg']['comments']['title'][0]; $this->result['ogg']['artist'] = $this->info['ogg']['comments']['artist'][0]; $this->result['ogg']['album'] = $this->info['ogg']['comments']['album'][0]; $this->result['ogg']['author'] = $this->info['ogg']['comments']['author'][0]; + $this->result['ogg']['genre'] = $this->info['ogg']['comments']['genre'][0]; } $this->result['ogg']['year'] = $this->info['ogg']['comments']['date'][0]; |