DMarlon Studio
All demos · Desktop
Python · tkinter

MP3 player

A music player in the style of the classics: digital clock, spectrum analyzer, scrolling title and playlist, all drawn by hand on canvases.

What it shows

  • A custom interface drawn on canvases
  • Reading ID3 tags and MP3 headers
  • A pip package (pygame) for sound
MP3 player: Play your list

How it works

  1. Step 1: Play your list
    1

    Play your list

    Add files or a folder: the program reads the ID3 tags and each MP3's header (title, artist, duration, kbps and kHz).

  2. Step 2: Shuffle, repeat and time left
    2

    Shuffle, repeat and time left

    The lit buttons turn shuffle and repeat on; a click on the clock switches between elapsed and remaining time.

  3. Step 3: Sort and save the list
    3

    Sort and save the list

    Sort by title, artist or file and save the list as M3U. The program remembers the list, volume and track between sessions.

This demo comes as an example in DMarlon Studio: open it in the Designer to see its design and code, change it and press Run.