Skip to content

Parasgupta44/DownPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DownPlayer

A simple music downloader and player build with Python.

Contents :

  1. What is it
  2. Requirements
  3. Usage
  4. Note

What is it

DownPlayer is a simple music downloader and player built using python's tkinter. The interface is very simple (just a few buttons, entry to give song / artist name). This was made just to test some api working of Youtube Data API v3.


Requirements

For Windows / Linux:

  • Python (3 or above) should be installed on the system.
  • Run this command in the terminal / cmd:
pip install -r requirements.txt  
  • youtube-dl is being used to download the songs. It uses ffmpeg to convert the downloaded song to mp3 extension. Make sure ffmpeg is installed on the system. It will be used for conversions among song formats. (Works best with Linux systems)
  • Youtube Data API v3 is used to get the search results. Make sure you have the key to access it and just insert it in the config.py file. (for api_key placeholder)
  • You are good to go.

Usage

  • Once the dependencies are installed, just run the following to start the tkinter application:
python main.py  
  • After that, the interface is pretty elementary to work on.
  • Just enter the name of song / artist and after the download is complete, you can simply browse the file through the app and can play the song. (All downloaded songs will be converted to mp3, given that ffmpeg is working fine!)
  • You can also bundle the code using pyinstaller and make an executable which is portable. Just run the following command in the terminal (can use your icon):
pyinstaller.exe --onefile --icon=your_app_icon.ico main.py  

Note

This elementary app was made just to test some stuff, illegal downloading of songs should be avoided. The code is distributed under the MIT License.


About

A simple music downloader and player using Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages