Select music by random

I would like to copy music to a usb stick in a random way, eg. 50 recordings from a given year but selected randomly.

Have you seen the random plugin?
http://beets.readthedocs.org/en/v1.3.16/plugins/random.html

No, I wasn’t aware of the plugin, but if I understand the documentation it only lists the files. I would need a pipe to hand it over to beet convert.