---
title: 'grav2 spotify playing plugin without needing Node-RED'
url: 'https://willifix.net/blog/spotiplay-withouth-nodered'
markdown: 'https://willifix.net/blog/spotiplay-withouth-nodered.md'
date: '2026-07-25'
description: 'End of January this year, I wrote a small plugin for Grav1 that makes it possible to display the currently playing song from Spotify on the website see the blogpost. At that time I used a Node-RED flow from awtrix to retrieve the necessary song information. In the meantime I have found the time to …'
---

# grav2 spotify playing plugin without needing Node-RED

## [grav2 spotify playing plugin without needing Node-RED](https://willifix.net/blog/spotiplay-withouth-nodered)

    25th Jul 2026  

End of January this year, I wrote a small plugin for `Grav1` that makes it possible to display the currently playing song from `Spotify` on the website see the [blogpost](https://willifix.net/blog/grav-spotiplay-plugin-first-try). At that time I used a `Node-RED` flow from `awtrix` to retrieve the necessary song information. In the meantime I have found the time to extend the plugin so that this detour is no longer necessary.

Download the Plugin: [spotiplay2.zip](https://willifix.net/blog/spotiplay-withouth-nodered/spotiplay2.zip)

#### Installation

After you have downloaded the plugin, you can install it via the Grav2 admin interface as follows:

1. navigate to **tools**
2. select the **Direct Install** tab
3. Upload the zipfile from above

You should now see a plugin called spotiplay in your plugin list.

![spotiplay1.png](https://willifix.net/user/pages/03.blog/spotiplay-withouth-nodered/spotiplay1.png)

#### First Setup

1. Select the Spotiplay Plugin and click on the **Configure** Button
2. Enter the **Client ID** and the **Client Secret** from your Application (see <https://developer.spotify.com/dashboard>)
3. There is a small helper script in the plugin directory which helps you to create the required refresh token (**./config/user/www/plugins/spotiplay/get\_refresh\_token.sh**)

![helperscript.png](https://willifix.net/user/pages/03.blog/spotiplay-withouth-nodered/helperscript.png)

4. Insert the refresh token created using the helper script into the configuration of the spotiplay plugin.

#### Usage

Now you can use the shortcode \[spotiplay\] provided by the plugin to display the title information of the currently playing song from Spotify

 [ Previous Post](https://willifix.net/blog/howto-toggle-showhide-crow-translate-in-swaywm) [Next Post ](https://willifix.net/blog/fix-long-loading-of-zathura)

---

## Navigation

- Parent: [Blog](https://willifix.net/blog.md)
- Previous: [fix long loading of zathura](https://willifix.net/blog/fix-long-loading-of-zathura.md)
- Next: [howto toggle (show/hide) crow-translate in swaywm](https://willifix.net/blog/howto-toggle-showhide-crow-translate-in-swaywm.md)
