Skip to content

Add #deleted? method to PlaylistItem #400

@Riveascore

Description

@Riveascore

#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions