[Ap-python-commits] python/apcontrol apcontrol.c,1.14,1.15 pysession.c,1.14,1.15
Status: Beta
Brought to you by:
sjah
From: <sj...@us...> - 2002-08-17 09:24:37
|
Update of /cvsroot/ap-python/python/apcontrol In directory usw-pr-cvs1:/tmp/cvs-serv20799/apcontrol Modified Files: apcontrol.c pysession.c Log Message: Bind ap_get_file_path. Add path member in StreamInfo object. Index: apcontrol.c =================================================================== RCS file: /cvsroot/ap-python/python/apcontrol/apcontrol.c,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** apcontrol.c 29 Jul 2002 12:38:52 -0000 1.14 --- apcontrol.c 17 Aug 2002 09:24:34 -0000 1.15 *************** *** 194,197 **** --- 194,198 ---- MAP_RET_FLOAT (get_speed) MAP_RET_STRING (get_title, AP_TITLE_MAX) + MAP_RET_STRING (get_file_path, AP_FILE_PATH_MAX) MAP_RET_STRING (get_album, AP_ALBUM_MAX) MAP_RET_STRING (get_genre, AP_GENRE_MAX) *************** *** 304,307 **** --- 305,309 ---- {"get_pan", pyget_pan, METH_VARARGS}, {"get_title", pyget_title, METH_VARARGS}, + {"get_file_path", pyget_file_path, METH_VARARGS}, {"get_album", pyget_album, METH_VARARGS}, {"get_genre", pyget_genre, METH_VARARGS}, Index: pysession.c =================================================================== RCS file: /cvsroot/ap-python/python/apcontrol/pysession.c,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** pysession.c 29 Jul 2002 12:38:52 -0000 1.14 --- pysession.c 17 Aug 2002 09:24:34 -0000 1.15 *************** *** 213,216 **** --- 213,217 ---- MAP_FLOAT (set_speed) MAP_RET_FLOAT (get_speed) + MAP_RET_STRING (get_file_path, AP_FILE_PATH_MAX) MAP_RET_STRING (get_title, AP_TITLE_MAX) MAP_RET_STRING (get_album, AP_ALBUM_MAX) *************** *** 277,280 **** --- 278,282 ---- {"set_pan", pyset_pan, METH_VARARGS}, {"get_pan", pyget_pan, METH_VARARGS}, + {"get_file_path", pyget_file_path, METH_VARARGS}, {"get_track_number", pyget_track_number, METH_VARARGS}, {"get_position", pyget_position, METH_VARARGS}, |