when I run "freevo search X-Play" to search for all occurances of X-Play is crashes and hangs.
[EMAIL PROTECTED]:/usr/local/src/freevo/bin# ./freevo-epg search X-Play
INFO server(373): send list for 2 recordings
Results for 'X-Play':
ERROR callback(473): signal.emit
Traceback (most recent call last):
  File "../base/build/lib.linux-i686-2.4/kaa/notifier/callback.py", line 468, in emit
  File "./freevo-epg", line 100, in search
    print "- Queried %d programs; %s results; %.04f seconds" % \
AttributeError: 'Client' object has no attribute 'get_num_programs'
ERROR client(78): kaa.epg client disconnected
INFO client(81): delete server link


Looks like some info from client.py was public, so I attempted to fix it. **Hopefully this is a little less ugly**

diff client.py client.org
239,245d238
<     def get_num_programs(self):
<         """
<         Get number of programs
<         """
<         return self._num_programs
<
<

diff __init__.py __init__.org
90,97d89
< def get_num_programs():
<     """
<     Return the number of total programs
<     """
<     if guide and not guide.status == DISCONNECTED:
<         return guide.get_num_programs()
<     return []
<
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to