Notchify - Spotify in the Notch

I’ve tested it again with a new folder path, and it still works fine for me. You might need to change three paths from the following:

tell application "BetterTouchTool"
	
	set isRunning to is_app_running "Spotify"
	if isRunning then
		
		tell application "Spotify"
			if player state is playing then
				set currentTrack to current track
				set artistName to artist of currentTrack
				set trackName to name of currentTrack
				
				set albumCoverUrl to artwork url of currentTrack
				set albumCoverPath to "/Users/hackettlai/Pictures/test/Spotify_cover.png"
				do shell script "curl " & quoted form of albumCoverUrl & " -o " & quoted form of albumCoverPath
				
			else
				return " "
			end if
		end tell
	else
		set albumCoverUrl to "https://i.imgur.com/qFmcbT0.png"
		set albumCoverPath to "/Users/hackettlai/Pictures/test/Spotify_cover.png"
		do shell script "curl " & quoted form of albumCoverUrl & " -o " & quoted form of albumCoverPath
		return " "
	end if
end tell

"/Users/hackettlai/Pictures/test/Spotify_cover.png" <-- this is my local folder
"https://i.imgur.com/qFmcbT0.png" this is my blank png to display as a backup

I’ve created a new preset to provide additional information aside to the notch for Spotify, including the album cover and song name.


** The middle section from the screen recording should be physically blocked by the notch.

Mini-Notch-250312.bttpreset (247.9 KB)

Okay, so I found that if I first create the folder Pictures/test then the appropriate track image shows in the folder. (I need to study the script more to find out what is causing it to be written there.) But anyway it still doesn't show in my menu:

I double checked all the script code and it's the same as yours (except for the username).

By the way, in this you can see the Like/Unlike button I added. It could also be placed in line with the other buttons, but I didn't feel like changing all the other button positions.

It’s quite strange that the cover image isn’t showing up on the menu. Could you please share your preset with me so I can test it out?

It’s quite strange that the cover image isn’t showing up on the menu. Could you please share your preset with me so I can test it out?

DZS Notchify.bttpreset (164.5 KB)