{
gchar *cue_name, *temp;
if (o_fname==NULL) return NULL;
//find the extension
for(temp = o_fname+strlen(o_fname)-1; *temp != '.' && temp != o_fname; temp--);