Giter VIP home page Giter VIP logo

python-music-player's Introduction

DRK Player

A combination of react and flask.

Steps to run on your local machine.

  1. Downlaod all files:
  2. Run main.py
  3. Follow the steps commanded by program [Don't try to be smarter than script]
  4. Download some-songs, for that follow scripts command
  5. After downloading at lease 2 songs, restart the main.py and you are good to go.

The application will be accessible in your web browser at http://localhost:5000/.

Features

  • Recommend Songs: Generate song recommendations based on user activity.
  • A Decent UI [HTMl + CSS + JS(react)]
  • Download Music: Download music files from YouTube URLs using the provided commands.
  • Download Playlists: Download all songs from a YouTube playlist.
  • Move Files: Move downloaded music files to a specified directory using the move command.
  • Scan for Missing Files: Scan for missing music files and restore them if found.
  • API Endpoints: Access various API endpoints to interact with the application programmatically.

API Endpoints

  • /api/lists: Get information about playlists
  • /api/views: Get recommended songs
  • /api/view: Get recommended songs for a specific user
  • /api/get_songs: Get a list of available songs

Usage

Downloading Music:

Moving Files:

  • Use the move --move-dir-- command to move downloaded music files to a specified directory.

Scanning for Missing Files:

  • Use the scan command to scan for missing music files and restore them if found.

Generating Recommendations:

  • Use the recommend command to generate song recommendations based on user activity.

Additional Info

The program tracks your interactions and activities on the page, storing this information in a file on your local machine. Ensure you do not delete this file or modify it in any way. If you need to change its location, use a specific command. The most crucial aspect of running this script is your JSON file, which contains all your activity and music information. If you lose everything except your JSON file, you can easily redownload everything.

About Developer

View https://rohan-koirala.com.np/ if intrested, Also if you are intrested in src directory of react, Contact me on [email protected]

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.