~killerkiwi2005/earcandy/0.7

« back to all changes in this revision

Viewing changes to earcandy/pulseaudio/Client.py

  • Committer: jason
  • Date: 2010-04-14 22:05:39 UTC
  • Revision ID: jason@ender-20100414220539-m4ed1w6dnxtfnrje
essage=per stream

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
        
5
5
        self.name = str(contents.name)
6
6
        self.index = int(contents.index)
7
 
        self.pid = pa.pa_proplist_gets(contents.proplist, "application.process.id") or -1
 
7
        self.pid = float(pa.pa_proplist_gets(contents.proplist, "application.process.id") or -1)
8
8
 
9
9
        # Almost no applications use these yet :(
10
10
        self.binary = pa.pa_proplist_gets(contents.proplist, "application.process.binary") or None