diff options
-rwxr-xr-x | docs/CHANGELOG | 2 | ||||
-rwxr-xr-x | modules/id3/audioinfo.class.php | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG index 111705c1..cf33b295 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -4,6 +4,8 @@ -------------------------------------------------------------------------- v.3.3.2-Alpha4 + - Fixed problem where Genre on OGG was not being correctly + picked up by catalog (Thx redswami) - Added "Keyword" search which searches title, artist name and album name, also forced 'quick search' to always use Keyword (Thx Rubin) 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]; |