mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
chore: use piped_client git version to fix search issue
This commit is contained in:
parent
90f7c531cd
commit
badd52223a
@ -157,12 +157,13 @@ class PipedSourcedTrack extends SourcedTrack {
|
||||
}) async {
|
||||
final pipedClient = ref.read(pipedProvider);
|
||||
final preference = ref.read(userPreferencesProvider);
|
||||
|
||||
final query = SourcedTrack.getSearchTerm(track);
|
||||
|
||||
final PipedSearchResult(items: searchResults) = await pipedClient.search(
|
||||
query,
|
||||
preference.searchMode == SearchMode.youtube
|
||||
? PipedFilter.video
|
||||
? PipedFilter.videos
|
||||
: PipedFilter.musicSongs,
|
||||
);
|
||||
|
||||
|
@ -1618,10 +1618,11 @@ packages:
|
||||
piped_client:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: piped_client
|
||||
sha256: "87b04b2ebf4e008cfbb0ac85e9920ab3741f5aa697be2dd44919658a3297a4bc"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
path: "."
|
||||
ref: HEAD
|
||||
resolved-ref: "64631732eefe3d93889756dc2e4ff5c8523ed763"
|
||||
url: "https://github.com/KRTirtho/piped_client.git"
|
||||
source: git
|
||||
version: "0.1.1"
|
||||
platform:
|
||||
dependency: transitive
|
||||
|
@ -76,7 +76,9 @@ dependencies:
|
||||
path: ^1.8.0
|
||||
path_provider: ^2.0.8
|
||||
permission_handler: ^11.0.1
|
||||
piped_client: ^0.1.1
|
||||
piped_client:
|
||||
git:
|
||||
url: https://github.com/KRTirtho/piped_client.git
|
||||
popover: ^0.2.6+3
|
||||
scrobblenaut:
|
||||
git:
|
||||
|
Loading…
Reference in New Issue
Block a user