DEV Community

SM RAKIB HOSSEN
SM RAKIB HOSSEN

Posted on

Modern Python Desktop TV App with Clean UI and M3U Support

Build a Modern Python TV Application with M3U Playlist Support

Watching live TV from your own M3U playlist doesn't have to be complicated. I built a lightweight desktop application in Python that provides a clean interface, fast playlist loading, and smooth playback using MPV.

This project is intended for users who already have their own authorized M3U playlist or M3U URL. The application itself does not host, distribute, or provide any TV channels or IPTV playlists.

GitHub Repository: https://github.com/bigbang412247-hub/tv


Features

  • 📺 Modern desktop interface
  • ⚡ Fast playlist loading
  • 🔗 Support for both M3U files and M3U URLs
  • ▶️ Smooth playback with MPV
  • 🪶 Lightweight and easy to use
  • 🖥️ Windows desktop application

Installation Guide

Step 1 — Install Microsoft Visual C++ Redistributable

Install the latest Microsoft Visual C++ Redistributable (x64) before running the application.

  • Download the installer.
  • Run the installation.
  • Restart your PC if required.

Step 2 — Install MPV Media Player

This application uses MPV for video playback.

  1. Download MPV.
  2. Run the installer.
  3. Install using the default settings.

Step 3 — Download the TV Application

  1. Visit the GitHub repository: https://github.com/bigbang412247-hub/tv
  2. Open the Releases section.
  3. Download the latest TV.exe release.
  4. Save the file anywhere on your computer.

Step 4 — Prepare Your Playlist

Before launching the application, make sure you have one of the following:

  • An authorized M3U playlist (.m3u) file
  • An authorized M3U URL

This project does not include or distribute playlists.


Step 5 — Import the Playlist

  1. Launch TV.exe.
  2. Click Load Playlist or Import M3U.
  3. Select your .m3u file or paste your M3U URL.
  4. Click Load.

The application will automatically parse and display the available channels.


Step 6 — Enjoy Live TV

Once the playlist is loaded:

  • Browse the channel list.
  • Select any available channel.
  • Playback will begin automatically.

Why MPV?

MPV provides reliable playback, excellent codec support, low resource usage, and stable performance for streaming media, making it an ideal backend for this project.


Technologies Used

  • Python
  • Tkinter
  • MPV
  • M3U Playlist Support

Disclaimer

This project is a media player only.

  • No IPTV service is provided.
  • No TV channels are hosted.
  • No playlists are distributed.
  • Users must use legally authorized playlist sources.

Contributing

Contributions are welcome. Feel free to submit issues, feature requests, or pull requests to help improve the project.

If you find this project useful, consider starring the repository:
https://github.com/bigbang412247-hub/tv

Top comments (0)