Update of /cvsroot/freevo/freevo/src/record
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2777/src/record
Modified Files:
server.py
Log Message:
-Use exact_match for searches when we know we're not searching for a substring.
-Don't search for subtitle or description when we know we don't want to.
Index: server.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/record/server.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** server.py 11 Mar 2005 14:18:29 -0000 1.40
--- server.py 24 Mar 2005 18:01:14 -0000 1.41
***************
*** 136,140 ****
rec = recordings[0]
# search epg for that recording
! results = pyepg.search(rec.name, rec.channel)
epginfo = None
for p in results:
--- 136,141 ----
rec = recordings[0]
# search epg for that recording
! results = pyepg.search(rec.name, rec.channel, search_subtitle=False,
! search_description=False, exact_match=True)
epginfo = None
for p in results:
***************
*** 306,310 ****
update = []
for f in copy.copy(self.favorites):
! for p in pyepg.search(f.name):
if not f.match(p.title, p.channel.id, p.start):
continue
--- 307,312 ----
update = []
for f in copy.copy(self.favorites):
! for p in pyepg.search(f.name, search_subtitle=False,
! search_description=False, exact_match=True):
if not f.match(p.title, p.channel.id, p.start):
continue
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog