Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1:/tmp/cvs-serv1006/src/helpers
Modified Files:
tv_grab.py
Log Message:
Adding an option for tv_grab to use tv_sort on the listings and also to
update your favorites schedule.
Index: tv_grab.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/tv_grab.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tv_grab.py 8 Sep 2003 19:44:00 -0000 1.1
--- tv_grab.py 14 Oct 2003 02:44:11 -0000 1.2
***************
*** 12,15 ****
--- 12,19 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.2 2003/10/14 02:44:11 rshortt
+ # Adding an option for tv_grab to use tv_sort on the listings and also to
+ # update your favorites schedule.
+ #
# Revision 1.1 2003/09/08 19:44:00 dischi
# *** empty log message ***
***************
*** 68,74 ****
--- 72,84 ----
if not os.path.isfile(config.XMLTV_FILE) or not QUERY:
+ print 'Grabbing listings.'
os.system('%s --output %s --days %s' % ( config.XMLTV_GRABBER, config.XMLTV_FILE,
config.XMLTV_DAYS ))
+ if os.path.isfile(config.XMLTV_SORT):
+ print 'Sorting listings.'
+ os.system('%s --output %s %s' % ( config.XMLTV_SORT, config.XMLTV_FILE,
+ config.XMLTV_FILE ))
+
print
print 'searching for station information'
***************
*** 91,92 ****
--- 101,110 ----
import tv.epg_xmltv
tv.epg_xmltv.get_guide()
+
+ import tv.record_client as rc
+
+ print 'Scheduling favorites for recording: '
+
+ (result, response) = rc.updateFavoritesSchedule()
+ print ' %s' % response
+
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog