Git Product home page Git Product logo

music_app2's Introduction

Musnippets

A Flutter application to listen to Spotify snippets on your playlist.

Instructions to run

  1. Makesure you have at least 1 playlist

    1. Login to your Spotify App
    2. Create a playlist, with at least 3 items
  2. Fill in .env file with your credentials

    1. Go to https://developer.spotify.com/console/get-playlists/
    2. Click on Get Token
    3. For permissions, just tick playlist-read-private
    4. Copy and paste token to the .env.example file at the root of the project
    5. Also fill in your user id in the .env.example file
    6. Transfer .env.example contents to .env file at project root folder
  3. Run code on Android Studio, e.g. on device Pixel 3 API 29

Features:

  1. Autoplay first song on open
  2. Pause/play song
  3. Scroll up and down to next song
  4. UI with image and title
  5. Pagination and loading to load next track from Spotify API every 2 songs

Troubleshooting

  1. Dio 401 - No bearer token/token has expired
  2. No sound coming out at all (first song should autoplay) - Wipe all data from your device

music_app2's People

Contributors

sciffany avatar

Watchers

 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.