diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-01-13 21:34:56 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-01-13 21:34:56 +0000 |
commit | 7e154abae9113055bb935e7b95c55119bfaff208 (patch) | |
tree | 97f885a6fc2ad55cc97a5f155dbc243605aac824 /lib/general.lib.php | |
parent | cba4a991c0f554c2b5e3dec7e882476ff73760bb (diff) | |
download | ampache-7e154abae9113055bb935e7b95c55119bfaff208.tar.gz ampache-7e154abae9113055bb935e7b95c55119bfaff208.tar.bz2 ampache-7e154abae9113055bb935e7b95c55119bfaff208.zip |
- Fixed search by rating (Thx alex2008)
- Fixed no result return on random methods
- Added mime,language & lyrics to catalog updating functions
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r-- | lib/general.lib.php | 6 |
1 files changed, 2 insertions, 4 deletions
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[''] = "<li style=\"list-style-type: none\"><span class=\"error\">" . _('Not Enough Data') . "</span></li>\n"; - } - */ return $items; } // get_global_popular |