Re: [FSO] how to get info from odeviced audio interface?

2009-09-05 Thread Michael 'Mickey' Lauer
This has now been fixed. Sample output: mic...@andromeda:/local/pkg/fso/cornucopia/fsodeviced$ mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio org.freesmartphone.Device.Audio.GetInfo { 'formats': ['wav', 'ogg', 'mod', 'mp3', 'sid'], 'name': 'Default Audio Device',

Re: [FSO] how to get info from odeviced audio interface?

2009-09-05 Thread Laszlo KREKACS
On Sat, Sep 5, 2009 at 1:38 PM, Michael 'Mickey' Lauermic...@vanille-media.de wrote: This has now been fixed. Sample output: Thank you! Laszlo ___ Openmoko community mailing list community@lists.openmoko.org

[FSO] how to get info from odeviced audio interface?

2009-09-03 Thread Laszlo KREKACS
Hi! Maybe many of you know, that Angus wrote a mixer script which helps finetune the voice quality during call. The mixer script can be found here: http://www.mail-archive.com/supp...@lists.openmoko.org/msg04800.html It halts with this error message: Traceback (most recent call last): File

Re: [FSO] how to get info from odeviced audio interface?

2009-09-03 Thread arne anka
mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio org.freesmartphone.Device.Audio.GetInfo i don't know about the currrent api, but testing with a known not working call seems rather silly. i would try mdbus -s org.freesmartphone.odeviced and check for the possible path,

Re: [FSO] how to get info from odeviced audio interface?

2009-09-03 Thread Laszlo KREKACS
On Thu, Sep 3, 2009 at 3:12 PM, arne ankaopenm...@ginguppin.de wrote: and check for the possible path, in case /org/freesmartphone/Device/Audio is really there, try again It looks, its there: r...@om-gta02 ~ $ mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio [METHOD]

Re: [FSO] how to get info from odeviced audio interface?

2009-09-03 Thread arne anka
[METHOD]org.freesmartphone.Device.Audio.GetInfo() i had a short look at the file/line (audio.py l.491) and fumbled a bit with that self.player -- but no luck. looks like a bug to me, even more, since i explicetly removed the call to the _attribute_.

Re: [FSO] how to get info from odeviced audio interface?

2009-09-03 Thread arne anka
seems, the code is read once upon start of frameworkd and no change is detected until restart. you could try to change the method GetInfo to something like dbus_ok( self.players[ogg].__class__.__name__ ) or player = self.playerForFile(foo.ogg) dbus_ok( player.__class__.__name__ ) and restart