mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 17:42:18 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
361fb4a9f1 | ||
|
|
1c3ea2acd3 | ||
|
|
859c4585d9 | ||
|
|
751f2b90fd | ||
|
|
90be877d28 |
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,5 +1,19 @@
|
||||
# Changelog
|
||||
|
||||
## [6.0.2](https://github.com/LuanRT/YouTube.js/compare/v6.0.1...v6.0.2) (2023-08-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* invalid set ids in dash manifest ([#480](https://github.com/LuanRT/YouTube.js/issues/480)) ([1c3ea2a](https://github.com/LuanRT/YouTube.js/commit/1c3ea2acd38652c6b40a0817a7836c672a776c4e))
|
||||
|
||||
## [6.0.1](https://github.com/LuanRT/YouTube.js/compare/v6.0.0...v6.0.1) (2023-08-22)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **SearchSubMenu:** Groups not being parsed due to a typo ([90be877](https://github.com/LuanRT/YouTube.js/commit/90be877d28e0ef013056eaeaa4f2765c91addd61))
|
||||
|
||||
## [6.0.0](https://github.com/LuanRT/YouTube.js/compare/v5.8.0...v6.0.0) (2023-08-18)
|
||||
|
||||
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "youtubei.js",
|
||||
"version": "6.0.0",
|
||||
"version": "6.0.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "youtubei.js",
|
||||
"version": "6.0.0",
|
||||
"version": "6.0.2",
|
||||
"funding": [
|
||||
"https://github.com/sponsors/LuanRT"
|
||||
],
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "youtubei.js",
|
||||
"version": "6.0.0",
|
||||
"version": "6.0.2",
|
||||
"description": "A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).",
|
||||
"type": "module",
|
||||
"types": "./dist/src/platform/lib.d.ts",
|
||||
|
||||
@@ -17,7 +17,7 @@ export default class SearchSubMenu extends YTNode {
|
||||
if (Reflect.has(data, 'title'))
|
||||
this.title = new Text(data.title);
|
||||
|
||||
if (!Reflect.has(data, 'groups'))
|
||||
if (Reflect.has(data, 'groups'))
|
||||
this.groups = Parser.parseArray(data.groups, SearchFilterGroup);
|
||||
|
||||
if (Reflect.has(data, 'button'))
|
||||
|
||||
@@ -90,7 +90,7 @@ function DashManifest({
|
||||
{
|
||||
audio_sets.map((set, index) => (
|
||||
<adaptation-set
|
||||
id={`audio_${index}`}
|
||||
id={index}
|
||||
mimeType={set.mime_type}
|
||||
startWithSAP="1"
|
||||
subsegmentAlignment="true"
|
||||
@@ -107,7 +107,7 @@ function DashManifest({
|
||||
}
|
||||
{
|
||||
set.track_name &&
|
||||
<label id={`audio_${index}`}>
|
||||
<label id={index}>
|
||||
{set.track_name}
|
||||
</label>
|
||||
}
|
||||
@@ -143,7 +143,7 @@ function DashManifest({
|
||||
{
|
||||
video_sets.map((set, index) => (
|
||||
<adaptation-set
|
||||
id={`video_${index}`}
|
||||
id={index + audio_sets.length}
|
||||
mimeType={set.mime_type}
|
||||
startWithSAP="1"
|
||||
subsegmentAlignment="true"
|
||||
@@ -192,7 +192,7 @@ function DashManifest({
|
||||
{
|
||||
image_sets.map(async (set, index) => {
|
||||
return <adaptation-set
|
||||
id={`thumbs_${index}`}
|
||||
id={index + audio_sets.length + video_sets.length}
|
||||
mimeType={await set.getMimeType()}
|
||||
contentType="image"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user