# HG changeset patch # User John Lindgren # Date 1241493656 14400 # Node ID 1127ed19b3688cd6ceed9c69d7f603a80f782b31 # Parent 012b478a282f52419e1ff100ab6fd0d760076b78 Add a "playlist load" trigger so that non-existant CD tracks can be removed diff -r 012b478a282f -r 1127ed19b368 src/audlegacy/playlist.c --- a/src/audlegacy/playlist.c Sun May 03 20:44:00 2009 -0400 +++ b/src/audlegacy/playlist.c Mon May 04 23:20:56 2009 -0400 @@ -1803,6 +1803,8 @@ playlist_recalc_total_time(playlist); //tentative --yaz PLAYLIST_INCR_SERIAL(playlist); + hook_call ("playlist load", playlist); + return new_len - old_len; }