summaryrefslogtreecommitdiffstats
path: root/lib/class/vainfo.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-12 05:30:30 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-12 05:30:30 +0000
commit7be9eb4ea1e868fa0725334697057e1b7b994460 (patch)
tree5d4c634f2d64f2202cad95b4ce74c87838655e3d /lib/class/vainfo.class.php
parent12f679cf51ed9440c44cdc0cb178687f0ad17c3b (diff)
downloadampache-7be9eb4ea1e868fa0725334697057e1b7b994460.tar.gz
ampache-7be9eb4ea1e868fa0725334697057e1b7b994460.tar.bz2
ampache-7be9eb4ea1e868fa0725334697057e1b7b994460.zip
re-added ability to delete catalogs, fixed exception error with id3 library
Diffstat (limited to 'lib/class/vainfo.class.php')
-rwxr-xr-xlib/class/vainfo.class.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/class/vainfo.class.php b/lib/class/vainfo.class.php
index e2212838..85b12659 100755
--- a/lib/class/vainfo.class.php
+++ b/lib/class/vainfo.class.php
@@ -88,7 +88,12 @@ class vainfo {
function get_info() {
/* Get the Raw file information */
- $this->_raw = $this->_getID3->analyze($this->filename);
+ try {
+ $this->_raw = $this->_getID3->analyze($this->filename);
+ }
+ catch (Exception $error) {
+ debug_event('getid3',$e->message,'1');
+ }
/* Figure out what type of file we are dealing with */
$this->type = $this->_get_type();