[mythtvnz] channels.conf

Stephen Worthington stephen_agent at jsw.gen.nz
Wed Apr 17 04:25:22 BST 2013


On Wed, 17 Apr 2013 12:03:57 +1200, you wrote:

>Anyone have a recent channels.conf for NZ DVB-S Freeview?

What format of channels.conf?  I have one I just did in VDR format. Or
you can generate one yourself from your DVB-S card.  Here is the
script I use to make mine (freeview-satellite-scan.sh):

#!/bin/bash

# Scan all Freeview satellite frequencies for channel information.

# Transponder frequencies (Hz)
declare -a DVB_S_FREQS=(12456000 12483000)
declare -a FREQS=${DVB_S_FREQS[*]}

# Adapter number of DVB-S / DVB-S2 card.
ADAPTER=4

# LNB frequency (Hz)
LNB_FREQ=10750000

# Symbol rate
SYMBOL_RATE=22500

# Output file to store the results of the scan.
OUTPUT_FILE=freeview_satellite_scan.txt

if [ -e "$OUTPUT_FILE" ] && [ -f "$OUTPUT_FILE" ] ; then
    rm "$OUTPUT_FILE"
fi

for a in ${FREQS[*]}; do
    echo "[[Tuning to $a Hz]]" | tee -a "$OUTPUT_FILE"
    dvbtune -f $(($a-$LNB_FREQ)) -s $SYMBOL_RATE -p h -c $ADAPTER
-tone 0
    scan-s2 -c -q -a $ADAPTER | tee -a $OUTPUT_FILE
done

If you want the resulting file to be read by other programs, you will
need to comment out the echo line.  I am using a modified version of
scan-s2 that handles card numbers higher than 3, but if you change
that line to use scan, it should work with those parameters.

And here is the output:

[[Tuning to 12456000 Hz]]
TV3;TV
Works:1706:hM2O35S0:S0.0W:22500:512+8185:650=eng:712:0:1920:47:21:0
TV3;TV
Works:1706:hM2O35S0:S0.0W:22500:509+8185:647=eng:712:0:1917:47:21:0
TV3;TV
Works:1706:hM2O35S0:S0.0W:22500:510+8185:648=eng:712:0:1918:47:21:0
TV3;TV
Works:1706:hM2O35S0:S0.0W:22500:511+8185:649=eng:712:0:1919:47:21:0
FOUR;TV
Works:1706:hM2O35S0:S0.0W:22500:513+8185:651=eng:712:0:1921:47:21:0
TV3 PLUS1;TV
Works:1706:hM2O35S0:S0.0W:22500:518+8185:656=eng:712:0:1926:47:21:0
PRIME;SKY:1706:hM2O35S0:S0.0W:22500:520:658=eng:0:0:1928:47:21:0
Choice
TV;Kordia:1706:hM2O35S0:S0.0W:22500:514:652=eng:0:0:1941:47:21:0
CUE;Kordia
Limited:1706:hM2O35S0:S0.0W:22500:516:654=eng:0:0:1924:47:21:0
Shine TV;Kordia
Limited:1706:hM2O35S0:S0.0W:22500:530:673=eng:0:0:1927:47:21:0
Parliament TV;Kordia
Limited:1706:hM2O35S0:S0.0W:22500:515:653=eng,690=ang:0:0:1923:47:21:0
Te Reo;Maori Television
Service:1706:hM2O35S0:S0.0W:22500:517:655=eng:0:0:1925:47:21:0
RNZ National;Radio New
Zealand:1706:hM2O35S0:S0.0W:22500:0:659=eng:0:0:1929:47:21:0
RNZ Concert;Radio New
Zealand:1706:hM2O35S0:S0.0W:22500:0:660=eng:0:0:1930:47:21:0
[078b];:1706:hM2O35S0:S0.0W:22500:0:661=eng:0:0:1931:47:21:0
GeorgeFM;GeorgeFM:1706:hM2O35S0:S0.0W:22500:0:665=eng:0:0:1935:47:21:0
BaseFM;Kordia:1706:hM2O35S0:S0.0W:22500:0:666=eng:0:0:1936:47:21:0
[[Tuning to 12483000 Hz]]
Maori TV;Maori Television
Service:1733:hM2O35S0:S0.0W:22500:514:652=eng:0:0:1025:47:22:0
TV ONE;Television New
Zealand:1733:hM2O35S0:S0.0W:22500:515:653=eng,663=ita:579:0:1035:47:22:0
TV2;Television New
Zealand:1733:hM2O35S0:S0.0W:22500:516:654=eng,664=ita:580:0:1036:47:22:0
TV ONE plus
1;TVNZ:1733:hM2O35S0:S0.0W:22500:518:656=eng,665=ita:582:0:1037:47:22:0
U;Television New
Zealand:1733:hM2O35S0:S0.0W:22500:512:650=eng:581:0:1904:47:22:0
TV ONE;Television New Zealand
Ltd.:1733:hM2O35S0:S0.0W:22500:519:657=eng:579:0:1908:47:22:0
TV ONE;Television New
Zealand:1733:hM2O35S0:S0.0W:22500:513:651=eng:579:0:1909:47:22:0
TV ONE;Television New
Zealand:1733:hM2O35S0:S0.0W:22500:517:655=eng:579:0:1910:47:22:0



More information about the mythtvnz mailing list