Comments (5)
Hey, on travels... can look into this when I'm back in February... Sorry.
But should be fairly easy to get this running. Build the Valodim/python-pulseaudio yourself. It's just a thin ctypes wrapper lib. Rerun the script until no import errors remain. You can do it!
Happy for feedback :)
from volctl.
from volctl.
Thanks for clarifying it. Iam trying to use this on arch linux but the python pulseaudio lib throws an error:
Traceback (most recent call last):
File "volctl.py", line 6, in <module>
from pulseaudio.lib_pulseaudio import PA_VOLUME_MUTED, PA_VOLUME_NORM, \
File "/usr/lib/python2.7/site-packages/pulseaudio/__init__.py", line 29, in <module>
class PulseAudio(gobject.GObject):
File "/usr/lib/python2.7/site-packages/gi/__init__.py", line 62, in __getattr__
raise AttributeError(_static_binding_error)
AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183
Maybe iam going to create a PR for python pulseaudio...
from volctl.
Looks like you have sbillaudelle/python-pulseaudio installed (through a package manager?). Valodim/python-pulseaudio is a fork of the former one. They occupy the same python module name space. You might have a name clash. Try to uninstall/remove sbillaudelle/python-pulseaudio.
from volctl.
Yep I had it installed via the package management, but already tried the newer version from Valodim with no luck. Sadly havnt much time to investigate right now.
from volctl.
Related Issues (20)
- Installation error ... HOT 3
- Installation doesn't work on ZorinOS HOT 11
- Fails to launch, error involving gdk and freeze count HOT 9
- Remove pulseaudio as a dependency in AUR package HOT 3
- Launch option for detached/oneshot usages. HOT 1
- OSD options HOT 1
- Increase Volume in Custom Steps HOT 1
- No check for multiple instances HOT 1
- Customization HOT 4
- display osd only HOT 1
- ValueError: invalid enum value: 15 in gi HOT 2
- Settings schema 'apps.volctl' does not contain a key named 'prefer-gtksi' HOT 1
- Mouse wheel step resets itself HOT 2
- memory leak 0.9.3
- Allow usage of complex commands for mixer HOT 3
- Fails with `module 'pulsectl._pulsectl' has no attribute 'PA_SAMPLE_FLOAT32B` HOT 7
- Volctl not launching HOT 2
- Wait for tray HOT 9
- changing osd icon on the screen. adding missing documentation. HOT 3
- Prevent Multiple Instances from running Similtaneously HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volctl.