>As such, I'd like to hear any suggestions for features that people find

>lacking in the current version.


>Any comments?

How about the ability to map the downloaded station name to the channel
name in the DB.

Ie: my channels are called: dvbfree.Canberra.PrimS,
dvbFree.Canberra.10Cap etc, which is obviously different from that
downloaded from the website.

So before generating the XML it does a look in the config file for the
downloaded name and replaces it with your own name.

Config file
Station Name                    Custom Name
Freesd.Canberra.2.d1.com.au     dvbfree.Canberra.2
Freesd.Canberra.7.d1.com.au     dvbfree.Canberra.PrimS

This is what I have done to the current script:

if ("free" eq $source) {
        $ABC_XMLTVID   = $XMLTV_prefix . "2"     . $XMLTV_suffix;
        $Prime_XMLTVID = $XMLTV_prefix . "PrimS" . $XMLTV_suffix;
        $SBS_XMLTVID   = $XMLTV_prefix . "SBS"   . $XMLTV_suffix;
        $Ten_XMLTVID   = $XMLTV_prefix . "10Cap" . $XMLTV_suffix;
        $WIN_XMLTVID   = $XMLTV_prefix . "WIN"   . $XMLTV_suffix;
} elsif ("freesd" eq $source) {
        $ABC_XMLTVID   = "dvbfree.Canberra.2"; #$XMLTV_prefix . "2"   .
$XMLTV_suffix;
        $Prime_XMLTVID = "dvbfree.Canberra.PrimS"; #$XMLTV_prefix . "7"
. $XMLTV_suffix;
        $SBS_XMLTVID   = "dvbfree.Canberra.SBS"; #$XMLTV_prefix . "SBS"
. $XMLTV_suffix;
        $Ten_XMLTVID   = "dvbfree.Canberra.10Cap"; #$XMLTV_prefix . "10"
. $XMLTV_suffix;
        $WIN_XMLTVID   = "dvbfree.Canberra.WIN"; #$XMLTV_prefix . "9"
. $XMLTV_suffix;
        $ABC2_XMLTVID  = "dvbfree.Canberra.ABC2"; #"ABC2";
        $SBSNEWS_XMLTVID  = "SBSNEWS";
} else {
        print "Unknown source '$source' for $location\n";
        exit (1);
}

Basically, the ability to define what the channel name is inside the XML
file.

Cheers


_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to