# HG changeset patch # User Tomasz Mon # Date 1187513124 -7200 # Node ID b47e36a480b302bc43ad9a83ebd2ea11867f5e2e # Parent ac752b5db6312e740aa2b504eb61bdb5da555af5 don't call mainwin_update_song_info if track isn't played diff -r ac752b5db631 -r b47e36a480b3 src/audacious/ui_main.c --- a/src/audacious/ui_main.c Sun Aug 19 10:40:43 2007 +0200 +++ b/src/audacious/ui_main.c Sun Aug 19 10:45:24 2007 +0200 @@ -2119,7 +2119,8 @@ set_timer_mode(TIMER_REMAINING); else set_timer_mode(TIMER_ELAPSED); - mainwin_update_song_info(); + if (playback_get_playing()) + mainwin_update_song_info(); } static void