summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--README2
-rw-r--r--mg_image_provider.c2
-rwxr-xr-xscripts/muggle-image-convert (renamed from scripts/image_convert.sh)0
4 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 1db2387..a827c7a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -295,3 +295,4 @@ XXXXXXXXXX: Version 0.0.8-ALPHA
200x-xx-xx: Version x.x.x
- Fix compilation and some compiler warnings.
- Fix build with FLAC++ >= 1.1.3.
+- Rename image_convert.sh to muggle-image-convert, make it a bit more robust.
diff --git a/README b/README
index 7d3e401..2a36d6e 100644
--- a/README
+++ b/README
@@ -271,7 +271,7 @@ screen. This is a known "behavior".
Currently, the database entry (album.coverimg) is not taken into account.
-During installation, make sure that the script called image_convert.sh
+During installation, make sure that the script called muggle-image-convert
(from the scripts directory) is somewhere in your PATH. Also, make
sure to use the -c flag if you use a runvdr (or similar) script.
diff --git a/mg_image_provider.c b/mg_image_provider.c
index 0891628..aeab5ec 100644
--- a/mg_image_provider.c
+++ b/mg_image_provider.c
@@ -362,7 +362,7 @@ void mgImageProvider::Action()
char *tmp;
- asprintf( &tmp, "image_convert.sh \"%s\" \"%s\"", filename.c_str(), tmpFile.c_str() );
+ asprintf( &tmp, "muggle-image-convert \"%s\" \"%s\"", filename.c_str(), tmpFile.c_str() );
system( (const char*) tmp );
free(tmp);
diff --git a/scripts/image_convert.sh b/scripts/muggle-image-convert
index 34ed8d5..34ed8d5 100755
--- a/scripts/image_convert.sh
+++ b/scripts/muggle-image-convert