Skip to content

Add Track Notifier (track-notify@mk_shaf) - #1104

Open
mk-shaf wants to merge 2 commits into
linuxmint:masterfrom
mk-shaf:add-track-notify
Open

Add Track Notifier (track-notify@mk_shaf)#1104
mk-shaf wants to merge 2 commits into
linuxmint:masterfrom
mk-shaf:add-track-notify

Conversation

@mk-shaf

@mk-shaf mk-shaf commented Jul 26, 2026

Copy link
Copy Markdown
screenshot

Summary

Adds a new extension, Track Notifier, that shows a popup overlay with the currently playing track (artist, title, cover art) driven by MPRIS. Works with Spotify, VLC, browsers, and any other MPRIS-compliant player.

Features

  • Shows artist, title and cover art whenever the track changes
  • Fully customizable appearance: background/text color and opacity, font size, cover size, header text
  • Configurable behavior: display duration, fade in/out time, opacity on mouse hover, debounce delay (duplicate protection)
  • Six screen positions: top/bottom, left/center/right

Popup overlay showing the currently playing track via MPRIS.
@github-actions

Copy link
Copy Markdown

Best-practices scanner

This is a regex-based check for API usage that can pose security, performance or
maintainability issues, or that may already be provided by Cinnamon. Most findings
are advisory and do not automatically disqualify a pull request.

This check is not perfect and will not replace a normal review.


Found 1 potential issue(s):

⚠️ WARNING

⚠️ hardcoded_data_dir

track-notify@mk_shaf/files/track-notify@mk_shaf/extension.js:395

Gettext.bindtextdomain(uuid, GLib.get_home_dir() + "/.local/share/locale");

Avoid hardcoding .local/share in paths. Use GLib.get_user_data_dir() instead,
which respects the XDG_DATA_HOME environment variable.


Automated pattern check.

Addresses best-practices scanner warning (hardcoded_data_dir) from the
Cinnamon Spices CI, respecting XDG_DATA_HOME.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant