Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'length' of undefined #3

Closed
costaline opened this issue Dec 3, 2020 · 2 comments
Closed

TypeError: Cannot read property 'length' of undefined #3

costaline opened this issue Dec 3, 2020 · 2 comments

Comments

@costaline
Copy link

Возникает при попытке получить треки из плейлиста, найденного только по имени

TypeError: Cannot read property 'length' of undefined
    at [unknown function](Library:887:23)
    at push(Library:886:25)
    at [unknown function](Library:320:29)
    at getTrackItems(Library:313:30)
    at getTracks(Library:309:30)
    at getTracksByPlaylistName(actions:2:25)

В объекте с данными по плейлисту, tracks не содержит свойства items, которое требуется в Source.getItemsByPlaylistObject()
изображение

@Chimildic
Copy link
Owner

Попробуйте обновить библиотеку сейчас и напишите исправлена ли ошибка.

@costaline
Copy link
Author

Теперь ок. Спасибо

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants