Error handling, data structure changed

Implemented error handling for Generic media list request, Image data
structure changed to Media structure (and now contains information about
video type)