From 52d3da75d2c8624191d484899846af00d3689634 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 3 Dec 2007 10:27:09 +0000 Subject: fixed album art dump bin script... cant sleep damnit --- docs/CHANGELOG | 1 + lib/class/catalog.class.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/CHANGELOG b/docs/CHANGELOG index ae26e35d..d94002ec 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -4,6 +4,7 @@ -------------------------------------------------------------------------- v.3.4-Alpha4 + - Fixed Album Art dump bin script - Added paging to the Playlist Song view - Fixed error on catalog Update All - Fixed Public registration page, and simplified logic diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index a0cb2ca7..e7942444 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -823,8 +823,8 @@ class Catalog { if (!$preferred_filename || strstr($preferred_filename,"%")) { $preferred_filename = "folder.$extension"; } $file = "$dir/$preferred_filename"; - if ($file_handle = @fopen($file,"w")) { - if (fwrite($file_handle, $image->art)) { + if ($file_handle = fopen($file,"w")) { + if (fwrite($file_handle, $image['0']['raw'])) { $i++; if (!($i%100)) { echo "Written: $i. . .\n"; -- cgit