diff options
author | momo-i <momo-i@ampache> | 2008-09-02 07:11:43 +0000 |
---|---|---|
committer | momo-i <momo-i@ampache> | 2008-09-02 07:11:43 +0000 |
commit | 0ce5d92079e9d575b5ad67e5b9718b6d0c8d838a (patch) | |
tree | 265775371f6dd560af05a280fd15b291af2b4086 /lib/class/catalog.class.php | |
parent | 99080e6fc82fea70dc905636cb1b4770566f9a32 (diff) | |
download | ampache-0ce5d92079e9d575b5ad67e5b9718b6d0c8d838a.tar.gz ampache-0ce5d92079e9d575b5ad67e5b9718b6d0c8d838a.tar.bz2 ampache-0ce5d92079e9d575b5ad67e5b9718b6d0c8d838a.zip |
Updated getid3 for multi-byte characters, but some wrong id3tags have occurred exception error.
Diffstat (limited to 'lib/class/catalog.class.php')
-rw-r--r-- | lib/class/catalog.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index 153153e1..3285ca64 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -1074,7 +1074,7 @@ class Catalog { /* Record the reading of these tags */ debug_event('tag-read',"Reading Tags from $song->file",'5','ampache-catalog'); - $vainfo = new vainfo($song->file,'',$sort_pattern,$rename_pattern); + $vainfo = new vainfo($song->file,'','','',$sort_pattern,$rename_pattern); $vainfo->get_info(); /* Find the correct key */ @@ -1502,7 +1502,7 @@ class Catalog { $db_results = Dba::query($sql); // Now nuke the tags themselves - $sql = "DELETE FROM `tag` USING `tag` LEFT JOIN `tag_map` ON `tag`.`id`=`tag_map`.`tag_id` " . + $sql = "DELETE FROM `tag` USING `tag` LEFT JOIN `tag_map` ON `tag`.`map_id`=`tag_map`.`tag_id` " . "WHERE `tag_map`.`id` IS NULL"; $db_results = Dba::query($sql); @@ -2000,7 +2000,7 @@ debug_event('prefix',$prefix_pattern,'3'); public function insert_local_song($file,$file_info) { /* Create the vainfo object and get info */ - $vainfo = new vainfo($file,'',$this->sort_pattern,$this->rename_pattern); + $vainfo = new vainfo($file,'','','',$this->sort_pattern,$this->rename_pattern); $vainfo->get_info(); $key = get_tag_type($vainfo->tags); |