From 8b1a5d03f709ad76d66fad4fadd3bec1c0a8fddb Mon Sep 17 00:00:00 2001 From: Izzy Deane Date: Mon, 15 Jul 2024 13:20:37 -0400 Subject: [PATCH 1/2] Fixed up menu position and some styles on input fields --- src/firebot/effects/spotifyCancelUserQueuesEffect.ts | 3 ++- .../effects/spotifyChangePlaybackVolumeEffect.ts | 4 ++-- .../effects/spotifyFindAndEnqueueTrackEffect.ts | 12 ++++++------ src/firebot/effects/spotifySeekToPositionEffect.ts | 6 +++++- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/firebot/effects/spotifyCancelUserQueuesEffect.ts b/src/firebot/effects/spotifyCancelUserQueuesEffect.ts index f12d3c7..88d9d83 100644 --- a/src/firebot/effects/spotifyCancelUserQueuesEffect.ts +++ b/src/firebot/effects/spotifyCancelUserQueuesEffect.ts @@ -40,7 +40,8 @@ export const SpotifyCancelUserQueuesEffect: Firebot.EffectType = { + placeholder-text="Username of user to cancel queues for, or blank to effect entire queue" + menu-position="under" /> diff --git a/src/firebot/effects/spotifyChangePlaybackVolumeEffect.ts b/src/firebot/effects/spotifyChangePlaybackVolumeEffect.ts index b537846..eed116b 100644 --- a/src/firebot/effects/spotifyChangePlaybackVolumeEffect.ts +++ b/src/firebot/effects/spotifyChangePlaybackVolumeEffect.ts @@ -31,9 +31,9 @@ export const SpotifyChangePlaybackVolumeEffect: Firebot.EffectType optionsTemplate: ` + placeholder-text="Enter number between 0 - 100" + menu-position="under" /> `, diff --git a/src/firebot/effects/spotifyFindAndEnqueueTrackEffect.ts b/src/firebot/effects/spotifyFindAndEnqueueTrackEffect.ts index cb13e42..1d355bc 100644 --- a/src/firebot/effects/spotifyFindAndEnqueueTrackEffect.ts +++ b/src/firebot/effects/spotifyFindAndEnqueueTrackEffect.ts @@ -51,15 +51,15 @@ export const SpotifyFindAndEnqueueTrackEffect: Firebot.EffectType optionsTemplate: ` + placeholder-text="Username of user who queued the track" + menu-position="under" /> - - + + placeholder-text="Search query or link to track to add to your Spotify Queue" + menu-position="under" />
= { optionsTemplate: ` - + `, From 9982daba6e40fa2333166fadb8dd04d52af54f69 Mon Sep 17 00:00:00 2001 From: Izzy Deane Date: Mon, 15 Jul 2024 13:23:56 -0400 Subject: [PATCH 2/2] Updated changelogs and bumped version --- README.md | 2 +- changelogs/changelog-0.7.4a.md | 5 +++++ changelogs/changelog-0.7.4b.md | 5 +++++ package.json | 2 +- src/tamperMonkey/lyricsGrabber.user.js | 4 ++-- 5 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 changelogs/changelog-0.7.4a.md create mode 100644 changelogs/changelog-0.7.4b.md diff --git a/README.md b/README.md index 0a63af5..588e94d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Spotify Integration by Oceanity v0.7.4a +# Spotify Integration by Oceanity v0.7.4b This is a Firebot Script that will allow you to integrate Spotify functionality and information into your Firebot setup. Due to very stict limits on Spotify's API, it does require that you make your own application in Spotify's developer portal and supply your own Client ID and Secret. diff --git a/changelogs/changelog-0.7.4a.md b/changelogs/changelog-0.7.4a.md new file mode 100644 index 0000000..15c9b17 --- /dev/null +++ b/changelogs/changelog-0.7.4a.md @@ -0,0 +1,5 @@ +## What's Changed + +**Fixes** + +- Fixed $var menu not opening on some Effects diff --git a/changelogs/changelog-0.7.4b.md b/changelogs/changelog-0.7.4b.md new file mode 100644 index 0000000..63cbcc8 --- /dev/null +++ b/changelogs/changelog-0.7.4b.md @@ -0,0 +1,5 @@ +## What's Changed + +**Fixes** + +- Fixed $var menu appearing above some input fields and cutting off at the top of the screen diff --git a/package.json b/package.json index 31c6677..8ee7aeb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "oceanity-spotify", "scriptOutputName": "oceanitySpotifyIntegration", - "version": "0.7.4a", + "version": "0.7.4b", "description": "Adds Spotify Song Requests to Firebot", "main": "", "scripts": { diff --git a/src/tamperMonkey/lyricsGrabber.user.js b/src/tamperMonkey/lyricsGrabber.user.js index 3012408..e84c631 100644 --- a/src/tamperMonkey/lyricsGrabber.user.js +++ b/src/tamperMonkey/lyricsGrabber.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Lyric Grabber // @namespace https://oceanity.github.io -// @version 0.7.4a +// @version 0.7.4b // @description Sends Spotify lyrics to Firebot // @author Oceanity // @match https://open.spotify.com/* @@ -16,7 +16,7 @@ fetch: originalFetch } = window; - const version = "0.7.4a"; + const version = "0.7.4b"; // Consts const lyricUrlRegex = /https:\/\/spclient\.wg\.spotify\.com\/color-lyrics\/v2\/track\/([a-zA-Z0-9]+)\/image\/.+/;