Consider that it's running the iPod Linux distro, not using the system provided by Apple. The iPod Linux guys hacked it to do this, probably using a port of Xine or Mplayer. Remember that with Linux anything can be done, but it requires some work from the devs and sometimes even the users.