mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-06 03:41:28 +03:00
Fixed several bugs with categories
Code cleanup
This commit is contained in:
@@ -66,6 +66,7 @@ async function getCategoriesAsPlaylists(files = null) {
|
||||
category['thumbnailPath'] = files_that_match[0].thumbnailPath;
|
||||
category['duration'] = files_that_match.reduce((a, b) => a + utils.durationStringToNumber(b.duration), 0);
|
||||
category['id'] = category['uid'];
|
||||
category['auto'] = true;
|
||||
categories_as_playlists.push(category);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user