← Back to team overview

openshot.code team mailing list archive

[Branch ~openshot.code/openshot/main] Rev 687: I've committed this patch as this version will be around for a while.

 

------------------------------------------------------------
revno: 687
fixes bug: https://launchpad.net/bugs/596504
committer: Andy Finch <we.rocked.in79@xxxxxxxxx>
branch nick: openshot
timestamp: Tue 2012-09-04 21:13:16 +0100
message:
  I've committed this patch as this version will be around for a while.
modified:
  bin/openshot


--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main

Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'bin/openshot'
--- bin/openshot	2012-03-28 20:32:31 +0000
+++ bin/openshot	2012-09-04 20:13:16 +0000
@@ -40,7 +40,10 @@
 		sys.path.insert(0, usr_share_path)
 		print "Added %s to system path" % usr_share_path
 		
-		
+# Set the environment variables which allow pulse audio to identify the application
+os.putenv("PULSE_PROP_application.name", "OpenShot")
+os.putenv("PULSE_PROP_application.icon_name", "openshot");
+os.putenv("PULSE_PROP_media.role", "production");		
 
 # If the openshot python code is found in the Python path, then
 # we should be able to import openshot and call the main() method