From e0c9edad78aded86aa501542ea6ab31e3af600d9 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 8 Sep 2024 22:24:10 +0800 Subject: [PATCH] :lipstick: Downgrade kugou source --- lib/services/sourced_track/sourced_track.dart | 2 +- pubspec.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/services/sourced_track/sourced_track.dart b/lib/services/sourced_track/sourced_track.dart index effb17f..70609fc 100755 --- a/lib/services/sourced_track/sourced_track.dart +++ b/lib/services/sourced_track/sourced_track.dart @@ -170,7 +170,7 @@ abstract class SourcedTrack extends Track { return switch (audioSource) { AudioSource.netease => - await fetchFromTrack(track: track, fallbackTo: AudioSource.kugou), + await fetchFromTrack(track: track, fallbackTo: AudioSource.youtube), AudioSource.kugou => await fetchFromTrack(track: track, fallbackTo: AudioSource.youtube), _ => diff --git a/pubspec.yaml b/pubspec.yaml index 8433d65..1e2ecbe 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.0+15 +version: 1.0.0+16 environment: sdk: ^3.5.0 @@ -180,4 +180,3 @@ flutter_native_splash: color: "#fef8f5" color_dark: "#18120d" image: assets/icon-w-shadow.png -