+void random_update_audio_file(char *audio_file)
+{
+ char *dn = para_dirname(audio_file);
+ snprintf(mmd->selector_info, MMD_INFO_SIZE - 1,
+ "dbinfo1:current dir: %s\n"
+ "dbinfo2:random_dir: %s\n"
+ "dbinfo3:%d files available\n",
+ dn, conf.random_dir_arg, num_audio_files);
+ free(dn);
+ mmd->selector_info[MMD_INFO_SIZE - 1] = '\0';
+}