mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-15 10:32:14 +00:00
* feat: add `ConfirmDialog` This usually appears in the `playability_status` object. * fix(PlayerErrorMessage): check if `iconType` exists before parsing * chore(parser): fix a few inconsistencies * feat(ytmusic): add `MetadataScreen` TODO: Check TrackInfo, YouTube Music is probably getting some minor UI updates.
15 lines
279 B
TypeScript
15 lines
279 B
TypeScript
import Parser from '..';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class MetadataScreen extends YTNode {
|
|
static type = 'MetadataScreen';
|
|
|
|
section_list;
|
|
|
|
constructor (data: any) {
|
|
super();
|
|
this.section_list = Parser.parseItem(data);
|
|
}
|
|
}
|
|
|
|
export default MetadataScreen; |