Giter VIP home page Giter VIP logo

discord-rpc-for-automatic1111-webui's Introduction

Discord Rich Presence for AUTOMATIC1111's WebUI

Silent extension providing connection to Discord RPC, so it would show a fancy table in the user profile. Extension is silent, so no additional tabs will clutter your visual space.

Screenshots

scrf

References

The plugin uses this python connector to RPC https://github.com/LyQuid12/Discord-RPC.

The code allowing dynamic updates have some threading problems, so is disabled for now. If you liked this extension or its idea, I'd appreciate any help in its development.

Known issues and troubleshooting

In case it will give a package error after the installation, restart the webui.

To uninstall the extension, in case it freezes the program, close the webui, go to the 'extensions' folder and remove the plugin.

discord-rpc-for-automatic1111-webui's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discord-rpc-for-automatic1111-webui's Issues

*** Error executing callback ui_tabs_callback for Q:\sd.webui\webui\extensions\discord-rpc-for-automatic1111-webui\scripts\webui-rpc.py

*** Error executing callback ui_tabs_callback for Q:\sd.webui\webui\extensions\discord-rpc-for-automatic1111-webui\scripts\webui-rpc.py
Traceback (most recent call last):
File "Q:\sd.webui\webui\modules\script_callbacks.py", line 153, in ui_tabs_callback
res += c.callback() or []
File "Q:\sd.webui\webui\extensions\discord-rpc-for-automatic1111-webui\scripts\webui-rpc.py", line 34, in on_ui_tabs
start_rpc()
File "Q:\sd.webui\webui\extensions\discord-rpc-for-automatic1111-webui\scripts\webui-rpc.py", line 27, in start_rpc
rpc.connect()
File "Q:\sd.webui\system\python\lib\site-packages\pypresence\presence.py", line 43, in connect
self.loop.run_until_complete(self.handshake())
File "asyncio\base_events.py", line 646, in run_until_complete
File "Q:\sd.webui\system\python\lib\site-packages\pypresence\baseclient.py", line 116, in handshake
self.sock_writer, _ = await asyncio.wait_for(self.loop.create_pipe_connection(lambda: reader_protocol, ipc_path), self.connection_timeout)
AttributeError: '_WindowsSelectorEventLoop' object has no attribute 'create_pipe_connection'

*** Error executing callback ui_tabs_callback for D:\sd.webui\webui\extensions\discord-rpc-for-automatic1111-webui\scripts\webui-rpc.py

*** Error executing callback ui_tabs_callback for D:\sd.webui\webui\extensions\discord-rpc-for-automatic1111-webui\scripts\webui-rpc.py
Traceback (most recent call last):
File "D:\sd.webui\webui\modules\script_callbacks.py", line 166, in ui_tabs_callback
res += c.callback() or []
File "D:\sd.webui\webui\extensions\discord-rpc-for-automatic1111-webui\scripts\webui-rpc.py", line 34, in on_ui_tabs
start_rpc()
File "D:\sd.webui\webui\extensions\discord-rpc-for-automatic1111-webui\scripts\webui-rpc.py", line 27, in start_rpc
rpc.connect()
File "D:\sd.webui\system\python\lib\site-packages\pypresence\presence.py", line 43, in connect
self.loop.run_until_complete(self.handshake())
File "asyncio\base_events.py", line 646, in run_until_complete
File "D:\sd.webui\system\python\lib\site-packages\pypresence\baseclient.py", line 116, in handshake
self.sock_writer, _ = await asyncio.wait_for(self.loop.create_pipe_connection(lambda: reader_protocol, ipc_path), self.connection_timeout)
AttributeError: '_WindowsSelectorEventLoop' object has no attribute 'create_pipe_connection'

Not Working

I have installed the Discord-RPC and then installed your extension and it doesnt say anything on my discord profile about being in Stable Diffusion.

Client ID is invalid.

I have one of the new Discord names and I think that this is an issue. How do I update within the auto1111 because it keeps stating:

Failed to set Discord RPC. model_name="v1-5-pruned-emaonly.safetensors", last_timestamp=1691262188.0. Err: Client ID is Invalid

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.