On Thu, Oct 23, 2008 at 12:42 PM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> "Jonathan Isom" wrote:
>>    Just let me know if this is already known as this is a work in progress.
>> As I said in an earlier post in thread I have 2 atsc cards. tvserver detects
>> both however it only starts the first card.
>
> Take a look at rpc.py in devices and add some debug. I never tested two
> devices but the code looks like it should work.

did testing with devices.py in test and that appears to start 2 dvbstreamer
instances.

>> also I managed, using the test.py in tvserver, to set a recording.
>> However no recording started.  I tried with both the dvb and channel
>> name(02a5.03e1.0003 ::: 3-1 WCIA-DT).
>
> Try the test/devices.py. It works without the tvserver running. In
> fact, you are not allowed to have it running. You also need latest svn
> from dvbstreamer.

Got the latest svn already :).  I'm getting a traceback in dvbstreamer.py.

DEBUG] dvbstreamer(53): new controller: adapter=/dev/dvb/adapter0
2008-10-23 15:41:22,179 [DEBUG] dvbstreamer(162): cmd lsservices -id
0
2008-10-23 15:41:22,193 [INFO] popen(172): running dvbstreamer (pid=898)
2008-10-23 15:41:22,203 [INFO] popen(549): start process watching
2008-10-23 15:41:22,205 [INFO] thread(237): create thread notifier pipe
2008-10-23 15:41:22,208 [INFO] popen(484): No data on stderr for pid 888.
2008-10-23 15:41:22,246 [DEBUG] dvbstreamer(162): cmd serviceinfo 00bd.0435.0003
2008-10-23 15:41:22,252 [DEBUG] dvbstreamer(162): cmd serviceinfo 00bd.0435.0004
2008-10-23 15:41:22,256 [DEBUG] dvbstreamer(162): cmd serviceinfo 01f1.03fb.0004
2008-10-23 15:41:22,263 [DEBUG] dvbstreamer(162): cmd serviceinfo 01f1.03fb.0003
2008-10-23 15:41:22,266 [DEBUG] dvbstreamer(162): cmd serviceinfo 0209.03fd.0004
2008-10-23 15:41:22,271 [DEBUG] dvbstreamer(162): cmd serviceinfo 0209.03fd.0003
2008-10-23 15:41:22,275 [DEBUG] dvbstreamer(162): cmd serviceinfo 0221.0437.0003
2008-10-23 15:41:22,279 [DEBUG] dvbstreamer(162): cmd serviceinfo 027b.03e3.0003
2008-10-23 15:41:22,283 [DEBUG] dvbstreamer(162): cmd serviceinfo 02a5.03e1.0003
2008-10-23 15:41:22,287 [DEBUG] dvbstreamer(162): cmd serviceinfo 02a5.03e1.0004
2008-10-23 15:41:22,291 [DEBUG] dvbstreamer(162): cmd serviceinfo 0221.0437.0004
2008-10-23 15:41:22,295 [DEBUG] dvbstreamer(162): cmd serviceinfo 00bd.0435.0005
2008-10-23 15:41:22,299 [DEBUG] dvbstreamer(162): cmd serviceinfo 00bd.0435.0009
2008-10-23 15:41:22,303 [DEBUG] dvbstreamer(162): cmd serviceinfo 00bd.0435.000a
2008-10-23 15:41:22,308 [DEBUG] dvbstreamer(162): cmd serviceinfo ffff.ffff.3b07
2008-10-23 15:41:22,314 [ERROR] async(391): Unhandled InProgress exception:
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/kaa/notifier/coroutine.py",
line 288, in _step
    result = _process(self._coroutine, self._async)
  File "/usr/lib64/python2.5/site-packages/kaa/notifier/coroutine.py",
line 93, in _process
    return func.send(async._result)
  File 
"/home/jisom/freevo2/lib/python2.5/site-packages/tvserver/devices/plugins/dvbstreamer.py",
line 101, in _dvbstreamer_init
    if service['Name'] in self.channels:
KeyError: 'Name'
------------------------------------------------------------------------------------
adding a print( "%s\n" % service ) before this gives me:


2008-10-23 15:30:36,075 [DEBUG] dvbstreamer(164): cmd serviceinfo 00bd.0435.0003
{'Name': '12-1 WILL-HD', 'Default Authority': '(null)', 'Conditional
Access?': 'Free to Air', 'Source': '0x0001', 'Version': '6',
'Provider': '(null)', 'PMT PID': '0x0030', 'Type': 'Unknown', 'ID':
'00bd.0435.0003', 'Multiplex UID': '1217651577'}
2008-10-23 15:30:36,079 [DEBUG] dvbstreamer(164): cmd serviceinfo 00bd.0435.0004
{'Name': '12-2 WILLSD1', 'Default Authority': '(null)', 'Conditional
Access?': 'Free to Air', 'Source': '0x0002', 'Version': '3',
'Provider': '(null)', 'PMT PID': '0x0040', 'Type': 'Unknown', 'ID':
'00bd.0435.0004', 'Multiplex UID': '1217651577'}
...

so it does have an attribute Name.

Any thoughts?

Jonathan




>> Just trying to help out the best I can and learn something.
>
> Thanks. Feedback always welcome.
>
>
> Dischi
>
> --
> "I don't suffer from insanity. I enjoy every minute of it."
>
> -------------------------------------------------------------------------
> 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-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>

-------------------------------------------------------------------------
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-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to