Freevo

- User Documentation

# AnalogueGen

Overview

In order to configure freevo for TV you need to edit your user preferences. Freevo defaults to using mplayer as the application for TV viewing. If you want you can keep this however the application tvtime provides vastly superiour quality pictures using filters taken from the dscaler? project. If your not sure which to use go for tvtime.

Part 1, configuring freevo.conf

As part of your initial setup of Freevo you should have run the command 'freevo conf' if you didn't you'll need to do that now. Once done this will create a file freevo.conf. There are to sections in this that you need to check are correct these are 'chanlist' and 'tv'. E.G. for ireland these would be set to:

    chanlist = IRELAND
    tv = pal

Have a look at this table to figure out which you should set chanlist to.

    CHANLIST = {
         "us-bcast"         : dict(NTSC_BCAST),
         "us-cable"         : dict(NTSC_CABLE),
         "us-cable-hrc"     : dict(NTSC_HRC),
         "japan-bcast"      : dict(NTSC_BCAST_JP),
         "japan-cable"      : dict(NTSC_CABLE_JP),
         "europe-west"      : dict(PAL_EUROPE),
         "europe-east"      : dict(PAL_EUROPE_EAST),
         "italy"            : dict(PAL_ITALY),
         "newzealand"       : dict(PAL_NEWZEALAND),
         "australia"        : dict(PAL_AUSTRALIA),
         "ireland"          : dict(PAL_IRELAND),
         "france"           : dict(SECAM_FRANCE),
         "china-bcast"      : dict(PAL_CHINA),
         "canada-cable"     : dict(NTSC_CABLE_CAN),
         "southafrica"      : dict(PAL_BCAST_ZA),
         "argentina"        : dict(ARGENTINA),

The 'tv' part is your TV standard PAL, SECAM ot NTSC That's it for freevo.conf.

Part 1, configuring local_conf.py

Firsh off choose which app you want to view tv with, if you want to use mplayer you don't need to change anything. If you want to use tvtime add the following.

    plugin.remove('tv.mplayer')
    plugin.activate('tv.tvtime')

Once you have chosen your TV viewing app you need to configure the TV_Channels section. TV_CHANNELS uses the following format. Note I am writing this from memory, I will update it as soon as I am in front of a freevo box but for now please double check the syntax (24Jan2005)

    TV_CHANNELS = [
                  ( 'xmltvid', 'freevodisplayname', 'tvchannel' )
                  ]

Here is an example with some explanation.

    TV_CHANNELS = [
                  ( 'bbc1.bbc.co.uk', 'BBC One', 'A24' ),
                  ( 'bbc2.bbc.co.uk', 'BBC Two', 'A38' )
                  ]

This might look a bit strange but it's not that bad, lets take one at a time.

'xmltvid' if you look at your TV.xml file you'll see something like this * This: XMLTV TV.xml example The 'xmltvid' is taken from programme channel="" so just take a look at your TV.xml and copy the programme channel name you need into your 'xmltvid' part of TV_CHANNELS.

'freevodisplayname' Nice and simple. This is just the display name that freevo uses in the TV Guide section of freevo.

'tvchannel' This uses the same format as anothe tv viewing app xawtv. If you have this package installed you should simply run the command 'scantv' which will scan for and print your available channels. Have a look at the examples here for more help.

Once this is configured correctly you should have working TV

Examples Here you will find examples from freevo users for different countries, hopefully you'll be able to simply copy and paste these into your local_conf.py

- IE: Irish examples

- ATVCHANNELSUK : UK examples, PleaseUpdate

- DE : German examples

- FR: French examples

- ATVCHANNELSUS : US examples, PleaseUpdate

- BE : Belgian (Dutch) examples

- ATVCHANNELSDU : Dutch examples, PleaseUpdate

- ATVCHANNELSSE : Sweedish examples, PleaseUpdate

- ATVCHANNELSNZ : Newzeland examples, PleaseUpdate

- ATVCHANNELSAU : Australian listings

last edited 2005-03-17 10:30:52 by GeertDecorte
current version: http://freevo.sourceforge.net/cgi-bin/doc/AnalogueGen