Update of /cvsroot/ap-python/python/examples/apcontrol
In directory usw-pr-cvs1:/tmp/cvs-serv20799/examples/apcontrol
Modified Files:
info.py info2.py
Log Message:
Bind ap_get_file_path. Add path member in StreamInfo object.
Index: info.py
===================================================================
RCS file: /cvsroot/ap-python/python/examples/apcontrol/info.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** info.py 2 Jun 2002 17:08:02 -0000 1.6
--- info.py 17 Aug 2002 09:24:34 -0000 1.7
***************
*** 9,12 ****
--- 9,13 ----
if s.is_running ():
print 'Session name:', s.get_session_name ()
+ print 'File path:', s.get_file_path ()
print 'Playing:', s.is_playing () and "Yes" or "No"
print 'Status:', s.get_status ()
Index: info2.py
===================================================================
RCS file: /cvsroot/ap-python/python/examples/apcontrol/info2.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** info2.py 2 Jun 2002 17:08:02 -0000 1.6
--- info2.py 17 Aug 2002 09:24:34 -0000 1.7
***************
*** 7,10 ****
--- 7,11 ----
if apcontrol.session_running (0):
print 'Session name:', apcontrol.get_session_name (0)
+ print 'File path:', apcontrol.get_file_path (0)
print 'Playing:', apcontrol.is_playing (0) and "Yes" or "No"
print 'Status:', apcontrol.get_status (0)
|