summaryrefslogtreecommitdiffstats
path: root/lib/class/vainfo.class.php
diff options
context:
space:
mode:
authormomo-i <momo-i@ampache>2009-03-16 09:14:38 +0000
committermomo-i <momo-i@ampache>2009-03-16 09:14:38 +0000
commit5591b933139dc4cfc6bb71d7b9622aedc2729f54 (patch)
tree625cf0d186430cfb5c77e92eb92aba1ee390b9ab /lib/class/vainfo.class.php
parent27c70ec47de97a617e6cd623cb1fa4e35e6b5219 (diff)
downloadampache-5591b933139dc4cfc6bb71d7b9622aedc2729f54.tar.gz
ampache-5591b933139dc4cfc6bb71d7b9622aedc2729f54.tar.bz2
ampache-5591b933139dc4cfc6bb71d7b9622aedc2729f54.zip
Fixed: If remote catalog cleaning, always failed.(is_readable), remind next process (file information)
Updated: add my TODO @lyrics, id3 language
Diffstat (limited to 'lib/class/vainfo.class.php')
-rw-r--r--lib/class/vainfo.class.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/class/vainfo.class.php b/lib/class/vainfo.class.php
index bb9025fe..0d7fbe92 100644
--- a/lib/class/vainfo.class.php
+++ b/lib/class/vainfo.class.php
@@ -264,7 +264,9 @@ class vainfo {
$info['artist'] = trim($results[$key]['artist']);
$info['album'] = trim($results[$key]['album']);
$info['genre'] = trim($results[$key]['genre']);
+ /* @TODO language doesn't import from id3tag. @momo-i */
$info['language'] = Dba::escape($results[$key]['language']);
+ /* @TODO returned lyrics are raw data. An appropriate escape is necessary for this. @momo-i */
if (!empty($results[$key]['unsynchronised lyric'])) { // ID3v2 USLT
$info['lyrics'] = $results[$key]['unsynchronised lyric'];
}