Git Product home page Git Product logo

musyc-player's Introduction

Musyc player

Minimal Music player, built with Python + Flask.

Features

  • Minimal. No genre or liked/starred song feature. Just song name, duration, and player
  • The player can be easily controlled through keyboard shortcuts:
    • Space bar: Toggles play/pause
    • +/- keys: Increase (+) or decrease (-) the volume
    • Arrow keys: Seek forward (right arrow) or backward (left arrow)
  • Loop, Shuffle
  • Playlists. Made when creating a folder in the music folder
  • Updates the browser tab title with the currently playing song information
  • Progresses automatically when the current one ends

Roadmap

  • Web
  • Playlist feature?, separated by folder
    • Shuffle feature
  • Handling when 2 songs are played at the same time
  • Looping feature
  • Random feature
  • Change UI
  • Keyboard control
  • Change the title when playing a song
  • If click on a playing song, stop it. Keep it simple
  • Go to the main page when clicking on the header
  • Bug: after seeking by mouse, cannot stop or play the song, maybe there is a bug with the focus
  • sort songs in alphabetical order of All songs route
  • Keep song playing when change route
  • Download Soundcloud song
    • Using yt-dlp
    • Crawl all the links of liked songs on Soundcloud, then use Selenium to download songs (not download all of that)
      • Also get the song's name, and format it when downloading
    • add a route for downloading songs? or keep it simpe?
  • If have lots of songs, implement fuzzy search for searching songs, or just show random songs
  • song in multiple playlists? SQL?
  • Another way to get the duration of the song, remove librosa
  • Maybe delete the current approach for playlist, using a database instead for better speed?
    • database: Schema: id, name, length, path
    • Store song duration, for customized player bar, and no more using librosa lib to get duration

Installation

  1. Clone this repo
git clone https://github.com/ngntrgduc/musyc-player.git
  1. Install Flask, librosa (for getting song's duration)
  2. Run
flask run
  1. Go to http://127.0.0.1:5000/ and relax

musyc-player's People

Contributors

ngntrgduc avatar

Watchers

 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.