guess button don't work
ShaleveHakime opened this issue ยท comments
๐ Is there already an issue for your problem?
- I have checked older issues, open and closed
โน Environment / Computer Info
Spotify for Windows (64 bit)
1.2.26.1187.g36b715a1
Spicetify v2.28.1
Theme: Bloom / comfy
Extensions: adblock.js, fullAlbumDate.js, imageOpener.js, spotifyGenres.js, power-bar.js, volumePercentageWrapper.js, scannables.js, wikify.js, QueueTime.js, playing-source.js, beautiful-lyrics.js, theme.js
Custom apps: marketplace, ncs-visualizer, stats, name-that-tune
๐ Description
when I press the "guess" button after I typed my guess it just do nothing
๐ธ Screenshots
Spotify_yTR0hOIyWM.mp4
Oof yeah that's not ideal. Does it work if you press the enter key instead? I'll take a look when I have a chance
Oof yeah that's not ideal. Does it work if you press the enter key instead? I'll take a look when I have a chance
no
Do you get any error messages in the dev tools console (after enabling verbose mode)? When I test it myself, the button works. It doesn't do anything if the text entry is empty.
That looks like it's complaining about Spicetify.Player.data.item?.metadata?.title
in the checkGuess
function. It used to be Spicetify.Player.data.track?.metadata?.title
, but was changed in #54.
Can you run Spicetify.Player.data.item?.metadata?.title
and Spicetify.Player.data.item?.metadata?.title
in the console and post the result?
I am running with the save versions as you are:
Spotify for macOS (Apple Silicon)
1.2.26.1187.g36b715a1
Spicetify v2.28.1
Can you click the link at the "at mi" part and screenshot that? If it's got a value then maybe it's a different part of the code than I'm thinking?
It's using "track" instead of "item" so the code is outdated. Update the custom app.
how do i update?
Delete the name-that-tune folder and reinstall it. It will retain your data. I just added a Github release so it's easier for people to track version changes in the future. https://github.com/theRealPadster/name-that-tune/releases/tag/0.1.3
its ok now thanks!