/spotify-notifications

Add notifications and controls to https://open.spotify.com/

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Notifications For Spotify

Add notifications and controls to open.spotify.com

As of version v0.4.0 a browser action icon will also show the currently playing song with track controls when clicked.

The browser tab for open.spotify.com must remain open for notifications to appear and the browser action to function.

Download

Features

Web Notifications for current song

  • Show web notification with song title, artist, and album art
  • Notification is shown when open.spotify.com is opened and when song changes

Browser action with song preview and controls

  • Browser action icon will show currently playing song with controls to play/pause/change track
  • Clicking links in the browser action popup window will focus the Spotify tab and show the album or artist clicked

Keyboard Shortcuts

Chrome keyboard shortcuts are listed first with Firefox in parentheses if different.

  • Ctrl+Shift+S: Show browser action with song preview (Firefox: Alt+Shift+S)
  • Ctrl+Shift+Space: Toggle Play/Pause for current song from anywhere in the browser (Firefox: Ctrl+Shift+Z)
  • Ctrl+Shift+X: Show notification for current song from anywhere in the browser
  • Keyboard shortcuts may be changed on the chrome://extensions/ page by scrolling to the bottom of the page and clicking "Keyboard Shortcuts"

Recent Changes

  • v0.4.0:
    • Feature: Add track controls to browser action
    • Feature: Add links to browser action to jump to album or artist
    • Feature: Add browser keyboard shortcut to show browser action (Chrome default: Ctrl+Shift+S)
    • Feature: Add browser keyboard shortcut play/pause track from any tab (Chrome default: Ctrl+Shift+Space)
    • Feature: Add browser keyboard shortcut show notification from any tab (default: Ctrl+Shift+X)
    • Bugfix: Don't show multiple notifications if rapidly changing track
    • Bugfix: Fix browser action doesn't work if notifications are not granted
  • v0.3.1:
    • Bugfix: Fix cover art scaling in browser action popup
    • Security: Replace innerHTML calls with textContent
  • v0.3.0:
    • Feature: Implement browser action to show currently playing song
  • v0.2.0:
    • Performance: Replace recursive setTimeout call with MutationObserver

License

GNU GPLv3