Ticket #12649: Program.pm.patch

File Program.pm.patch, 691 bytes (added by mythtv@…, 5 years ago)

Patch to resolve special seasons

  • Program.pm

    old new  
    321321        }
    322322    # Season/Episode/InetRef
    323323        my ($season, $episode, $inetref);
    324         $episode = ($self->{'episode'} or '');
    325         $episode = "0$episode" if ($episode && $episode < 10);
    326324        $season = ($self->{'season'} or '');
    327325        $season = "0$season" if ($season && $season < 10);
    328         $season = "00" if ($season eq '' && $episode ne '');
     326        $episode = ($self->{'episode'} or '');
     327        $episode = "0$episode" if ($episode && $episode < 10);
    329328        $inetref = ($self->{'inetref'} or '');
    330329
    331330    # Build a list of name format options