added support for infolabels and sorting by a given infolabel (videos)
code cleaning