How to reset all tracks to "unplayed" ?

The only way I found to reset the "played" flag is to re-import my entire music gallery. Is there is simpler way to do that? I need to reset the flags in between gigs, so I know which track was already played just on that night.