diff src/audacious/playlist.c @ 2408:b380e84148bb trunk

[svn] - rename some hooks so that they are more logical
author nenolod
date Thu, 25 Jan 2007 21:59:33 -0800
parents 1dc1d36d0347
children 0fd7f4f969ad
line wrap: on
line diff
--- a/src/audacious/playlist.c	Thu Jan 25 21:29:51 2007 -0800
+++ b/src/audacious/playlist.c	Thu Jan 25 21:59:33 2007 -0800
@@ -1343,7 +1343,7 @@
     if ((cfg.no_playlist_advance && !cfg.repeat) || cfg.stopaftersong)  
       ip_data.stop = FALSE;
 
-    hook_call("playback finish", playlist->position);
+    hook_call("playback end", playlist->position);
 
     PLAYLIST_LOCK(playlist->mutex);
     
@@ -1383,7 +1383,7 @@
 
         if (!cfg.repeat) {
             PLAYLIST_UNLOCK(playlist->mutex);
-	    hook_call("playlist reached end", playlist->position);
+	    hook_call("playlist end reached", playlist->position);
             mainwin_clear_song_info();
             mainwin_set_info_text();
             return;