GithubHelp home page GithubHelp logo

playlistsyncionic's Introduction

PlaylistSync

App overview

  • Purpose
    • Give users the ability to manage their Youtube and Spotify playlists in a single location, especially in the case where users want to keep playlists stored in both places synchronized with each other
  • What it will look like
    • Make account with email and password (or G-Suite, or perhaps facebook)
      • Log in with spotify and youtube
    • The "Now Playing" view
      • Pick Spotify or Youtube as the platform you're streaming from
        • Show what is currently playing
      • Pick which playlists you want to add to for Spotify and Youtube (or save, add to favorites, etc.).
        • Selections will persist between songs and sessions.
      • A button to add song to both playlists
        • automatically saves and adds to the primary platform, then searches the secondary and lets you choose which matches.
      • If there are no matches, it will go into a list storing any songs that aren't synchronized between the two playlists
  • Technical implementation details
    • OAuth 2.0 (store secret keys securely on the server/cloud)
      • Be sure to hash and salt the passwords (find a library for all your auth stuff)
    • How to get "Now playing" information
      • Get information from Spotify
        • Spotify doesn't have event listening/publishing or Long polling (shame!)
        • No choice but to poll the crap out of their service to keep up to date with what's playing.
        • keep it to every 5 seconds for right now
      • Get information from the phone
        • iOS has an API that exposes the music player
        • ionic framework has a way of accessing it as well: check "Music Controls" in ionic-native, aka cordova-music-controls-plugin
        • apple developer program costs $99, and you need that to post to the app store.

How to run it locally

  • Navigate to root directory of project
  • ionic serve

playlistsyncionic's People

Contributors

atasteofhome avatar

Stargazers

Krazy Bug 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.