How to create m3u with genre wildcard

I'm not sure if this is possible. I want to create an m3u of all songs in a particular genre. Does this need to be a track-by-track listing, or can the m3u contain only a reference to a genre?

Yes, I think this is the case.
Automatic playlists are a feature of the player.