Skip to content

Commit

Permalink
fix: fix playback issue for some songs (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Dec 29, 2024
1 parent 3b9ea5d commit e42ecb8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/API/musify.dart
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,7 @@ Future<String> getAudioUrl(
String songId,
String cacheKey,
) async {
final manifest = await _yt.videos.streamsClient
.getManifest(songId, requireWatchPage: false);
final manifest = await _yt.videos.streamsClient.getManifest(songId);
final audioQuality = selectAudioQuality(manifest.audioOnly.sortByBitrate());
final audioUrl = audioQuality.url.toString();

Expand Down

0 comments on commit e42ecb8

Please sign in to comment.