Skip to content

chinmaykrishnroy/PyPlayer

Repository files navigation

Modern Media Player

The Modern Media Player is an elegant frameless media player designed with PyQt5 in Python. It offers a sleek, modern interface with dynamic resizing for seamless audio and video playback. Featuring drag-and-drop functionality, users can effortlessly add files to the playlist. Additionally, it includes a pre-built executable for Windows, ensuring easy installation and usage. This player provides all essential media player functionalities while maintaining a contemporary aesthetic.

Images

Screenshot (95) Screenshot (83) Screenshot (93) Screenshot (94) Screenshot (80)

Features

  • Play Various Formats: Supports audio and video files such as MP3, WAV, MP4, AVI, MKV, AAC, etc.
  • Drag and Drop: Easily add media files by dragging and dropping them into the player.
  • Folder Selection: Select folders containing media files to add to the playlist.
  • Playback Controls: Play, pause, skip forward, skip backward, and adjust volume.
  • Playback Modes: Toggle repeat and shuffle playback modes.
  • Control Lock: Lock player controls to prevent accidental changes.
  • Progress and Duration: View media playback progress and duration.
  • Keyboard Shortcuts: Quick access to all player functions.

Requirements

  • Python 3.x
  • PyQt5

Installation

  1. Clone this repository:
    git clone https://github.com/chinmaykrishnroy/PyPlayer.git
  2. Install the required dependencies:
    pip install PyQt5

Keyboard Shortcuts

  • Escape (Esc): Close the application
  • Minus (-): Minimize the application window
  • L: Lock/unlock player controls
  • O: Open file dialog to add media files
  • P: Play/pause current media
  • Spacebar: Play/pause current media (alternative)
  • F: Play/pause current media (alternative)
  • N: Play the next media in the playlist
  • R: Toggle repeat mode
  • S: Toggle shuffle mode
  • M: Mute/unmute the volume
  • U: Increase volume
  • J: Decrease volume
  • G: Rewind playback by 10 seconds
  • H: Fast forward playback by 10 seconds
  • Up Arrow: Increase volume (alternative)
  • Down Arrow: Decrease volume (alternative)
  • Left Arrow: Rewind playback by 10 seconds (alternative)
  • Right Arrow: Fast forward playback by 10 seconds (alternative)

Usage

  1. Launch the application.
  2. Use the file opener button to add files to the playlist or drag and drop media files onto the application window.
  3. Control playback using the play, pause, skip forward, and skip backward buttons.
  4. Adjust the volume using the volume slider.
  5. Toggle repeat and shuffle modes as desired.
  6. Lock player controls to prevent accidental changes.
  7. Use the keyboard shortcuts listed above to control playback, adjust volume, and navigate through the playlist.

Windows Executable

You can also download a pre-built executable for Windows. The executable provides a convenient way to run the media player without installing any dependencies or setting up a development environment.

Download Windows Executable

Contributing

Contributions are welcome! Please feel free to submit bug reports, feature requests, or pull requests.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A modern, frameless media player built with PyQt5, featuring dynamic resizing, drag-and-drop support, keyboard shortcuts, and a sleek interface for seamless audio and video playback.

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors