Searching with more than 3 letters returns nothing
Describe the bug While in the search screen when I type in flig instead of flight, nothing shows up
To Reproduce
- type in fli
- a list of songs should appear
- type in flig or flight
- nothing shows up
Expected behaviour No matter the length of the search prompt a list of songs should appear
Log and backtrace 026-08-13T14:55:23.006634Z ERROR client_request{request=Search("flig")}: spotify_player::client::handlers: Failed to handle client request: json parse error: invalid type: null, expected a boolean at line 1 column 3555: invalid type: null, expected a boolean at line 1 column 3555 2026-08-13T14:55:25.638008Z ERROR client_request{request=Search("fligh")}: spotify_player::client::handlers: Failed to handle client request: json parse error: invalid type: null, expected a boolean at line 1 column 3556: invalid type: null, expected a boolean at line 1 column 3556 2026-08-13T14:55:26.301610Z ERROR client_request{request=Search("flight")}: spotify_player::client::handlers: Failed to handle client request: json parse error: invalid type: null, expected a boolean at line 1 column 1026: invalid type: null, expected a boolean at line 1 column 1026 2026-08-13T14:55:27.662792Z INFO client_request{request=Search("fl")}: spotify_player::client: Successfully handled the client request, took: 489ms 2026-08-13T14:55:30.296563Z ERROR client_request{request=Search("flight")}: spotify_player::client::handlers: Failed to handle client request: json parse error: invalid type: null, expected a boolean at line 1 column 1026: invalid type: null, expected a boolean at line 1 column 1026 2026-08-13T14:55:33.830200Z ERROR client_request{request=Search("fligh")}: spotify_player::client::handlers: Failed to handle client request: json parse error: invalid type: null, expected a boolean at line 1 column 3556: invalid type: null, expected a boolean at line 1 column 3556 2026-08-13T14:55:34.755694Z ERROR client_request{request=Search("flig")}: spotify_player::client::handlers: Failed to handle client request: json parse error: invalid type: null, expected a boolean at line 1 column 3555: invalid type: null, expected a boolean at line 1 column 3555 2026-08-13T14:55:35.575018Z INFO client_request{request=Search("fli")}: spotify_player::client: Successfully handled the client request, took: 0ms 2026-08-13T14:57:47.909454Z INFO librespot_playback::player: Loading <Iwatodai Dorm -Reload-> with Spotify URI spotify:track:3uekHQtWNzxkcU6eNn16fv 2026-08-13T14:57:48.399668Z INFO librespot_playback::player: <Iwatodai Dorm -Reload-> (150066 ms) loaded 2026-08-13T14:58:17.426175Z INFO spotify_player::streaming: Got a new player event: EndOfTrack { playable_id: Track(TrackId("4pjFNyjGaoKgLTnndISP6V")) } 2026-08-13T14:58:17.426308Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("3uekHQtWNzxkcU6eNn16fv")) } 2026-08-13T14:58:17.426336Z INFO spotify_player::streaming: Got a new player event: Playing { playable_id: Track(TrackId("3uekHQtWNzxkcU6eNn16fv")), position_ms: 0 } 2026-08-13T14:58:17.804981Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 219ms 2026-08-13T14:58:17.880975Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 195ms 2026-08-13T14:58:17.964466Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 179ms 2026-08-13T14:58:18.038915Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 153ms 2026-08-13T14:58:18.185817Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 200ms 2026-08-13T14:59:23.266879Z ERROR client_request{request=Search("flig")}: spotify_player::client::handlers: Failed to handle client request: json parse error: invalid type: null, expected a boolean at line 1 column 3555: invalid type: null, expected a boolean at line 1 column 3555 2026-08-13T15:00:15.751070Z INFO client_request{request=Search("fli")}: spotify_player::client: Successfully handled the client request, took: 0ms 2026-08-13T15:00:17.896680Z INFO librespot_playback::player: Loading <Burn My Dread -Last Battle Reload-> with Spotify URI spotify:track:6TTwZil2HwiOP3Rw92dSRG 2026-08-13T15:00:18.454513Z INFO librespot_playback::player: <Burn My Dread -Last Battle Reload-> (163800 ms) loaded 2026-08-13T15:00:46.053894Z ERROR client_request{request=Search("flig")}: spotify_player::client::handlers: Failed to handle client request: json parse error: invalid type: null, expected a boolean at line 1 column 3555: invalid type: null, expected a boolean at line 1 column 3555
Screenshots
Environment
- OS: Ubuntu 2022.04.5
- Application version: 0.24.1
Source: aome510/spotify-player