From 2e4141d2f5cb1f3ccbb73bc5deec07601a85bcc5 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 18 Dec 2005 09:43:44 +0000 Subject: fixed genre pickup in oggs --- modules/id3/audioinfo.class.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules') 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]; -- cgit