Skip to content

A Spotify-connected app that detects when you skip a song frequently and suggests you remove it from the playlist

License

Notifications You must be signed in to change notification settings

carterbuce/skip-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skip-assistant

A Spotify-connected app that detects when you skip a song frequently and suggests you remove it from the playlist

This project makes use of the Spotify Web API Java library and Spring MVC

image

Setup

Create a Spotify application at https://developer.spotify.com/my-applications to get ID and Secret values

Clone this repo

Running

Running through IntelliJ:

The application can be run in IntelliJ through the Application.java file

Edit the Spring Boot configuration and add the following VM options from the setup step:

-DspotifyClientId=<id value>
-DspotifyClientSecret=<secret value>

Running via command line:

Using values from the setup step, run

mvnw clean -f pom.xml spring-boot:run -Drun.jvmArguments="-DspotifyClientId=<id value> -DspotifyClientSecret=<secret value>"

To enable debugging, add the following and attach a remote debugger on port 5005

-Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"

Database Access

Spring runs a built-in H2 database.

To connect to the database, you can go to http://localhost:8080/h2-console/

Use the following settings:

Driver Class: org.h2.Driver
JDBC URL: jdbc:h2:file:~/SkipAssistantDB
User Name: sa
Password: <empty>

About

A Spotify-connected app that detects when you skip a song frequently and suggests you remove it from the playlist

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published