Code Monkey home page Code Monkey logo

latest-additions's Introduction

latest-additions Build Status

Java/Spring Boot and AngularJS web application to generate a "latest additions" playlist of the most recently added tracks from a user-selected set of Spotify playlists. Built with spotify-web-api-java library.

Links:

Tools:

How to use

If not already authorized, click "Authorize" button to connect your Spotify account to the application.

The left panel is where the specifications for the playlist to be created belong, such as the name and description for the playlist. If you have previously created a playlist with the app, you can instead check the "Overwrite existing playlist" option to select a previously created playlist to overwrite.

In the right panel, all of your playlists (including those that you follow) are displayed; from there you can select the playlists to generate the "latest additions" playlist from. The radio buttons and filter allow you to limit and sort your playlists according to the specified query. The "information" icon beside each playlist can be clicked to open a dialog containing more information about the given playlist.

Bugs/Todos

issue proposed workaround
If a playlist previously created with the app is deleted from your Spotify account, it will still appear in the "Overwrite existing playlist" list due to limitations with the Java library. submit a bug ticket to spotify-web-api-java repo, in the meantime add manual deletion
Algorithm assumes last tracks in playlist's default order are the most recently added, so if the user manually changes the playlist track order, newest tracks may not be picked up. ¯\_(ツ)_/¯

Other todos:

  • load selected feeder playlists for existing playlist
  • cache loaded playlists instead of making API call on every refresh
  • set minimum amount for skip track calls
  • inform users if any local tracks are skipped?
  • include playlist title in mongodb document

Screencaps

Main application view:

app main view

Upon clicking the info button next to each playlist name, a popup dialog opens containing more details about the playlist including its title, owner, description, and number of tracks.

playlist details dialog

Upon successful playlist creation after submitting the form, a popup dialog opens showing the first 10 tracks of the playlist, and linking to the playlist on Spotify.

tracklist preview dialog

latest-additions's People

Contributors

omwan avatar

Watchers

James Cloos 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.