-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switching to upnpclient from upnpy #244
base: main
Are you sure you want to change the base?
Conversation
I need testers |
```python # ba_meta require api 8 import bascenev1 as bs import babase import threading import time def threaded(func): def wrapper(*args, **kwargs): thread = threading.Thread( target=func, args=args, kwargs=kwargs, name=func.__name__ ) thread.start() return wrapper def play_sound(): with bs.get_foreground_host_activity().context: bs.getsound('gunCocking').play() bs.getsound('cashRegister').play() bs.getsound('error').play() bs.getsound('shieldDown').play() bs.getsound('swish').play() @threaded def player(): time.sleep(2) babase.pushcall(play_sound, from_other_thread=True) # ba_meta export babase.Plugin class EntryPoint(babase.Plugin): def on_app_running(self): player() ``` fixes `RuntimeError : Sound creation failed`
- Android Doesnt work with natpmp - Efro broke windows rich presence on .35 again
This comment was marked as outdated.
This comment was marked as outdated.
A bug on discordrp that says am online when am connected to the same device on the same laptop maybe even on same network. Perform some checks to find out if the public ip address are the same or something equivalent and faster |
Android uses Bionic |
Some gamers raised concerns about
no upnp device found error
while upnp was enabled so i switched to this more recent library.The
PermissionError
occurs while trying to download and copy the modules to a directory that doesnt have the permissions tried changing it with pythonos
module but still same outcome.