#33 When playlist does not exist and --playlistCreate is not set, Youtube still try to add video to a playlist

Closed
opened 5 years ago by LecygneNoir · 1 comments
Owner

I have noticed during tests that when you select a playslist that does not exist and do not enable the --playlistCreate is not set, prismedia still try to add the video to the playlist after upload.

It generates an error, but does not interrupt the script.

We have 2 problems here:

  • Correcting the error output
  • Correcting the check itself

Example output:

 Youtube: Playlist `BB2 - Super Kroog Bowl V` is unknown.
 If you want to create it, set the --playlistCreate option.
[...]
 Youtube: Configuring playlist...
 URL being requested: POST https://www.googleapis.com/youtube/v3/playlistItems?alt=json&part=snippet
 Youtube: Error:
 Youtube: Video is correctly added to the playlist.
I have noticed during tests that when you select a playslist that does not exist and do not enable the `--playlistCreate` is not set, prismedia still try to add the video to the playlist after upload. It generates an error, but does not interrupt the script. We have 2 problems here: - Correcting the error output - Correcting the check itself Example output: ``` Youtube: Playlist `BB2 - Super Kroog Bowl V` is unknown. If you want to create it, set the --playlistCreate option. [...] Youtube: Configuring playlist... URL being requested: POST https://www.googleapis.com/youtube/v3/playlistItems?alt=json&part=snippet Youtube: Error: Youtube: Video is correctly added to the playlist. ```
LecygneNoir added the
bug
label 5 years ago
LecygneNoir added the
Work in Progress
label 4 years ago
Poster
Owner

Unfortunately the Error: is not a prismedia problem, but Youtube that answer empty response when the playlist name is empty.

Probably it's an internal error, but the Exception is empty, even if we display the full answer. So there is no way to solve this message.

However I have patched error and check themselves :)

Unfortunately the `Error: ` is not a prismedia problem, but Youtube that answer empty response when the playlist name is empty. Probably it's an internal error, but the Exception is empty, even if we display the full answer. So there is no way to solve this message. However I have patched error and check themselves :)
LecygneNoir closed this issue 4 years ago
LecygneNoir removed the
Work in Progress
label 4 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.