Tidal Media Player controls and song info buttons

Description of what you are sharing

I’ve created a set of bottons for Tidal that works on BTT presets since the company tidal doesn’t properly adhere to Apple’s programming standard.

This requires hammerspoon to be installed and working for this to work.
you’ll also need to build the alias for hs

you can enter this in terminal to install it.

sudo ln -sf /Applications/Mac/Hammerspoon.app/Contents/Frameworks/hs/hs /usr/local/bin/hs

Note if Hammerspoon is in a folder within your applications folder you’ll need to update this path to reflect it’s location.

Verify that HS alias was correctly created:
In terminal enter:

which hs

It should return:
/usr/local/bin/hs

Once hammerspoon is installed copy the init.lua script into the config and reload the config.

Then import the present into bettertouchtool and reset better touch tool.

You may also need to create the 2 variables needed for this to work in BTT.

You need to create these in BTT:

  • customVariable1 (Persistent) - for play/pause state

  • tidal_track (Persistent) - for track info display

    The lua scripts refreshes every 2 seconds to limit processor computer impact but you can shorten this duration in the init.lua if you prefer it to be more instantaneous.

Tidal BTT configuration.zip (46.1 KB)

This zip file contains a BTT present and the hammerspoon init.lua script needed to make this work.

It’s been years of having this thing bother me and It finally works how i want. I hope others can use it.

Now Playing [Media Controls]_export.bttpreset (43.3 KB)