Skip to content

Commit 09ba16b

Browse files
committed
顺序下载
1 parent c3a5fc6 commit 09ba16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BaseM3U8/src/main/java/com/bihe0832/android/base/m3u8/tools/M3U8DownloadImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ open class M3U8DownloadImpl(private val context: Context, private val mM3U8Liste
7979
MSG_TYPE_START -> {
8080
if (!hasStop && DownloadingList.getDownloadingNum() < MAX_DOWNLOAD) {
8181
mM3U8Info?.getTsList()?.filter { !mDownloadTSURLList.containsKey(it.getM3u8TSFullURL(mM3U8Info?.getBaseURL())) }?.let {
82-
it.shuffled().firstOrNull()?.let { item ->
82+
it.firstOrNull()?.let { item ->
8383
if (!mDownloadTSURLList.containsKey(item.getM3u8TSFullURL(mM3U8Info?.getBaseURL()))) {
8484
addNewItem(item)
8585
}

0 commit comments

Comments
 (0)