Skip to content

TonieToolbox/builtin_plugin_mini_player

Repository files navigation

Mini Player Plugin

Compact always-on-top mini player widget for TonieToolbox.

Features

  • Always On Top: Window stays on top of other applications
  • Compact Design: Fixed 350x150 window with essential controls only
  • Basic Playback Controls: Play/Pause, Previous, Next track
  • Track Information: Display current track title and artist
  • Progress Tracking: Slider and time display for playback progress
  • Title Bar Integration: Toggle button in main window title bar
  • Internationalization: Supports multiple languages (English, German)

Usage

Toggling Mini Player

The mini player can be toggled on/off via:

  • Title bar button in main window (🎵 icon)

Controls

  • Play/Pause (▶/⏸): Toggle playback
  • Previous (⏮): Go to previous track (when playlist loaded)
  • Next (⏭): Go to next track (when playlist loaded)
  • Progress Slider: Seek within current track

Architecture

Components

  • MiniPlayerPlugin: Main plugin implementation
  • MiniPlayerWidget: PyQt6 widget for mini player window

Event Integration

The mini player subscribes to domain events:

  • PlayerStateChangedEvent: Updates play/pause button and enables controls
  • PlayerFileLoadedEvent: Updates track information and duration
  • PlayerPositionChangedEvent: Updates progress slider

License

Same as TonieToolbox main project (GPL-3.0).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages