Permalink
Browse files

Add the audio channels to the episode display

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 240785b705903d5bc3017b7a31fdb6c0c4587cec
Showing with 2 additions and 0 deletions.
  1. +2 −0 nuv_export/ui.pm
View
@@ -249,6 +249,8 @@ package nuv_export::ui;
$query .= "$episode->{'subtitle'} " if ($episode->{'subtitle'} && $episode->{'subtitle'} ne 'Untitled');
$query .= "($episode->{'showtime'}) ".$episode->{'finfo'}{'width'}.'x'.$episode->{'finfo'}->{'height'}
.' '.$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 .= "\n";
$episode_choices[$count-1] = $episode;

0 comments on commit 240785b

Please sign in to comment.