Elijas / auto-youtube-subscription-playlist-2

Script automatically adds videos to playlists from Youtube channels and/or subscriptions (Youtube Collections alternative).
MIT License
248 stars 54 forks source link

No videos added to playlists #80

Closed Fabian42 closed 3 years ago

Fabian42 commented 4 years ago

For a few days already, no new videos get added to my playlists. There's no error message and the debug sheet just says "Acquired 0 videos" for each.

Fabian42 commented 4 years ago

And just to disagree with me, it just added two videos. But many older ones are still missing.

victorjzsun commented 4 years ago

It worked for me these past few days... Try replacing getVideoIdsWithLessQueries with getVideoIds on line 121 and change false to true for more verbose logging on line 16

Fabian42 commented 4 years ago

I have getVideoIdsWithLessQueries on line 149 instead. That means I have an outdated version, right? That might partially explain the issue. I've just copied the 'sheetScript.gsfile into 'Code.gs in the script editor, that should be enough for an update, right? I'll see how it behaves from now on.

victorjzsun commented 4 years ago

Edit, I didn't realize that you meant it was on a different line. Yes, then it is an outdated version. Hopefully it works now!

victorjzsun commented 3 years ago

@Fabian42 If there aren't any updates, I'll close the issue

Fabian42 commented 3 years ago

I'm still occasionally running different tests, but so far I have not managed to reproduce it while also seeing the log output.

Fabian42 commented 3 years ago

Got one! "Playlist with id PLbqkLu2V1bJJUQ2aLZjFdz8decGs1kHg- has no new videos", but that was wrong. In the same run, a video from VSauce 2 and one from SpaceX were correctly added to my playlist. Is there anything else that I can check now?

victorjzsun commented 3 years ago

I forgot to mention that the sheet's structure changed with the recent updates as well, make sure your sheet looks like this:

image

I ran the last line with the playlist you gave and an appropriate timestamp and it seems to work for me. I'm not too sure what's wrong, maybe try isolating that one cell so that you only update with videos from that playlist and see if that works?

victorjzsun commented 3 years ago

@Fabian42 any update on this?

Fabian42 commented 3 years ago

I haven't really noticed anything recently, but I've also not checked all channels manually anymore. I guess this can be closed for now and reopened if someone observes it again.