Hello,

I'm following up on Adam's suggestion to use livepause/dvbstreamer to be
able access PSIP EPG information in Freevo.  I am running Freevo 1.8.2
on Xubuntu Hardy, with Freevo and Kaa installed from the sourceforge
packages and dvbstreamer (1.1) downloaded and compiled from its
sourceforge package.

The problem seems to be that freevo cannot communicate with dvbstreamer.
  Here is a largish section of the log:


> 
> 2008-12-04 10:35:23,449 DEBUG    plugin.py (551): loading 
> tv.plugins.livepause as plugin tv.plugins.livepause.PluginInterface
> 2008-12-04 10:35:23,482 DEBUG    __init__.py (146): live pause started: 
> Path=/tmp/live.buf Max Size=128MB
> 2008-12-04 10:35:23,492 DEBUG    plugin.py (551): loading 
> tv.plugins.dvbstreamer.record as plugin 
> tv.plugins.dvbstreamer.record.PluginInterfac
> e
> 2008-12-04 10:35:23,506 DEBUG    record.py (65): dvbstreamer plugin starting
> 2008-12-04 10:35:23,515 DEBUG    plugin.py (551): loading plugins.command as 
> plugin plugins.command.CommandMainMenuItem
> 2008-12-04 10:35:23,527 DEBUG    plugin.py (551): loading plugins.command as 
> plugin plugins.command.CommandMainMenuItem
> 2008-12-04 10:35:23,536 DEBUG    plugin.py (551): loading plugins.command as 
> plugin plugins.command.CommandMainMenuItem
> 2008-12-04 10:35:23,544 DEBUG    plugin.py (551): loading plugins.command as 
> plugin plugins.command.CommandMainMenuItem
> Freevo 1.8.2 ready
> 2008-12-04 10:35:23,976 INFO     create thread notifier pipe
> 2008-12-04 10:35:23,982 DEBUG    menu.py (903): clicked_menu="Listen to 
> Music" type=main image=/home/freevo/freevo-1.8.2/share/freevo/images/g
> ant/music.png icon=None, self.all_item="Watch TV" type=main 
> image=/home/freevo/freevo-1.8.2/share/freevo/images/gant/tv.png icon=None
> 2008-12-04 10:35:26,816 DEBUG    Trying video/dvd
> 2008-12-04 10:35:26,830 DEBUG    Trying directory
> 2008-12-04 10:35:27,737 DEBUG    epg_xmltv.py (87): XMLTV, reading cached 
> file (/home/freevo/.freevo/cache/TV.xml.pickled)
> 2008-12-04 10:35:27,841 INFO     epg_xmltv.py (110): XMLTV, got cached guide 
> (version 6).
> 2008-12-04 10:35:27,882 INFO     record_client.py (430): ('localhost', 18001) 
> is up
> 2008-12-04 10:35:27,883 DEBUG    delay packet CALL
> 2008-12-04 10:35:28,457 DEBUG    delay packet CALL
> 2008-12-04 10:35:28,468 DEBUG    Got initial challenge from server, sending 
> response.
> 2008-12-04 10:35:28,471 DEBUG    Valid response received, remote 
> authenticated.
> 2008-12-04 10:35:29,663 DEBUG    channels.py (87): 
> getVideoGroup(chan='021b.4329.000a', isplayer=True, chan_index=0)
> 2008-12-04 10:35:29,686 DEBUG    __init__.py (312): New channel, tuning to 
> 4-1 CBOT-DT
> 2008-12-04 10:35:29,687 DEBUG    channels.py (87): getVideoGroup(chan='4-1 
> CBOT-DT', isplayer=True, chan_index=2)
> 2008-12-04 10:35:29,688 DEBUG    channels.py (87): getVideoGroup(chan='4-1 
> CBOT-DT', isplayer=True, chan_index=2)
> 2008-12-04 10:35:29,688 DEBUG    channels.py (87): getVideoGroup(chan='4-1 
> CBOT-DT', isplayer=True, chan_index=2)
> 2008-12-04 10:35:29,690 DEBUG    manager.py (84): Selecting channel 4-1 
> CBOT-DT on adapter 0
> 2008-12-04 10:35:29,691 DEBUG    manager.py (86): Got the controller for 
> channel 4-1 CBOT-DT on adapter 0
> Traceback (most recent call last):
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/livepause/controllers.py",
>  line 134, in start_filling
>     self.manager.select(device,  channel)
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/dvbstreamer/manager.py",
>  line 87, in select
>     controller.set_current_service(channel)
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/dvbstreamer/comms.py",
>  line 88, in set_current_service
>     (errcode, errmsg, msg) = self.execute_command('select ' + service, True)
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/dvbstreamer/comms.py",
>  line 67, in execute_command
>     ctrlcon.open()
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/dvbstreamer/comms.py",
>  line 256, in open
>     self.socket.connect((self.host, self.adapter + 54197))
>   File "<string>", line 1, in connect
> error: (111, 'Connection refused')
> Traceback (most recent call last):
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/livepause/controllers.py",
>  line 145, in start_filling
>     self.manager.enable_udp_output(device,  ip_address, port)
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/dvbstreamer/manager.py",
>  line 63, in enable_udp_output
>     self.set_mrl(adapter, self.get_udp_mrl(ip_address,port))
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/dvbstreamer/manager.py",
>  line 96, in set_mrl
>     controller.set_servicefilter_mrl(comms.PRIMARY_SERVICE_FILTER, mrl)
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/dvbstreamer/comms.py",
>  line 113, in set_servicefilter_mrl
>     (errcode, errmsg, msg) = self.execute_command('setsfmrl %s %s' % 
> (service_filter, mrl), True)
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/dvbstreamer/comms.py",
>  line 67, in execute_command
>     ctrlcon.open()
>   File 
> "/home/freevo/freevo-1.8.2/lib/python2.5/site-packages/freevo/tv/plugins/dvbstreamer/comms.py",
>  line 256, in open
>     self.socket.connect((self.host, self.adapter + 54197))
>   File "<string>", line 1, in connect
> error: (111, 'Connection refused')
> 2008-12-04 10:35:29,703 DEBUG    fillers.py (78): Starting thread
> 2008-12-04 10:35:29,705 DEBUG    fillers.py (112): UDPTSReceiver thread 
> started
> 2008-12-04 10:35:29,706 DEBUG    __init__.py (637): Changing state from Idle 
> to Tuning
> 2008-12-04 10:35:49,911 DEBUG    __init__.py (396): Event DATA_TIMEDOUT
> 2008-12-04 10:35:49,915 DEBUG    __init__.py (637): Changing state from 
> Tuning to Idle
> 2008-12-04 10:35:49,918 DEBUG    controllers.py (174): Enable events? False

here is a part of my local_config.py

> plugin.remove('tv.mplayer')
> plugin.activate('tv.livepause')
> LIVE_PAUSE2_BUFFER_SIZE=128
> LIVE_PAUSE2_BUFFER_PATH='/tmp/live.buf' # Location of the live buffer.
> LIVE_PAUSE2_PREFERRED_PLAYER='xine'
> #plugin.remove('tv.generic_record')
> plugin_record = plugin.activate('tv.dvbstreamer.record')
> TV_RECORDFILE_SUFFIX='.ts'
> 
> TV_CHANNELS = [
>     ( '021b.4329.000a', '4-1 CBOT-DT', '4-1 CBOT-DT' ) ]
> 
> TV_VIDEO_GROUPS = [
>     # Use this group for watching tv
> VideoGroup(vdev='0',
>                 group_type='dvb',
>                 desc='Watching Video Group', ),
> #                record_group=None)
> ]
> 


Thanks in advance for any help.

Michael

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to