Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14156/tv
Modified Files:
recordings.py
Log Message:
add mbus parameter parsing
Index: recordings.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/recordings.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** recordings.py 4 Nov 2004 17:37:56 -0000 1.2
--- recordings.py 4 Nov 2004 19:14:08 -0000 1.3
***************
*** 1,8 ****
# test code, replacing record_client and record_server in the future
! if __name__ == '__main__':
! import notifier
! notifier.init( notifier.GENERIC )
!
import mcomm
--- 1,5 ----
# test code, replacing record_client and record_server in the future
! import sys
import mcomm
***************
*** 23,29 ****
server = entity
try:
! print server.list_recordings() # wait
except mcomm.MException, e:
print 'recordings.notification:', e
return
--- 20,29 ----
server = entity
try:
! print server.recording_list() # wait
except mcomm.MException, e:
print 'recordings.notification:', e
+ info = { 'description': 'foo', 'sub_title': 1 }
+ print server.recording_add(String('Umlaut �'), Unicode('�RF'), 2, 78, 100,
info)
+ sys.exit(0)
return
***************
*** 31,33 ****
--- 31,34 ----
if __name__ == '__main__':
+ import notifier
notifier.loop()
-------------------------------------------------------
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