aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-05-09 18:08:09 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-05-09 18:08:09 +0200
commit23cea0103d4063d52a145d4872320ab7070e8ce2 (patch)
tree3c386cd59a30b234984f446a1ab675d2baa49116
parent6ee0df629e43dc783f9bc4058f676fa46bbfb5d9 (diff)
downloadmpiosh-23cea0103d4063d52a145d4872320ab7070e8ce2.tar.gz
mpiosh-23cea0103d4063d52a145d4872320ab7070e8ce2.tar.bz2
mpiosh-23cea0103d4063d52a145d4872320ab7070e8ce2.zip
Finally remove id3 rewriting...
-rw-r--r--src/callback.h2
-rw-r--r--src/cfg.c21
-rw-r--r--src/cfg.h3
3 files changed, 0 insertions, 26 deletions
diff --git a/src/callback.h b/src/callback.h
index fcdf7c0..d506c4a 100644
--- a/src/callback.h
+++ b/src/callback.h
@@ -56,8 +56,6 @@ void mpiosh_cmd_restore(char *args[]);
void mpiosh_cmd_config(char *args[]);
#endif
void mpiosh_cmd_channel(char *args[]);
-void mpiosh_cmd_id3(char *args[]);
-void mpiosh_cmd_id3_format(char *args[]);
void mpiosh_cmd_font_upload(char *args[]);
/* local command callbacks */
diff --git a/src/cfg.c b/src/cfg.c
index 9d6048b..b8c1acd 100644
--- a/src/cfg.c
+++ b/src/cfg.c
@@ -143,22 +143,6 @@ mpiosh_config_read(struct mpiosh_config_t *config)
config->charset = NULL;
}
- value = mpiosh_config_read_key(config, "mpiosh", "id3_rewriting");
- if (value) {
- if (!strcmp("on", value)) {
- config->id3_rewriting = 1;
- } else {
- config->id3_rewriting = 0;
- }
- }
-
- value = mpiosh_config_read_key(config, "mpiosh", "id3_format");
- if (value) {
- config->id3_format = strdup(value);
- } else {
- config->id3_format = strdup(MPIO_ID3_FORMAT);
- }
-
}
return 1;
@@ -209,11 +193,6 @@ 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/src/cfg.h b/src/cfg.h
index ab3ecd3..c190233 100644
--- a/src/cfg.h
+++ b/src/cfg.h
@@ -32,9 +32,6 @@ struct mpiosh_config_t {
char *prompt_ext;
char *charset;
unsigned default_mem;
-
- unsigned id3_rewriting;
- char *id3_format;
};
struct mpiosh_config_t *mpiosh_config_new(void);