Skip to content

Commit

Permalink
Add the audio channels to the episode display
Browse files Browse the repository at this point in the history
Makes use of the updated audio_type handling from
MythTV/mythtv@3b34f08
to display the audio codec and the number of audio channels beside the
resolution and aspect ratio in the episode list.
  • Loading branch information
Beirdo committed Dec 13, 2010
1 parent 523aef0 commit 240785b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nuv_export/ui.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ package nuv_export::ui;
$query .= "$episode->{'subtitle'} " if ($episode->{'subtitle'} && $episode->{'subtitle'} ne 'Untitled'); $query .= "$episode->{'subtitle'} " if ($episode->{'subtitle'} && $episode->{'subtitle'} ne 'Untitled');
$query .= "($episode->{'showtime'}) ".$episode->{'finfo'}{'width'}.'x'.$episode->{'finfo'}->{'height'} $query .= "($episode->{'showtime'}) ".$episode->{'finfo'}{'width'}.'x'.$episode->{'finfo'}->{'height'}
.' '.$episode->{'finfo'}{'video_type'}.' ('.$episode->{'finfo'}{'aspect'}.')'; .' '.$episode->{'finfo'}{'video_type'}.' ('.$episode->{'finfo'}{'aspect'}.')';
$query .= ' '.$episode->{'finfo'}{'audio_channels'}.'ch';
$query .= '-'.$episode->{'finfo'}{'audio_type'} if $episode->{'finfo'}{'audio_type'};
$query .= wrap($episode->{'description'}, 80, $newline, '', $newline) if ($episode->{'description'}); $query .= wrap($episode->{'description'}, 80, $newline, '', $newline) if ($episode->{'description'});
$query .= "\n"; $query .= "\n";
$episode_choices[$count-1] = $episode; $episode_choices[$count-1] = $episode;
Expand Down

0 comments on commit 240785b

Please sign in to comment.