Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3734/helpers

Modified Files:
        recordserver.py tv_grab.py 
Log Message:
Current status of the recordserver:
o add/delete/modify/list recordings
o add/list favorites
o tv_grab will force an internal favorite update
o create recordings based on favorites
o basic conflict detection
o store everything in a fxd file
Recording itself (a.k.a. record/plugins) is not working yet


Index: recordserver.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/recordserver.py,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** recordserver.py     2 Nov 2004 20:15:51 -0000       1.62
--- recordserver.py     6 Nov 2004 17:56:21 -0000       1.63
***************
*** 8,11 ****
--- 8,21 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.63  2004/11/06 17:56:21  dischi
+ # Current status of the recordserver:
+ # o add/delete/modify/list recordings
+ # o add/list favorites
+ # o tv_grab will force an internal favorite update
+ # o create recordings based on favorites
+ # o basic conflict detection
+ # o store everything in a fxd file
+ # Recording itself (a.k.a. record/plugins) is not working yet
+ #
  # Revision 1.62  2004/11/02 20:15:51  dischi
  # replace recordserver with mbus test code
***************
*** 48,51 ****
--- 58,62 ----
  
  import notifier
+ import record.server
  
  # change uid
***************
*** 64,78 ****
  while 1:
      try:
!         notifier.init( notifier.GENERIC )
! 
!         # import recorder server
!         import record.server
!         start = time.time()
          record.server.RecordServer()
          notifier.loop()
          break
      except:
          traceback.print_exc()
!         if start + 10 > time.time():
!             print 'server problem, sleeping 1 min'
!             time.sleep(60)
--- 75,85 ----
  while 1:
      try:
!         notifier.init(notifier.GENERIC)
          record.server.RecordServer()
          notifier.loop()
+     except KeyboardInterrupt:
          break
      except:
          traceback.print_exc()
!         print 'server problem, sleeping 1 min'
!         time.sleep(60)

Index: tv_grab.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/tv_grab.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** tv_grab.py  20 Oct 2004 12:33:01 -0000      1.12
--- tv_grab.py  6 Nov 2004 17:56:21 -0000       1.13
***************
*** 12,15 ****
--- 12,25 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.13  2004/11/06 17:56:21  dischi
+ # Current status of the recordserver:
+ # o add/delete/modify/list recordings
+ # o add/list favorites
+ # o tv_grab will force an internal favorite update
+ # o create recordings based on favorites
+ # o basic conflict detection
+ # o store everything in a fxd file
+ # Recording itself (a.k.a. record/plugins) is not working yet
+ #
  # Revision 1.12  2004/10/20 12:33:01  rshortt
  # Put epg loading inside xmltv results check.
***************
*** 60,63 ****
--- 70,74 ----
  
  import config
+ import mcomm
  
  import pyepg
***************
*** 129,138 ****
      grab()
  
!     import tv.record_client as rc
!     
!     print 'Scheduling favorites for recording:  '
! 
!     (result, response) = rc.updateFavoritesSchedule()
!     print '    %s' % response
! 
! 
--- 140,148 ----
      grab()
  
!     print 'connecting to recordserver'
!     rs = mcomm.find('recordserver')
!     if not rs:
!         print 'recordserver not running'
!         sys.exit(0)
!     print 'update favorites'
!     rs.favorite_update()



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to