diff src/audacious/playlist.c @ 2460:5e8526a4f554 trunk

[svn] - added a new hook: playlist set info
author giacomo
date Thu, 01 Feb 2007 06:09:53 -0800
parents 6cdccf094e51
children bb2f191895ce
line wrap: on
line diff
--- a/src/audacious/playlist.c	Thu Feb 01 03:34:37 2007 -0800
+++ b/src/audacious/playlist.c	Thu Feb 01 06:09:53 2007 -0800
@@ -981,6 +981,9 @@
     playlist_recalc_total_time(playlist);
 
     mainwin_set_song_info(rate, freq, nch);
+
+    if ( playlist->position )
+        hook_call( "playlist set info" , playlist->position );
 }
 
 void
@@ -1002,6 +1005,9 @@
     playlist_recalc_total_time(playlist);
 
     mainwin_set_song_info(rate, freq, nch);
+
+    if ( playlist->position )
+        hook_call( "playlist set info" , playlist->position );
 }
 
 void