I didn't want to bring again the discussion of _id's / checksum / etc I added a 'checksum' attribute to the Medias so I can treat Medias and Pieces the same through most of the code. For example, when rendering the media browser I needed the _id to get the screenshot and links but if I'm rendering a playlist I need to get the checksum instead, so I made them the same.