Esempio n. 1
0
 /**
  * Get item keywords for metadata searches.
  * @return array
  */
 public function get_keywords()
 {
     $keywords = parent::get_keywords();
     $keywords['type'] = array('important' => false, 'label' => null, 'value' => 'movie');
     return $keywords;
 }
Esempio n. 2
0
 /**
  * Get item keywords for metadata searches.
  * @return array
  */
 public function get_keywords()
 {
     $keywords = parent::get_keywords();
     $keywords['tvshow'] = array('important' => true, 'label' => T_('TV Show'), 'value' => $this->f_tvshow);
     $keywords['tvshow_season'] = array('important' => false, 'label' => T_('Season'), 'value' => $this->f_season);
     if ($this->episode_number) {
         $keywords['tvshow_episode'] = array('important' => false, 'label' => T_('Episode'), 'value' => $this->episode_number);
     }
     $keywords['type'] = array('important' => false, 'label' => null, 'value' => 'tvshow');
     return $keywords;
 }
Esempio n. 3
0
 /**
  * Get item keywords for metadata searches.
  * @return array
  */
 public function get_keywords()
 {
     $keywords = parent::get_keywords();
     if ($this->artist) {
         $keywords['artist'] = array('important' => true, 'label' => T_('Artist'), 'value' => $this->f_artist);
     }
     return $keywords;
 }