Ticket #5578: mythweb-transcodepatch-trunk.diff
File mythweb-transcodepatch-trunk.diff, 2.1 KB (added by , 16 years ago) |
---|
-
modules/tv/classes/Program.php
107 107 public $is_editing = 0; 108 108 public $is_movie; 109 109 public $is_watched = 0; 110 public $is_transcoded = 0; 110 111 public $length; 111 112 public $max_episodes = 0; 112 113 public $max_newest = 0; … … 200 201 $this->bookmark = ($this->progflags & 0x010) ? true : false; // FL_BOOKMARK = 0x010 201 202 $this->is_recording = ($this->progflags & 0x020) ? true : false; // FL_INUSERECORDING = 0x020 202 203 $this->is_playing = ($this->progflags & 0x040) ? true : false; // FL_INUSEPLAYING = 0x040 203 204 $this->is_transcoded = ($this->progflags & 0x400) ? true : false; // FL_TRANSCODED = 0x400 204 205 $this->is_watched = ($this->progflags & 0x800) ? true : false; // FL_WATCHED = 0x800 205 206 // Can be deleted? 206 207 $this->can_delete = (!$this->is_recording && !$this->is_playing) || $this->recgroup != 'LiveTV'; -
modules/tv/tmpl/default/detail.php
162 162 echo '<img src="'.skin_url.'/img/flags/bookmark.png" title="'.t('has Bookmark').'">'; 163 163 if ($program->is_watched) 164 164 echo '<img src="'.skin_url.'/img/flags/watched.png" title="'.t('Watched').'">'; 165 166 // Report transcoded status for recordings 167 if ($program->filename) { 168 if ($program->is_transcoded) 169 echo ' TRANSCODED'; 170 else 171 echo ' NON-TRANSCODED'; 172 }; 165 173 ?></td> 166 174 </tr><?php 167 175 if (strlen($program->category)) {