From 0c3b164582e54c61c9ac76f19c74e6eca60aec16 Mon Sep 17 00:00:00 2001 From: Cheap Nightbot <151442433+CheapNightbot@users.noreply.github.com> Date: Tue, 3 Dec 2024 12:49:24 +0900 Subject: [PATCH] Remove Tempo --- api.py | 1 - templates/docs.html | 1 - templates/index.html | 7 ------- 3 files changed, 9 deletions(-) diff --git a/api.py b/api.py index f01dbf6..75f02cc 100644 --- a/api.py +++ b/api.py @@ -86,7 +86,6 @@ def build_response_template(response, artist, song): song=song, spotify=yutify_data.get("spotify"), title=yutify_data.get("title"), - tempo=yutify_data.get("tempo"), yt_music=( yutify_data["ytmusic"].get("url") if yutify_data["ytmusic"] else None ), diff --git a/templates/docs.html b/templates/docs.html index 26ab5ec..31103e9 100644 --- a/templates/docs.html +++ b/templates/docs.html @@ -79,7 +79,6 @@

✶ Response Examples:

'lyrics': null, 'release_date': '1987-11-12', 'spotify': 'https://open.spotify.com/track/4PTG3Z6ehGkBFwjybzWkR8', - 'tempo': '113', 'title': 'Never Gonna Give You Up', 'ytmusic': { 'id': 'dQw4w9WgXcQ', diff --git a/templates/index.html b/templates/index.html index 0884217..9939434 100644 --- a/templates/index.html +++ b/templates/index.html @@ -72,13 +72,6 @@

{% else %} Genre {% endif %} - - {% if tempo %} -  |  {{ tempo }} BPM - {% else %} -  |  Tempo - {% endif %} -