/**
  * Tries to transalte the friendly name of the category to the api value, if not found the input value will be returned (as a fallback)
  * @param string $category
  */
 protected function translateCategory($category)
 {
     foreach (YouTubeApiImpl::getCategoriesMap() as $id => $name) {
         if ($name == $category) {
             return $id;
         }
     }
     return $category;
 }