https://github.com/deutranium/spotify.mlh
Spotify extension for VSCode | Control queue and playback within the VSCode window itself | Made as a part of MLH Explorer Spring'21
https://github.com/deutranium/spotify.mlh
Last synced: 6 months ago
JSON representation
Spotify extension for VSCode | Control queue and playback within the VSCode window itself | Made as a part of MLH Explorer Spring'21
- Host: GitHub
- URL: https://github.com/deutranium/spotify.mlh
- Owner: deutranium
- Created: 2021-05-11T01:02:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T01:03:21.000Z (over 4 years ago)
- Last Synced: 2025-02-09T18:49:25.884Z (8 months ago)
- Language: TypeScript
- Size: 116 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# spotify.mlh
Spotify.MLH is a lightweight VS Code extension that allows a user to control their spotify player from within their coding environment. It was created during a 2 week sprint by three fellows in the spring 2021 Major League Hacking Externship Fellowship. Each fellow worked ~20 hours a week on this extension on top of their schoolwork or their jobs, respectively.
## Features
**Control playback:**
- Play
- Pause
- Next song
- Previous Song
- Add to queue**Browse library:**
- Playlists
- Liked Albums
- Followed Artists
- History
- Liked Tracks## Setup
1. Sign up for a Spotify account (a free account is ok for development, but Premium is required for testing)
1. Log in to [Spotify for Developers](https://developer.spotify.com/dashboard/)
1. Create an app
1. Open the settings for your app and add `vscode://goofies.spotifymlh/authorized` as a redirect URI
1. Clone the repository
```shell
git clone git@github.com:larkinds/Spotify.MLH.git
```
1. Open VS Code
```shell
cd Spotify.MLH && code .
```
1. Duplicate `src/secrets.ts.txt` and rename it to `src/secrets.ts`
```shell
cp src/secrets.ts.txt src/secrets.ts
```
1. Set `clientId` and `clientSecret` in `secrets.ts` to the values found in your developer app settings
1. Install extension dependencies
```shell
npm install
```
1. Run the extension by hitting F5 or clicking the `Run Extension` button at the bottom of your screen
1. Once in the new VSCode window, follow the instructions in the pop-ups to authorize the Spotify.MLH to access your spotify