Update of /cvsroot/freevo/freevo/helpers
In directory sc8-pr-cvs1:/tmp/cvs-serv609/helpers
Modified Files:
tvgrep.py
Log Message:
Two small changes:
o highlight an timeslot when a show is scheduled (in case you have multiple
pages of channels) so you can tell at a glance if a recording time is free.
o allow multiple words to be specified with tvgrep. This should have been
obvious.
Things like:
tvgrep -listing family\ guy
or
tvgrep -listing family guy
or
tvgrep -listing "family guy"
will all work.
Before, it would have just searched for "family" which takes a long time and
produces too many results.
Index: tvgrep.py
===================================================================
RCS file: /cvsroot/freevo/freevo/helpers/tvgrep.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** tvgrep.py 10 Mar 2003 20:29:59 -0000 1.2
--- tvgrep.py 14 Mar 2003 04:56:53 -0000 1.3
***************
*** 93,97 ****
if len(sys.argv) > 2:
! ARG = '.*' + sys.argv[2] + '*.'
REGEXP = re.compile(ARG,re.IGNORECASE)
else:
--- 93,100 ----
if len(sys.argv) > 2:
! pattern = sys.argv[2]
! for m in sys.argv[3:]:
! pattern += '\ ' + m
! ARG = '.*' + pattern + '*.'
REGEXP = re.compile(ARG,re.IGNORECASE)
else:
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog