Skip to content
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

Playlist has a large ammount of repeated videos #87

Closed
TheFip opened this issue Jan 24, 2021 · 6 comments
Closed

Playlist has a large ammount of repeated videos #87

TheFip opened this issue Jan 24, 2021 · 6 comments
Labels

Comments

@TheFip
Copy link

TheFip commented Jan 24, 2021

Hello! I have run in to an error where videos get added multiple times in the same playlist.

For some reason this only happened in one of the four playlist I have created. I have tried to recreate this playlist multiple times, but sadly this error eventually always happened again.

So, I assume it has something to do with the list of channels for this playlist?

I really don’t know, is there anyway to solve this problem?

@Elijas Elijas added the bug label Jan 24, 2021
@Fabian42
Copy link
Contributor

Is there something in the debug sheet? If the script adds one video to the playlist and then fails on a later video, then it doesn't update the timestamp and adds the same video again on the next run.

@TheFip
Copy link
Author

TheFip commented Jan 24, 2021

Thank you for the fast reply!
It does have something on the bug sheet for that row actually, it reads as follows:

Couldn't` update playlist with video (zJJa-p9U0oc), ERROR: Message: [API call to youtube.playlistItems.insert failed with error: Video not found.] Details: {"message":"Video not found.","code":404,"errors":[{"message":"Video not found.","reason":"videoNotFound","domain":"youtube.playlistItem"}]}

I guess its trying to insert a private video on the playlist, and causing an error cause of that?
If so, how could i solve this issue?

@victorjzsun
Copy link
Collaborator

victorjzsun commented Jan 24, 2021

Similar issue with private videos here: #74. I'll add a workaround to ignore these errors

@victorjzsun
Copy link
Collaborator

victorjzsun commented Jan 24, 2021

@TheFip I made the change to the script, either use http://bit.ly/subscriptionPlaylistsCopy to create a new copy of the sheet or copy the script from GitHub and paste it into your sheet's code editor. Let me know if the issue is fixed, thanks!

@Fabian42
Copy link
Contributor

Fabian42 commented Jan 25, 2021 via email

@TheFip
Copy link
Author

TheFip commented Jan 25, 2021

The new script worked as far as i can tell! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants