mains power

Is it possible to use the player whilst plugged in to the mains? I need an MP3 player to play audio in an exhibition and as it’ll be playing all day, battery power isnt an option. 

Thanks

Jo