From 98ba4a8489ad86f5f73e95088e620e8859d28e71 Mon Sep 17 00:00:00 2001 From: novatorem Date: Sun, 23 Aug 2020 11:32:27 -0400 Subject: [PATCH] Improved instructions --- README.md | 2 +- SetUp.md | 8 +++++++- api/{spotify-playing.py => spotify.py} | 0 3 files changed, 8 insertions(+), 2 deletions(-) rename api/{spotify-playing.py => spotify.py} (100%) diff --git a/README.md b/README.md index ce6e172..099279a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ - 
[![Spotify](https://novatorem.vercel.app/api/spotify-playing)](https://open.spotify.com/user/omnitenebris) + 
[![Spotify](https://novatorem.vercel.app/api/spotify)](https://open.spotify.com/user/omnitenebris) diff --git a/SetUp.md b/SetUp.md index 5903717..5dce941 100644 --- a/SetUp.md +++ b/SetUp.md @@ -47,4 +47,10 @@ curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Authorizat You can now use the following in your readme: -```[![Spotify](https://novatorem.vercel.app/api/spotify-playing)](https://open.spotify.com/user/USER_NAME)``` \ No newline at end of file +```[![Spotify](https://USER_NAME.vercel.app/api/spotify)](https://open.spotify.com/user/USER_NAME)``` + +## Customization + +If you want a distinction between the widget showing your currently playing, and your recently playing, you can hide the EQ bar when you're not actively listening. + +Remove the `#` in front of `contentBar` in [line 81](https://github.com/novatorem/novatorem/blob/94d00e1ca20239f76bf7d064f8831c2fd25086d3/api/spotify.py#L81) of current master, then the EQ bar will be hidden when you're in not currently playing anything. \ No newline at end of file diff --git a/api/spotify-playing.py b/api/spotify.py similarity index 100% rename from api/spotify-playing.py rename to api/spotify.py