Hello all,
I'm using Freevo since 2 weeks ago. I configured all except TV and I can't
get it to work.
I use Debian and I installed Freevo from .deb packages (version is 1.9.0).
In my computer there is a DVB-T card Hauppauge NOVA-TD-500 that is correctly
configured and working (tested with Kaffeine, and is a dual dvb-t card).
I Installed from source Dvbstreamer1.2 and Livepause.
I ran $setupdvbstreamer –T channel.conf to configure and I tested
Dvbstreamer with these commands:
on first terminal window $dvbstreamer -o udp://127.0.0.1:1234 -a 0
and then $dvbstreamer>select LA7 (LA7 is a channel name)
on a second terminal window $xine udp://127.0.0.1:1234
and It works because it opens Xine showing live TV from Dvbstreamer.
I builded a TV.xml file for Freevo by using this script:
#!/bin/bash
DVBCTRL="/usr/local/bin/dvbctrl -u dvbstreamer -p control"
DELAY=300
XMLTVFILE=/tmp/TV.xml
#start dvbstreamer
dvbstreamer -a 0 -d
# wait for recording/streaming to stop
until
$DVBCTRL lssfs |grep -q null
do
sleep 30
done
# Cycle through transponders
$DVBCTRL lsservices|sort |uniq -w 2 | while read service; do
$DVBCTRL select "$service"
sleep $DELAY
done
# Dump listings to file
$DVBCTRL dumpxmltv > $XMLTVFILE
killall dvbstreamer
exit 0
I also builded a channel list for Freevo local_conf.py by using this
script:
#!/bin/bash
dvbstreamer -a 0 -d
dvbctrl lsservices -- -id | awk 'BEGIN {FS=" : "} {print $1}' | sed "s/^/ (
'/g" | sed "s/$/',/g" > /tmp/column1
dvbctrl lsservices -- -id | awk 'BEGIN {FS=" : "} {print $2}' | sed
"s/^/'/g" | sed "s/$/',/g" > /tmp/column2
dvbctrl lsservices -- -id | awk 'BEGIN {FS=" : "} {print $1}' | sed
"s/^/'/g" | sed "s/$/'),/g" > /tmp/column3
echo "TV_CHANNELS = ["
paste /tmp/column1 /tmp/column2 /tmp/column3
echo "]"
killall dvbstreamer
exit 0
and then pasting the output into local_conf.py
I run freevo as my user so I added my user to Freevo group
Here is an extract from local_conf.py relative to TV configuration:
# ======================================================================
# Freevo TV settings:
# ======================================================================
TV_RECORD_DIR = '/mnt/windows/Documents and Settings/All
Users/Documenti/Video'
================================================================================
# Watching TV
#
================================================================================
#TV_SETTINGS = 'pal television italy /dev/dvb/adapter0/frontend0'
# eg: TV_SETTINGS = 'ntsc television us-cable /dev/video0'
#TV_DRIVER = 'v4l2'
#TV_DEVICE = '/dev/dvb/adapter0/frontend0'
#TV_INPUT = 0
plugin.remove('tv.mplayer')
plugin.activate('tv.livepause')
LIVE_PAUSE2_BUFFER_SIZE= 2048 # Size of the live buffer in MB. (Default 2GB)
LIVE_PAUSE2_BUFFER_PATH='/tmp/freevo-live.buf' # Location of the live
buffer.
LIVE_PAUSE2_PREFERRED_PLAYER='xine'
LIVE_PAUSE2_BUFFER_TIMEOUT=30
plugin.remove('tv.generic_record')
plugin_record = plugin.activate('tv.dvbstreamer.record')
TV_VIDEO_GROUPS = [
VideoGroup(vdev='0',
group_type='dvb',
desc='Watching Video Group',
record_group=None)
# VideoGroup(vdev='1',
# group_type='dvb',
# desc='Recording Video Group',
# record_group=1),
]
#
TV_CHANNELS = [
( '217c.6825.0043', 'Canale 10 sport', '217c.6825.0043'),
…
( 'ffff.6825.038c', '038c', 'ffff.6825.038c')
]
# TV_CHANNELS = None
XMLTV_GRABBER = '/usr/bin/tv_grab_it'
XMLTV_SORT = '/usr/bin/tv_sort'
XMLTV_DAYS = 7
XMLTV_FILE = '/tmp/TV.xml'
-------------------------------------------------------------------------------
So before I start Freevo I check if exists /tmp/TV.xml
then I start Dvbstreamer:
$dvbstreamer -a 0 -d
and when I run freevo and select “Watch TV” and then “TV Guide” I can see
the channel list but the program guide is empty (surely because the TV.xml
file contains only channel's name and no program information) and if I
select a channel the screen goes black with an empty progress bar and
something like “tuning channel” then nothing more happens and I must go back
to the channel list.
If I quit Freevo I can see this log on terminal window (I always start
Freevo from terminal):
You are not part of the group 'freevo', you cannot exploit shared resources
(such as the cache). Your data will be saved in /home/gto/.freevo
/usr/lib/python2.6/dist-packages/kaa/metadata/disc/cdrom.py:37:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
ROM_DRIVES: Auto-detected and added "('/media/cdrom0', '/dev/cdrom',
'CD-1')"
version: 1.9.0
plugin dialog.x11_overlay_display deactivated, reason: kaa.display is not
installed
Freevo 1.9.0 ready
Traceback (most recent call last):
File "/usr/share/pyshared/freevo/tv/plugins/livepause/controllers.py", line
131, in start_filling
self.manager.select(device, channel)
File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/manager.py", line
86, in select
controller.set_current_service(channel)
File "/usr/share/pyshared/freevo/tv/plugins/dvbstreamer/comms.py", line 90,
in set_current_service
raise RuntimeError, errmsg
RuntimeError: Service not found!
Freevo 1.9.0 exited
As I wrote before the user is added to group freevo despite the message.
I think that Freevo can't use correctly Dvbstreamer or Livepause to select
the channel, but I don't know why.
I'm not a programmer and I can't troubleshoot this error, may someone help
me?
Thanks
--
Leonardo Calamai
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users