# HG changeset patch # User Kieran Clancy # Date 1188144947 -34200 # Node ID ae30eb582a660c933d997673633c7df52f103e3b # Parent 8764498b75edd0ddcc1c8e433778c40f3ec48c7a Only set playlist name to filename if it didn't already have a name diff -r 8764498b75ed -r ae30eb582a66 src/audacious/playlist.c --- a/src/audacious/playlist.c Sun Aug 26 23:00:02 2007 +0930 +++ b/src/audacious/playlist.c Mon Aug 27 01:45:47 2007 +0930 @@ -1574,7 +1574,8 @@ ext = strrchr(filename, '.') + 1; - playlist_set_current_name(playlist, filename); + if (!playlist->title || !playlist->title[0]) + playlist_set_current_name(playlist, filename); if ((plc = playlist_container_find(ext)) == NULL) return FALSE;