Op di 12-12-2006, om 21:06 schreef Dirk Meyer: > Sure. It is src/disc/audioinfo.py. In inherits from DiscInfo and uses > some calls in C to get disc id and stuff like that. In the C part, a > simple printf should work for debugging.
I added some print() statements to see what info is extracted: cdromfd = DiscID.open(device) disc_id = DiscID.disc_id(cdromfd) print(cdromfd) gives: <open file '/dev/dvd', mode 'r' at 0x4fe99410> print(device) gives: /dev/dvd print(disc_id) gives: [4060908817L, 17, 150, 14425, 28425, 37900, 51363, 64038, 80475, 88050, 99213, 111000, 126913, 146913, 164075, 180288, 194200, 206775, 227388, 3215] Putting print anywhere else gives me nothing more... -- Groetjes Japie ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
