View | Details | Raw Unified | Return to bug 8655
Collapse All | Expand All

(-)mpd-0.11.5.orig/src/directory.c (-2 / +2 lines)
Lines 297-303 Link Here
297
	void * song;
297
	void * song;
298
	
298
	
299
	if(findInList(directory->songs,shortname,&song)) {
299
	if(findInList(directory->songs,shortname,&song)) {
300
		LOG("removing: %s\n",((Song *)song)->utf8url);
300
		LOG("removing: %s\n", utf8ToFsCharset(((Song *)song)->utf8url));
301
		deleteFromList(directory->songs,shortname);
301
		deleteFromList(directory->songs,shortname);
302
	}
302
	}
303
}
303
}
Lines 769-775 Link Here
769
		song = addSongToList(directory->songs,shortname,name,
769
		song = addSongToList(directory->songs,shortname,name,
770
				SONG_TYPE_FILE);
770
				SONG_TYPE_FILE);
771
		if(!song) return -1;
771
		if(!song) return -1;
772
		LOG("added %s\n",name);
772
		LOG("added %s\n", utf8ToFsCharset(name));
773
		return 1;
773
		return 1;
774
	}
774
	}
775
	else if(S_ISDIR(st.st_mode)) {
775
	else if(S_ISDIR(st.st_mode)) {

Return to bug 8655