Comments (19)
this is what i'm working on, there's still a long way to go. any help would be appreciated
from spotmenu.
Something like that ? https://github.com/cbpowell/MarqueeLabel
from spotmenu.
Let me know what you think and Ill look into making the PR. Threw it together pretty quickly. More needs to be done to make sure everything works but I could look into all of it.
from spotmenu.
Hi,
I created a pull request that lets the user define their own maximum width, that way the user can decide how much space should be used at max . Have a look here: #207
Cheers!
from spotmenu.
Agreed! I couldn't figure out why sometimes I just wouldn't see SpotMenu in my menu bar. My theory is that when {{Artist}} - {{Song}} is too long it is just straight up not displayed. Fixed width with scrolling would also be my suggestion.
Screenshots below: Chrome has more menu items than Spotify does so a long title appears when on Spotify App but not on Chrome
from spotmenu.
I have created this class for my own project if you would like to take a look at implementing this view. https://gist.github.com/NicholasBellucci/b5e9d31c47f335c36aa043f5f39eedb2
Disclaimer: This is an NSView that is added to the content view in the window of the NSStatusItem by accessing statusItem.value(forKey: "window") as? NSWindow
.
from spotmenu.
So the feather icon that is next to the text is also part of my project. It is all added to statusItem.value(forKey: "window") as? NSWindow
. One is an NSImageView while the other is the scrolling text view. I haven't looked into how you set SpotMenu up in the menubar but this is what mine looks like clicked. I didn't use interface builder however.
from spotmenu.
I had more time than I thought. Works for iTunes as well.
from spotmenu.
Yes that's an OS feature, I've noticed it myself. I've gotten used to it. Scrolling would indeed be nice. I don't know how easy it would be to implement though, since I haven't found any open source libraries for scrolling labels for macOS I've only seen them for iOS.
I've been busy lately and haven't had time to deal with issues.
from spotmenu.
Scrolling might be difficult to implement but it would be nice if it only dropped the song title/artist when necessary and kept the spotify icon. That way the app is still accessible during songs with long titles.
from spotmenu.
This could also be great for the widget in the Notification Center or the menu bar when hovering over the album art.
from spotmenu.
@fabi94music Yes that's almost exactly what I was thinking of.
from spotmenu.
@fabi94music how would i implement that to the app?
from spotmenu.
Unfortunately I don't know.... :( I saw this recently and thought it could help but I'm not a programmer 🙈
from spotmenu.
@fabi94music awh.. it looks complicated aha i need help xD did you get it too?
from spotmenu.
Looks amazing 🙌🏻 Thank you for this. I was thinking I should add it to the PopOver.xib
for starters. Adding it to statusItem.value(forKey: "window") as? NSWindow
is probably going to take more time since I want it to work with the SpotMenu icon and now playing symbol (♬) seamlessly.
from spotmenu.
I will look into making a PR.
from spotmenu.
Looks good, but the music icon there is for indicating the music is played on iTunes
😬
This, currently is just a unicode character
Also, if highlighting works correctly both in light and dark mode on macos (white text on blue background), then that would be amazing
from spotmenu.
Yea I know. Logic has to be put in place to do what you were doing before, I just don't have too much time right now but I will later. Your comment helps though. And highlighting works full and it still scrolls when highlighted.
from spotmenu.
Related Issues (20)
- Big Sur HOT 1
- Can't use control + cmd + m HOT 2
- Feature Request - Add support for lyrics display
- brew install issue - requires README.md update
- Wrong rendering for external display HOT 4
- Feature request: Fade out on pause
- Readme homebrew instructions are outdated HOT 1
- Update Request: Silicon support version HOT 12
- Feature Request - Add support for likes ♥ HOT 1
- Update 1.9 HOT 2
- how do i delete this? it stopped working and when i try to delete, it says the file is open and it won't let me move it to the trash. HOT 2
- Everytime I play the music, the icon on the menu bar disappears? I would like to pause from there. Can you fix it?
- Support for M1 ARM?
- Takes up so much batter and CPU
- Does nothing on an m2 mac w/ Monterey HOT 2
- Feature Request: Settings Menu HOT 1
- Wrong pop-up placement in dual monitor setup - 1.9.0
- SpotMenu not appearing on MacBook menu bar
- pop over not opening
- feat request - Toggle to and from spotify to current window/desktop, onclick (optional pref)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotmenu.