summaryrefslogtreecommitdiffstats
path: root/apps/media/lib_scanner.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/media/lib_scanner.php')
-rwxr-xr-x[-rw-r--r--]apps/media/lib_scanner.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/media/lib_scanner.php b/apps/media/lib_scanner.php
index 5d652c1b39d..dc2a8a9beb4 100644..100755
--- a/apps/media/lib_scanner.php
+++ b/apps/media/lib_scanner.php
@@ -72,23 +72,23 @@ class OC_MEDIA_SCANNER{
$data=@self::$getID3->analyze($file);
getid3_lib::CopyTagsToComments($data);
if(!isset($data['comments'])){
- OCP\Util::writeLog('media',"error reading id3 tags in '$file'",OC_Log::WARN);
+ OCP\Util::writeLog('media',"error reading id3 tags in '$file'",OCP\Util::WARN);
return;
}
if(!isset($data['comments']['artist'])){
- OCP\Util::writeLog('media',"error reading artist tag in '$file'",OC_Log::WARN);
+ OCP\Util::writeLog('media',"error reading artist tag in '$file'",OCP\Util::WARN);
$artist='unknown';
}else{
$artist=stripslashes($data['comments']['artist'][0]);
}
if(!isset($data['comments']['album'])){
- OCP\Util::writeLog('media',"error reading album tag in '$file'",OC_Log::WARN);
+ OCP\Util::writeLog('media',"error reading album tag in '$file'",OCP\Util::WARN);
$album='unknown';
}else{
$album=stripslashes($data['comments']['album'][0]);
}
if(!isset($data['comments']['title'])){
- OCP\Util::writeLog('media',"error reading title tag in '$file'",OC_Log::WARN);
+ OCP\Util::writeLog('media',"error reading title tag in '$file'",OCP\Util::WARN);
$title='unknown';
}else{
$title=stripslashes($data['comments']['title'][0]);