GithubHelp home page GithubHelp logo

nahive / spotify-notify Goto Github PK

View Code? Open in Web Editor NEW
129.0 8.0 12.0 14.08 MB

Rich, native Spotify notifications 🎵

Home Page: http://nahive.github.io/projects/notify/

License: The Unlicense

Swift 100.00%

spotify-notify's Introduction

Spotify Notify

normal dark mode normal light mode

extended dark mode extended light mode

Spotify Notify

Build Version

Inspired by Spotify Notifications written in Swift

Install via Homebrew

brew tap nahive/spotify-notify
brew install --cask spotify-notify --no-quarantine

Features

  • Notification sounds (toggle)
  • Notification on play/pause (toggle)
  • Customizable status bar icon (default, dark and none)
  • Launch on login (toggle)
  • Album artwork (toggle)
  • Toggle disabling of notifications when Spotify is focused (toggle)
  • Shortcuts for showing notification (customizable) ✨
  • Show progress of a song in notification ✨
  • Ability to skip song from notification ✨
  • Options to control Spotify from menu bar ✨
  • Customizable options in notification
  • Add localizations

Notes

When running the app on macOS Mojave (10.14) or higher, the first time you attempt to control Spotify you will be presented with the following dialog box:

Authorisation

You must grant permission for the app to work. Choosing Don't Allow will make the app unable to retrieve any information about the currently playing track.

If you click Don't Allow by accident, you can reset the permissions dialogue using

$ tccutil reset AppleEvents

Additionally, it is now required to sign the app using a paid developer account. To do this, simply set the signing team and certificate in the General settings of the SpotifyNotify target:

Signing

Building

$ git clone https://github.com/nahive/spotify-notify.git
$ cd spotify-notify
$ open SpotifyNotify.xcodeproj

Contributing

If you found a bug, open an issue.

If you have a feature request, open an issue.

If you want to contribute, submit a pull request.

License

The source code is dedicated to the public domain. See the LICENCE.md file for more information.

The Spotify artwork and icon is owned by Spotify AB Inc.

spotify-notify's People

Contributors

nahive avatar squarefrog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spotify-notify's Issues

Notify keeps reopening Spotify

I added notify to the login items and i noticed that whenever i try to quit spotify, notify keeps reopening it. This happens as long as notify keeps running.

Notifications are triggered when Spotify is focused

The notifications are visible also when Spotify is open and visible in a desktop and the desktop is on focus (I have pinned the "Hide notifications when Spotify is focused" option). I've got a Macbook Pro with MacOs 10.13.3 and Spotify 1.0.77.338.

Stack notifications in NotificationCenter

Hello, this is a lovely project.
I wonder if it would be possible to stack the Notifications in Notification Center (e.g. when you get a slack message)?
It would be nice to scroll through some of the stuff that I've listened to via the notification centre

Stuck on "Status: Unknown" with no notifications - MacOS 13.4.1, Spotify

MacOS Version: 13.4.1
Spotify Version: Spotify for macOS (Apple Silicon) 1.2.19.941.gbf202593

I just installed Notify (not sure how to grab the version of it) and when I change songs in spotify, I get no notification, and the status on the tray icon just shows 'Status: Unknown'. Any way I can fix it (or get more info to help debug it)?

Homebrew tap issue

I'm unable to install with Homebrew:

❯ brew tap nahive/homebrew-spotify-notify
==> Tapping nahive/spotify-notify
Cloning into '/usr/local/Homebrew/Library/Taps/nahive/homebrew-spotify-notify'...
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 6 (delta 0), reused 3 (delta 0), pack-reused 0
Receiving objects: 100% (6/6), done.
Tapped 1 formula (13 files, 5.8KB).

❯ brew install --cask spotify-notify
Warning: Cask 'spotify-notify' is unavailable: No Cask with this name exists.
==> Searching for similarly named casks...
==> Casks
spotify-now-playing

To install spotify-now-playing, run:
  brew install --cask spotify-now-playing

Please fix it.

Notification looks a bit wired

Is there any option provided that allows users to set the notification title back to "Spotify" instead of the name of the current song? Since the song name has already been displayed as the main content of the notification

Notifications not working

Not getting notifications. Permissions to control Spotify allowed. Getting this with 0.2.3 beta and 0.3.0 alpha. Keyboard shortcut does not work either.

16-inch 2021 Macbook Pro, macOS 13.4.

Any ideas?

Notifications came twice

When i'm changing manually a song I've got 2 notifications, one without image and the second is normal.

macOS Catalina 10.15.3

No album art

Album art is not showing, despite checking the checkbox.

Add a "Skip" Botton

Allow users to quickly skip to the next song from the notification just like what Apple did in Apple Music.

Feature request: Notification icon customization

Have you wondered about Notification icon customization features?
To precise what is missing for me:

  • Possibility to hide system tray icon.
  • Possibility to use default Spotify icon for seamless "spotify-ish" experience.

Besides that great work.
Cheers 🇵🇱

Does not work even after permissions reset

I've installed Notify as follows

brew tap nahive/spotify-notify
brew install --cask spotify-notify --no-quarantine

Yet, Notify in unable to interact with Spotify (to show notification, play/stop, next/previous, etc.). Following the note in the README

$ tccutil reset AppleEvents
I executed the following command to reset all the permissions for Notify

tccutil reset All $(osascript -e 'id of app "Notify"')

Yet it did not solve anything and Notify still unable to interact with Spotify.

$ sw_vers
ProductName:		macOS
ProductVersion:		13.4
BuildVersion:		22F66

$ defaults read ~/Applications/Notify.app/Contents/Info.plist CFBundleShortVersionString
0.4.0

$ defaults read ~/Applications/Spotify.app/Contents/Info.plist CFBundleShortVersionString
1.2.13.661.ga588f749

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.