Skip to content

dacsang97/tch-muzik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Coffee House Muzik Build App

Follow the music that is being played at The Coffee House and try to find and play it on Spotify.

Installation

Clone this project, run command:

make build
// OR: go build cmd/main.go

Configuration

Create your application in the Spotify for Developers Dashboard.

Set the value for Redirect URIs in Settings:

http://127.0.0.1:51197/callback

In the application dashboard, find your Client ID and Secret Key.
Make a file called .tchmuzik.yaml. in the Home folder ~:

client_id:
secret_key:

or set enviroment variables:

set TCH_CLIENT_ID xxx
set TCH_SECRET_KEY xxx

Usage

Open Spotify and choose a device. On a PC, you can play a song and then pause it, and Spotify will set the PC as the default device.

Run command:

./tch-muzik -c YOUR_CLIENT_ID -s YOUR_SECRET_KEY

Contribution

Issues and PRs are welcome !

License

MIT © 2021 SangND

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published