[Spotify Player] Menu bar player is not refreshing (hide icon when idle)
Extension
https://www.raycast.com/mattisssa/spotify-player
Description
Menu bar player from Spotify extension is not being automatically refreshed. It's refreshed, if I do it manually via the command from Raycast. But not when songs change.
Steps To Reproduce
- Activate the menu bar player command for spotify.
- Current song is displayed.
- The displayed song stays the same even when the songs already changed.
Current Behaviour
No response
Expected Behaviour
Displayed song will change after it's changed.
Thank you for opening this issue!
π @mattisssa @peduarte @sxn @dillionverma @andreaselia @stuart @tonka3000 @dancannon @pernielsentikaer @stevensd2m @erics118 @hjoelh @hobhouse @bkeys818 @jatindotdev @the-devbear you might want to have a look.
π‘ Author and Contributors commands
The author and contributors of mattisssa/spotify-player can trigger bot actions by commenting:
@raycastbot close this issueCloses the issue.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.
The change is not immediate and can take up to 30 seconds. Did it not change even after 30 seconds?
It actually works now π€·ββοΈ I don't know what I did beside turning the command off and on (which I've also tried before raising the issue). I'm not able to reproduce it. Before that it stayed the same until it was refreshed (e.g. 10 minutes or longer).
I will close this one, hopefully it will work now. Thanks for reaching out π
Actually the issue is still there π E.g. this morning there is nothing in my menu bar (I've chosen the hide option when the player is idle). After I start to play some music nothing has changed and nothing is displayed. The refresh action from raycast doesn't work. The only thing which works is to disable menu bar item and enable it again.
Thanks for the report. Can you share any more details? Where did you initiate the play function from?
It doesn't matter how I initiate it. I've done it directly in Spotify app and by "Play" key on keyboard. For neither of those cases menu bar item appeared. I'm on macOS 14.2.1 and I'm using the latest version of Raycast. Let me know, if you need any specifics or other details.
Ok, pinging @sxn for help π Any clues what may be causing this or how could we debug?
would be useful to see what gets logged when the menu bar command is refreshed from the root search. This page describes how to view the logs: https://manual.raycast.com/troubleshooting/getting-logs-via-consoleapp
Additionally, there's an Extension Diagnostics command. An export of that might also be helpful (there's an Export action in the command's Action Panel).
hm, judging from the logs, it -seems- like the command is running normallyβ¦ π€
A long shot, but would still be good to exclude: is there enough room in your menu bar for the item to show up? macOS will not show items if it decides they wouldn't fit, sometimes even if -theoretically- there's enough space there. You could try something like Bartender or HiddenBar..
I think there is enough space. See screenshot.
When I disable the menu bar item and activate it again, it's displayed and it's updating again.
ah yeah, there seems to be plenty of space there. Weird. I'll have a look if I can somehow reproduce the issue, it may be some bug in the extension / Raycastβ¦
It seems that this setting is the culprit:
When it's turned off, it works as expected.
When it's turned on, it works until it goes idle and then it doesn't appear again in the menu bar.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean π
The issue is still there. It's behaving still same.
Any update on this issue?
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean π
still a valid issue.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean π
xhi-nico Try uninstalling the Spotify extension and reinstalling it. Worked for me.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean π
This issue has been automatically closed due to inactivity.
Feel free to comment in the thread when you're ready to continue working on it π
You can also catch us in Slack if you want to discuss this.