WinSuk / discord-youtube-notifier

YouTube upload/livestream notification via Discord webhook
MIT License
17 stars 16 forks source link

Unable to get WebSub notifications for livestreams #2

Open h1nk opened 5 years ago

h1nk commented 5 years ago

If you have anything that you could comment on about tehpsalmist/youtube-live-notifier#1 that would be very helpful, thanks.

h1nk commented 5 years ago

Pinging @WinSuk

Still very curious about this if you have any input.

WinSuk commented 5 years ago

Apparently this got buried in my sea of emails and I didn't see it, sorry.

I haven't used this for live streams in a while, but I remember it being pretty unreliable/unpredictable.

I know for scheduled premieres, nothing would get sent through the pubsub when it went live - or after it was finished and became a normal video - which was very annoying. If I remember correctly, when the video was being prepared it would get a pubsub push, and I could send a separate API call to get the scheduled start time. Using that info could be possible, but all future changes to the video would have to be recorded (and possibly polled often, making the pubsub useless) - like the scheduled time changing, video being deleted, made private, etc... A lot of extra work that could be solved easily by just setting up an email account to trigger when it gets something from YouTube.

I never tested regular live streams in detail, but I assume they are the same as premieres - scheduled ones are a pain (that YouTube could easily fix), and unscheduled ones work great.