# HG changeset patch # User yaz # Date 1180932524 25200 # Node ID 81604260bc083301c88cc4f84935dd3fa777006e # Parent 75b12d24b7dc0d94b66f078e32b9f52941d1993e [svn] - make playback stop on removing playlist. diff -r 75b12d24b7dc -r 81604260bc08 ChangeLog --- a/ChangeLog Sun Jun 03 18:03:40 2007 -0700 +++ b/ChangeLog Sun Jun 03 21:48:44 2007 -0700 @@ -1,3 +1,11 @@ +2007-06-04 01:03:40 +0000 Cristi Magherusan + revision [4664] + match the whole filename when tag isn't available, but i couldnt figure out how to do this all the time because it kept crashing... + + trunk/src/audacious/ui_jumptotrack.c | 33 ++++++++++++++++++--------------- + 1 file changed, 18 insertions(+), 15 deletions(-) + + 2007-06-03 13:34:33 +0000 revision [4662] * Update Japanese translation. diff -r 75b12d24b7dc -r 81604260bc08 src/audacious/build_stamp.c --- a/src/audacious/build_stamp.c Sun Jun 03 18:03:40 2007 -0700 +++ b/src/audacious/build_stamp.c Sun Jun 03 21:48:44 2007 -0700 @@ -1,2 +1,2 @@ #include -const gchar *svn_stamp = "20070603-4662"; +const gchar *svn_stamp = "20070604-4664"; diff -r 75b12d24b7dc -r 81604260bc08 src/audacious/playlist.c --- a/src/audacious/playlist.c Sun Jun 03 18:03:40 2007 -0700 +++ b/src/audacious/playlist.c Sun Jun 03 21:48:44 2007 -0700 @@ -268,6 +268,14 @@ void playlist_remove_playlist(Playlist *playlist) { + /* users suppose playback will be stopped on removing playlist */ + if (playback_get_playing()) { + ip_data.stop = TRUE; + playback_stop(); + ip_data.stop = FALSE; + mainwin_clear_song_info(); + } + /* trying to free the last playlist simply clears and resets it */ if (g_list_length(playlists) < 2) { playlist_clear(playlist);