teaminkling / now-playing

A macOS application for Spotify notifications and a now playing visual widget!
MIT License
80 stars 5 forks source link

Just Notifications #80

Closed true-Grand closed 2 years ago

true-Grand commented 2 years ago

Would really love a version of the app where its just for notifications.

paced commented 2 years ago

@GrandWasTaken That's not a bad idea, but I should note a few limitations with this:

The miniplayer is not a big part of the performance of the app. Even if it never is rendered, it won't be any "lighter" for two reasons: the Electron framework as it currently is, and the Spotify API needs to be polled once every five seconds. There are no workarounds to avoid doing this until Spotify changes their API.

However, I could make it that left-clicking the tray icon opens the right-click menu if that option is enabled. Does that sound good? It'd essentially be the same as using something like Bartender or Vanilla to hide tray icons, except the tray icon is still there.

true-Grand commented 2 years ago

I see. Was hoping that could safe more energy without the mini player. If that's the case than there's no need to make a separate version I guess.

paced commented 2 years ago

Yeah, sorry about that. It's up to Spotify. You might get marginally better battery economy with App Store apps that cycle every 10 seconds (or more) instead of 5, but you'll also notice a delay in notifications. Otherwise, all apps will probably use the same amount of battery.

If/when Spotify ever decides to update their API to allow websocket connections, we'd see a marked improvement in battery life and a significant reduction of HTTP calls.

flammable commented 2 years ago

Sorry to post in a closed GitHub issue, but I'd love a notification-only version of this app. That's how I used the old "Spotify Notifications" app (and where I found this one -- thanks!). If I needed to change any settings, I'd like double-click the application and it'd bring up the preferences window.

I just got one of the fancy new MacBook Pros with a notch, and I'm suddenly more aware of my menu bar real estate. Anything to trim that down would be welcome. Thanks!

paced commented 2 years ago

The issue with that is that it's a significant departure from the way the app currently works and, in my opinion, would be difficult for new users to understand. Either options must appear in the tray or in the dock, and putting it in the dock doesn't quite make sense to me.

May I suggest using Vanilla?

flammable commented 2 years ago

Thanks! I agree it's not a good fit for the dock.

Actually, I've been meaning to try Bartender, so I finally installed it - that works great. I'll keep Vanilla around in case Bartender stops working at some point.

I really appreciate the app and the assistance, thanks!