Changeset 1410

Show
Ignore:
Timestamp:
04/17/12 00:05:13 (13 months ago)
Author:
max
Message:

Shepherd::Configure: remove reliance on $opt_channels from --configure

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/references/Shepherd/Configure.pm

    r1408 r1410  
    22package Shepherd::Configure; 
    33 
    4 my $version = '0.29'; 
     4my $version = '0.40'; 
    55 
    66use strict; 
     
    376376    } 
    377377 
    378     foreach (keys %$::opt_channels) 
    379     { 
    380         if (defined $::opt_channels->{$_} && $_ =~ /HD$/) { 
    381             my $sd = $_; 
    382             $sd =~ s/HD$//; 
    383             if (!defined $::channels->{$sd}) { 
    384                 print "No corresponding SD channel for a HD channel.  '$_' needs '$sd'.  Please try again.\n"; 
    385                 exit; 
    386             } 
    387         } 
    388     } 
     378#    Removed by Max (17-Apr-2012) as part of a slow deletion of 
     379#    $opt_channels (no longer necessary for HDTV). 
     380# 
     381#    foreach (keys %$::opt_channels) 
     382#    { 
     383#       if (defined $::opt_channels->{$_} && $_ =~ /HD$/) { 
     384#           my $sd = $_; 
     385#           $sd =~ s/HD$//; 
     386#           if (!defined $::channels->{$sd}) { 
     387#               print "No corresponding SD channel for a HD channel.  '$_' needs '$sd'.  Please try again.\n"; 
     388#               exit; 
     389#           } 
     390#       } 
     391#    } 
    389392 
    390393    foreach (keys %$::channels) 
  • trunk/status

    r1409 r1410  
    11application     shepherd            1.7.0 
    22reference       channel_list        93 
    3 reference       Shepherd/Common.pm  0.39 
     3reference       Shepherd/Common.pm  0.40 
    44reference       Shepherd/MythTV.pm  0.10 
    55reference       Shepherd/Configure.pm   0.29