From 7e154abae9113055bb935e7b95c55119bfaff208 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 13 Jan 2008 21:34:56 +0000 Subject: - Fixed search by rating (Thx alex2008) - Fixed no result return on random methods - Added mime,language & lyrics to catalog updating functions --- lib/general.lib.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/general.lib.php') diff --git a/lib/general.lib.php b/lib/general.lib.php index eb4d5ea3..f79153b7 100644 --- a/lib/general.lib.php +++ b/lib/general.lib.php @@ -167,6 +167,8 @@ function clean_tag_info($results,$key,$filename) { $info['track'] = intval($results[$key]['track']); $info['disk'] = intval($results[$key]['disk']); $info['comment'] = Dba::escape(str_replace($clean_array,$wipe_array,$results[$key]['comment'])); + $info['language'] = Dba::escape($results[$key]['language']); + $info['lyrics'] = Dba::escape($results[$key]['lyricist']); /* This are pulled from the info array */ $info['bitrate'] = intval($results['info']['bitrate']); @@ -304,10 +306,6 @@ function get_global_popular($type) { } // end if genre } // end foreach -/* if (count($items) == 0) { - $itemis[''] = "
  • " . _('Not Enough Data') . "
  • \n"; - } - */ return $items; } // get_global_popular -- cgit