spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Search does not searching music with "#" included in the name

Open TheGetHuber opened this issue 1 year ago • 5 comments

Is there an existing issue for this? (Please read the description)

  • [X] I have searched the existing issues

Current Behavior

While seraching music with symbol "#" Spotube returns "Error Code: 400 \n Missing parameter type". Example of the error: image

Expected Behavior

Music be able searched with "#" character included in the name Same music but with "#" removed: image

Steps to reproduce

  1. Open app
  2. Open the search
  3. Type "#" or any other string with "#" included
  4. Look how error appears under the serachbar

Logs

Logs
[2024-10-08 20:02:57.415047]---------------------
Error Code: 400
No search query
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:282)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      BundledPages._parseBundledPage (package:spotify/src/endpoints/endpoint_paging.dart:324)
<asynchronous suspension>
#4      SearchNotifier.fetch (package:spotube/provider/spotify/search/search.dart:47)
<asynchronous suspension>
#5      SearchNotifier.build (package:spotube/provider/spotify/search/search.dart:74)
<asynchronous suspension>
#6      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:348)
<asynchronous suspension>

----------------------------------------
[2024-10-08 20:02:57.503988]---------------------
Error Code: 400
No search query
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:282)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      BundledPages._parseBundledPage (package:spotify/src/endpoints/endpoint_paging.dart:324)
<asynchronous suspension>
#4      SearchNotifier.fetch (package:spotube/provider/spotify/search/search.dart:47)
<asynchronous suspension>
#5      SearchNotifier.build (package:spotube/provider/spotify/search/search.dart:74)
<asynchronous suspension>
#6      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:348)
<asynchronous suspension>

----------------------------------------
[2024-10-08 20:02:57.506521]---------------------
Error Code: 400
No search query
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:282)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      BundledPages._parseBundledPage (package:spotify/src/endpoints/endpoint_paging.dart:324)
<asynchronous suspension>
#4      SearchNotifier.fetch (package:spotube/provider/spotify/search/search.dart:47)
<asynchronous suspension>
#5      SearchNotifier.build (package:spotube/provider/spotify/search/search.dart:74)
<asynchronous suspension>
#6      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:348)
<asynchronous suspension>

----------------------------------------

Operating System

Linux

Spotube version

v3.8.2 stable

Installation source

GitHub Releases (Binary)

Additional information

No response

Self grab

  • [X] I'm ready to work on this issue!

TheGetHuber avatar Oct 08 '24 17:10 TheGetHuber

Search doesn't work. Tested on version 3.8.2 / 3.8.3. 2024-10-10_080349 Windows 11 24H2 (x64)

D1mar0n avatar Oct 10 '24 06:10 D1mar0n

@D1mar0n change your marketplace from "Settings" > "Marketplace" to one supported by Spotify

KRTirtho avatar Oct 10 '24 15:10 KRTirtho

Hello! Thank you very much for your answer. Your hint worked - if you select any country except Russia as your location, the search works. На Чт.10.10.2024 17:48:00, Kingkor Roy Tirtho @.> написал(а): @D1mar0n [https://github.com/D1mar0n] change your marketplace from "Settings" > "Marketplace" to one supported by Spotify — Reply to this email directly, view it on GitHub [https://github.com/KRTirtho/spotube/issues/1977#issuecomment-2405480671], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AIQSDS4AAQYFH2S7VQ2AKD3Z22OTBAVCNFSM6AAAAABPSW5I7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGQ4DANRXGE]. You are receiving this because you were mentioned.Message ID: @.>

D1mar0n avatar Oct 11 '24 06:10 D1mar0n

Of course. Lots of US & EU services has stopped providing service for Russia. Spotify is one of them

KRTirtho avatar Oct 13 '24 17:10 KRTirtho

Thanks for the hint, I already figured it out... На Вс.13.10.2024 19:48:03, Kingkor Roy Tirtho @.> написал(а): Of course. Lots of US & EU services has stopped providing service for Russia. Spotify is one of them — Reply to this email directly, view it on GitHub [https://github.com/KRTirtho/spotube/issues/1977#issuecomment-2409065366], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AIQSDSYGPAQZBYDC2AZXYD3Z3KW5HAVCNFSM6AAAAABPSW5I7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBZGA3DKMZWGY]. You are receiving this because you were mentioned.Message ID: @.>

D1mar0n avatar Oct 13 '24 17:10 D1mar0n