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.
```
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 :)
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:
Example output:
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 :)