Tanja wrote:
> Hi,
>
> freevo-tvserver is running now, but here comes the next problem.
>
> When I now select the TVGuide I get the following error and freevo shuts 
> down...
>
> ERROR __init__(1072): application.handler
> Traceback (most recent call last):
>    File 
> "/usr/local/freevo-2.0//lib/python2.4/site-packages/freevo/ui/application/handler.py",
>  
> line 218, in handle
>      self.applications[-1].eventhandler(event=event)
>    File 
> "/usr/local/freevo-2.0//lib/python2.4/site-packages/freevo/ui/application/menuw.py",
>  
> line 63, in eventhandler
>      return MenuStack.eventhandler(self, event)
>    File 
> "/usr/local/freevo-2.0//lib/python2.4/site-packages/freevo/ui/menu/stack.py", 
> line 180, in eventhandler
>      if menu.eventhandler(event):
>    File 
> "/usr/local/freevo-2.0//lib/python2.4/site-packages/freevo/ui/menu/menu.py", 
> line 272, in eventhandler
>      actions[0]()
>    File 
> "/usr/local/freevo-2.0//lib/python2.4/site-packages/freevo/ui/menu/action.py",
>  
> line 79, in __call__
>      return self.function(self.item, *self.args, **self.kwargs)
>    File 
> "/usr/local/freevo-2.0//lib/python2.4/site-packages/freevo/ui/tv/plugins/guide.py",
>  
> line 66, in show
>      guide = TVGuide(parent)
>    File 
> "/usr/local/freevo-2.0//lib/python2.4/site-packages/freevo/ui/tv/plugins/guide.py",
>  
> line 82, in __init__
>      self.channel  = self.get_channel()
>    File 
> "/usr/local/freevo-2.0//lib/python2.4/site-packages/freevo/ui/tv/plugins/guide.py",
>  
> line 97, in get_channel
>      return self.channels[co]
> IndexError: list index out of range

I know this bug, I need to fix it some day. The default channel is the
first one, but there are no channels so you can't use the first one. :(

> INFO __init__(1072): close socket for <kaa.rpc.Channel (client) 4>
> INFO __init__(1072): close socket for <kaa.rpc.Channel (client) 6>
> INFO __init__(1072): close socket for <kaa.rpc.Channel (client) 11>
> ERROR __init__(1072): kaa.epg client disconnected
> INFO __init__(1072): lost epg
> INFO __init__(1072): delete server link
>
> More over I wonder how to configure the epg mapping stuff in 
> tvserver.conf. Maybe the above error is related to that?

Yes it is. You need to map the DVB names (or whatever you use) to the
epg names and only channels with a card and an epg entry are
shown. May config looks like this:

| epg.mapping[3sat] = 3SAT
| epg.mapping[Das Erste] = ARD
| epg.mapping[Doku/KiKa] = Kika
| epg.mapping[EinsExtra] = EINS EXTRA
| epg.mapping[KABEL1] = KABEL 1
| epg.mapping[MDR FERNSEHEN] = MDR
| epg.mapping[MonA TV] = 
| epg.mapping[NDR FS HH *] = NDR
[...]

IMHO we need some basic logic here somewhere. How can we detect this
on our own? One idea would be to provide a germany.map file for all
mappings in Germany (and the other contries). There is no way to auto
detect that 'Das Erste' is identical to 'ARD'. This is something only
a users knows.

> @Dischi, I promised you more questions ;-)

No problem. Any question or bug report helps development.


Dischi

-- 
A marriage is always made up of two people who are prepared to swear that
only the other one snores.
        -- (Terry Pratchett, The Fifth Elephant)

Attachment: pgp30JdF6IHpa.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to