mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-10 09:07:29 +00:00
Update lib/services/sourced_track/sources/youtube.dart
This commit is contained in:
parent
918a532830
commit
582dfcf17a
@ -87,8 +87,8 @@ class YoutubeSourcedTrack extends SourcedTrack {
|
||||
.where((audio) => audio.codec.mimeType == "audio/webm")
|
||||
.sortByBitrate();
|
||||
|
||||
m4a = m4a.isEmpty ? weba : m4a;
|
||||
weba = weba.isEmpty ? m4a : weba;
|
||||
m4a = m4a.isEmpty ? weba.toList() : m4a;
|
||||
weba = weba.isEmpty ? m4a.toList() : weba;
|
||||
|
||||
return SourceMap(
|
||||
m4a: SourceQualityMap(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user