aboutsummaryrefslogtreecommitdiff
path: root/mpiosh
diff options
context:
space:
mode:
Diffstat (limited to 'mpiosh')
-rw-r--r--mpiosh/callback.c6
-rw-r--r--mpiosh/config.c7
-rw-r--r--mpiosh/mpiosh.c6
3 files changed, 14 insertions, 5 deletions
diff --git a/mpiosh/callback.c b/mpiosh/callback.c
index 284b42d..337d1d2 100644
--- a/mpiosh/callback.c
+++ b/mpiosh/callback.c
@@ -2,7 +2,7 @@
*
* Author: Andreas Büsching <crunchy@tzi.de>
*
- * $Id: callback.c,v 1.39 2003/04/19 09:32:48 germeier Exp $
+ * $Id: callback.c,v 1.40 2003/04/19 11:41:26 germeier Exp $
*
* Copyright (C) 2001 Andreas Büsching <crunchy@tzi.de>
*
@@ -252,8 +252,10 @@ mpiosh_cmd_open(char *args[])
if ((mpiosh.dev) && (mpiosh.config->charset))
mpio_charset_set(mpiosh.dev, mpiosh.config->charset);
- if (mpiosh.dev)
+ if (mpiosh.dev) {
mpio_id3_set(mpiosh.dev, mpiosh.config->id3_rewriting);
+ mpio_id3_format_set(mpiosh.dev, mpiosh.config->id3_format);
+ }
}
void
diff --git a/mpiosh/config.c b/mpiosh/config.c
index 1b1ed1b..bc2c7dd 100644
--- a/mpiosh/config.c
+++ b/mpiosh/config.c
@@ -2,7 +2,7 @@
*
* Author: Andreas Buesching <crunchy@tzi.de>
*
- * $Id: config.c,v 1.4 2003/04/19 09:32:48 germeier Exp $
+ * $Id: config.c,v 1.5 2003/04/19 11:41:26 germeier Exp $
*
* Copyright (C) 2001 Andreas Büsching <crunchy@tzi.de>
*
@@ -192,6 +192,11 @@ mpiosh_config_write(struct mpiosh_config_t *config)
else
cfg_key_set_value(config->handle_user,
"mpiosh", "default_mem", "internal");
+ cfg_key_set_value(config->handle_user,
+ "mpiosh", "id3_rewriting",
+ (config->id3_rewriting?"on":"off"));
+ cfg_key_set_value(config->handle_user,
+ "mpiosh", "id3_format", config->id3_format);
cfg_save(config->handle_user, 0);
diff --git a/mpiosh/mpiosh.c b/mpiosh/mpiosh.c
index 56764af..54b48df 100644
--- a/mpiosh/mpiosh.c
+++ b/mpiosh/mpiosh.c
@@ -2,7 +2,7 @@
/*
*
- * $Id: mpiosh.c,v 1.25 2003/04/19 09:32:48 germeier Exp $
+ * $Id: mpiosh.c,v 1.26 2003/04/19 11:41:26 germeier Exp $
*
* Author: Andreas Büsching <crunchy@tzi.de>
*
@@ -66,8 +66,10 @@ mpiosh_init(void)
if ((mpiosh.dev) && (mpiosh.config->charset))
mpio_charset_set(mpiosh.dev, mpiosh.config->charset);
- if (mpiosh.dev)
+ if (mpiosh.dev) {
mpio_id3_set(mpiosh.dev, mpiosh.config->id3_rewriting);
+ mpio_id3_format_set(mpiosh.dev, mpiosh.config->id3_format);
+ }
}
void