Coder Social home page Coder Social logo

richspot's Introduction

RichSpot

Ncspot discord rich presence add-on

Since ncspot doesn’t implement spotify connect, we cannot share our listening activity in discord’s rich presence. Thus using RichSpot makes it possible to do.

imgs/example.png

Assets Notice

Assets will not be visible until they’re cached this is a limitation of discord. It will take atleast 10-15 min before they’re visible.

Installing / Running RichSpot

Through PyPi

pip install --upgrade richspot

Manually

pip install -r requirements.txt
pip install . --user

Running

richspot & # Run in the background

Requirements

How to obtain client id and authorization token?

  • Go to discord developers page.
  • Create an application with a custom name.
  • Get application id in generation info tab.
  • Optionally upload a cover image for rich presence invite.

Authorization Token is used to upload and delete song cover assets.

  • Open developers tools (Inspect Elements) (F12)

imgs/auth_token.png

WARNING ⚠

Do not share any keys with anyone unless you want to lose your account.

richspot's People

Contributors

m1ndo avatar yorunoken avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

richspot's Issues

Getting Error output.

When I run this after set up, I get:

Error: [Errno 2] No such file or directory

Repeated over and over again.

AUR package?

Since Arch is apparently externally managed and it isn't recommended to install packages through pip, I was wondering if there'a any AUR package in the works or planned?

program continuously prints invalid URL error

@yoru in ~ 
💜 richspot
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
Error: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?
^CTraceback (most recent call last):
  File "/home/yoru/.local/bin/richspot", line 8, in <module>
    sys.exit(run())
             ^^^^^
  File "/home/yoru/.local/share/pipx/venvs/richspot/lib/python3.12/site-packages/richspot.py", line 146, in run
    getmusic()
  File "/home/yoru/.local/share/pipx/venvs/richspot/lib/python3.12/site-packages/richspot.py", line 108, in getmusic
    data = sock.recv(4096)
           ^^^^^^^^^^^^^^^
KeyboardInterrupt

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.