A modern web application for streaming videos and music with a Netflix-inspired UI. This application allows you to browse, play, and download your local media files through a beautiful web interface.
- Browse and play local video files
- Netflix-style UI with movie and series browsing
- Video playback with position memory
- Series organization with seasons and episodes
- Video conversion support for different formats
- Browse and play local music files
- Spotify-inspired UI with album artwork
- Music playback with controls
- Download functionality for offline listening
- Consistent default album artwork for all tracks
- Python 3.8 or higher
- FFmpeg (for video conversion)
-
Clone the repository:
git clone https://github.com/yourusername/video-player-2.git cd video-player-2 -
Create and activate a virtual environment:
python -m venv myvenv # On Windows .\myvenv\Scripts\activate # On macOS/Linux source myvenv/bin/activate -
Install dependencies:
pip install -r requirements.txt -
Create a
.envfile in the root directory with the following content:MOVIE=C:\path\to\your\movies SERIES=C:\path\to\your\series -
Run the application:
python server.py -
Open your browser and navigate to
http://localhost:5000
- Set your movie folder path in the
.envfile - Set your series folder path in the
.envfile - Music files are read from
C:\Users\gichi\Musicby default (configurable inserver.py)
- A single default album artwork is used for all music tracks
- The default artwork is stored in the
static/album_coversdirectory - No internet requests are made for album artwork
- Browse movies and series on the home page
- Click on a movie to play it
- Navigate through series and seasons
- Your playback position is automatically saved
- Access the music player from the navigation bar
- Browse your music collection
- Play music directly in the browser
- Download tracks for offline listening
- Backend: Flask, Python
- Frontend: HTML, CSS, JavaScript
- Media Processing: FFmpeg, Mutagen
- UI Libraries: Bootstrap, Font Awesome
- Image Processing: Pillow
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by Netflix and Spotify UI designs
- Uses FFmpeg for video processing
- Uses Mutagen for audio metadata extraction
Contributions are welcome! Please feel free to submit a Pull Request.


