diff --git a/simple_youtube_api/Channel.py b/simple_youtube_api/Channel.py index 9a54b4f..490a59a 100644 --- a/simple_youtube_api/Channel.py +++ b/simple_youtube_api/Channel.py @@ -143,7 +143,7 @@ def upload_video(self, video: LocalVideo): self.set_video_thumbnail(youtube_video, video.thumbnail_path) if video.playlist_id is not None: - self.add_video_to_playlist(video.playlist_id, video) + self.add_video_to_playlist(video.playlist_id, youtube_video) return youtube_video