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

Add #deleted? method to PlaylistItem #400

Open
Riveascore opened this issue Dec 26, 2020 · 1 comment
Open

Add #deleted? method to PlaylistItem #400

Riveascore opened this issue Dec 26, 2020 · 1 comment
Labels

Comments

@Riveascore
Copy link

#deleted? exists on Video.
But appears to only be accessible if you have proper auth on the Video object itself.

Say you have a Playlist, and you want to do something with each item.
You'll get a request error if the Video on a PlaylistItem is deleted.

But you can't call playlist_item.video.deleted?, you'll just get this error instead:

Yt::Errors::NoItems: A request to YouTube API returned no items but some were expected

@kangkyu
Copy link
Contributor

kangkyu commented Sep 27, 2023

Thank you for reporting @Riveascore

@kangkyu kangkyu added the bug label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants