refactor!: rewrite PlaylistManager

Probably fixes mentioned issues.

#100, #101
This commit is contained in:
LuanRT
2022-07-12 18:22:53 -03:00
parent d1f2369e43
commit d8266ff786
7 changed files with 13023 additions and 100 deletions

View File

@@ -69,7 +69,7 @@ class MusicResponsiveListItem {
}
#parseSong() {
this.id = this.#playlist_item_data.video_id || this.endpoint.watch.video_id;
this.id = this.#playlist_item_data.video_id || this.endpoint?.watch.video_id;
this.title = this.#flex_columns[0].title.toString();
const duration_text =