Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Video Disk Recorder version 0.63



Just a thought ...
It might be useful to add/allow additional information fields about the
channel
in channels.conf ( :radio/tv:language:genre:encrypted/free_to_air  for
example)
even if vdr does not use the info.
Would make it way easier to sort a file with a few hundred lines by
different criteria.
Many sat related web sites provide such cannel information too, so it
should not be
a problem to get the data...

btw. for all who have use for it: here's a dirty little shell script
that creates a channels.conf for vdr from the web.
(also available at http://home.pages.at/linux/vdrconf.sh )

Martin

========== mailto:martin@hammerschmid.com ==========
=RSA-PGP-Key ID:0x81783FE7 DH-PGP-Key ID:0x6B66589A=
====================================================
    [ Part 2: "Attached Text" ]

#!/bin/sh
#data are taken from http://www.setedit.onlinehome.de/SATCO.HTML
DISEQ=0
#Hotbird
#URL=http://www.SatcoDX1.com/_data/0130.txt
#Astra
URL=http://www.SatcoDX2.com/_data/0192.txt

lynx -source $URL | grep "^\(TV-DIG\)\|\(R-DIG\)" | grep -v "ADR_" |\
  sed -e "s/\([0-9]\)\.\([0-9]\)/\1\2/" | awk -v diseq=$DISEQ -F "\t"\
  '{print $5":"$3":"(($4=="")?0:$4)":"diseq":"(($10=="")?0:$10)":"\
  (($12=="")?0:$12)":"(($13=="")?0:$13)":0:"(($15=="")?0:$15)}'


Home | Main Index | Thread Index