-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Error when private video added to playlist #74
Comments
What would be your proposed solution? Because if a private (scheduled) video gets added to a playlist, the script skips it and it gets later set to public, the script wouldn't realise that it should then add it, right? As far as I know, the script has no memory of which videos it already handled, except for the timestamp per row. And the video was uploaded earlier, just not published. Is there also a published date field that can be accessed by the script? |
I understand your concern, and I've tested it thoroughly myself. The script only looks for published dates, not uploaded dates, so that case is already covered. All scheduled videos will be added correctly. |
I just made one:
https://www.youtube.com/playlist?list=PLt0pE0Qr2uzGwqOIL_ZKV8nAxD9M6LUkn
The two private videos were originally published in July and September
2015, in case that helps.
…On Mon, 25 Jan 2021 at 18:58, Victor Sun ***@***.***> wrote:
I made the change for this issue as mentioned in #87
<#87>
, but unable to test since I don’t know any playlists with private videos,
@Fabian42 <https://github.com/Fabian42> do you have any examples ? If it
does indeed work, we can close the issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#74 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACP66YWAM56FMW3VNUUTYCTS3WWOBANCNFSM4MRKEPBQ>
.
|
When a newly uploaded private video gets added to one of the playlists on the right, the script tries to add it to the playlist on the left and fails. The debug sheet shows this error:
Couldn't update playlist with video (UuZv1vdNoxM), ERROR: Message: [API call to youtube.playlistItems.insert failed with error: Video not found.] Details: {"message":"Video not found.","code":404,"errors":[{"domain":"youtube.playlistItem","reason":"videoNotFound","message":"Video not found."}]}
This might be related to the fact that "made for kids" videos now cannot be added to playlists (usually?), so it probably fails on all private videos, because it can't check if it has that property set or not. But that's just a guess.
I don't know what the best solution would be here, because just skipping all private videos would make the script not add any videos ever that were uploaded with a schedule.
The text was updated successfully, but these errors were encountered: