mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #208] Enter doesn't work for on the Search Page #108
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BinaryFly on GitHub (Jun 12, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/208
When I go to the search page I can't press enter to search, I found out this is the way search by watching the demo on youtube. I can exit the "insert mode" from the search bar by pressing Ctrl + I but even then when I press enter nothing happens. Am I doing something wrong or am I invoking the search in the wrong way?
Additional context
the following is my app.toml:
and my keymap.toml:
@aome510 commented on GitHub (Jun 12, 2023):
@BinaryFly can you provide corresponding logs and any videos for demonstration? Without those, it's really hard to find the issue cause.
@BinaryFly commented on GitHub (Jun 12, 2023):
Sure! I tried again to get a clean log of the problem and these are the lines that are about the search bar:
which is weird because it can fetch my playlists and liked songs fine. Maybe I need to change my setup in spotify dashboard? (I copied over an old configuration for spotify-tui but since that isn't maintained anymore I thought I could use the same client id for this config)
@aome510 commented on GitHub (Jun 12, 2023):
It should be fine. The client ID is only needed if you want to use the Spotify connect feature.
I can still search the term "Take me home country roads". Does the search functionality work with other simple queries like "take" for example?
@BinaryFly commented on GitHub (Jun 12, 2023):
Nope nothing, i get to the search page type anything but it doesn't show anything when I press enter:
@BinaryFly commented on GitHub (Jun 12, 2023):
I tried running the application with RUST_LOG="spotify_player=TRACE" and the following is the last half of the log generated from this, maybe it helps if its a bit more verbose:
@janpfischer commented on GitHub (Jun 12, 2023):
Hey, just started to use spotify_player 1 hour ago. Great so far :)
But exactly the same thing happens to me.
Build freshly with cargo install spotify_player.
Same 404 error message in the logs.
@aome510 commented on GitHub (Jun 13, 2023):
This is weird. I tried to reinstall
spotify_playeron both my M1 Mac and Ubuntu machines and search still works fine. Not sure if this is a temporary regional issue or something else.Can you run with RUST_LOG=TRACE or RUST_LOG=DEBUG instead? I want to see the logs of the third-party libraries, which are disabled by default.
@BinaryFly commented on GitHub (Jun 13, 2023):
I tried again today and somehow it works now. Maybe an update to fedora or rebooting might have fixed it, not exactly sure. Do you still have this issue @b1rdhous3 ?
@janpfischer commented on GitHub (Jun 13, 2023):
@BinaryFly Can confirm. It is working again for me as well. I did not change anything and run the exact same build as yesterday. Maybe there was an issue on Spotify API side.
Thanks!
@aome510 commented on GitHub (Jun 13, 2023):
Great! Let's close this for now. Occasionally, Spotify APIs don't work because of regional issues (server down, etc).