Giter VIP home page Giter VIP logo

weightspotifyextention's Introduction

a browser extension that adds weights to your songs that update dynamically depending on how long you listen and skips songs depending on the weight

To run you will need three things

for the backend

  • add your Spotify client-id secret-id to the variables at the top
  • dotnet build
  • dotnet run

for the frontend just launch with live server ( you only need this once)

for the extension Go to chrome://extensions press load unpacked and pick the directory of the source code

how before you can use the extension you need to get your token and refresh the token

  • Launch the backend and frontend
  • Click the button on the front-end which will redirect you
  • Copy the token and the refresh-token from the response into lines 14 and 15 in content.js of the extension

now to use the extension

  • With the token and refresh-token added run the extension once by going to https://open.spotify.com/
  • Then delete those lines and refresh the extension in chrome://extensions

Now you're all set!

known issues trying to skip back to a song that got skipped sorta breaks some things (it keeps running the weight just is add in a weird way) if you try to play a different song it may skip it (not too much I can do) you may get rate limited by Spotify by skipping (I may try to add skipping the songs by the browser in the future) you always have to have a Spotify tab open (can't do anything about this I need it to check the currently playing song)

weightspotifyextention's People

Contributors

tentamens avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar

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.