mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-11 09:27:30 +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")
|
.where((audio) => audio.codec.mimeType == "audio/webm")
|
||||||
.sortByBitrate();
|
.sortByBitrate();
|
||||||
|
|
||||||
m4a = m4a.isEmpty ? weba : m4a;
|
m4a = m4a.isEmpty ? weba.toList() : m4a;
|
||||||
weba = weba.isEmpty ? m4a : weba;
|
weba = weba.isEmpty ? m4a.toList() : weba;
|
||||||
|
|
||||||
return SourceMap(
|
return SourceMap(
|
||||||
m4a: SourceQualityMap(
|
m4a: SourceQualityMap(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user