diff options
-rw-r--r-- | src/callback.h | 2 | ||||
-rw-r--r-- | src/cfg.c | 21 | ||||
-rw-r--r-- | src/cfg.h | 3 |
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 */ @@ -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); @@ -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); |