From 2cee7ee9582e7e6566b7b7d25bcf703fadf3f55e Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Fri, 6 Sep 2024 12:55:10 +0800 Subject: [PATCH] :bug: Search siblings in netease won't show duration --- lib/services/sourced_track/sources/netease.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/sourced_track/sources/netease.dart b/lib/services/sourced_track/sources/netease.dart index af6ef59..d5f654e 100755 --- a/lib/services/sourced_track/sources/netease.dart +++ b/lib/services/sourced_track/sources/netease.dart @@ -247,7 +247,7 @@ class NeteaseSourcedTrack extends SourcedTrack { title: item['name'], duration: item['dt'] != null ? Duration(milliseconds: item['dt']) - : Duration.zero, + : Duration(milliseconds: item['duration']), album: item['al']?['name'], ), source: toSourceMap(item),