Youtube Redirector, 'NaNs' issue fixed
January 12, 2024
at
8:25 PM
Changes for the week of 1/12
Happy New Year! First news post of the new year.
You might have noticed that there was no news post last week. That was just because I had been traveling. That didn't mean I did nothing, though. Last week, I wrote some experimental code to check if something new would work, and it turned out it did:
Youtube Automatic Redirector
The
Automatic YouTube Redirector page is meant for people who like to watch WAN on YouTube.
You can get to it by clicking the link above or the YouTube tab on the main page.
Unlike Twitch and Floatplane, YouTube has no dedicated live page where viewers can wait for the stream to start. Normally, creators on YouTube doing a scheduled show could create a scheduled stream that would be available for people to wait. For some reason, LTT does not let the upcoming stream page be public. They appear to create it a few hours before the stream starts, but for some reason they keep it private or unlisted until right before the stream actually starts.
Due to this, when I used to watch on YouTube (before getting a Floatplane subscription), I would have to constantly refresh the LTT YouTube page to see when the stream started, and I would often miss the first few minutes of the stream.
Thanks to the experiment I mentioned above that I did last week, the Automatic YouTube Redirector now exists, which means you don't have to worry about constantly refreshing the YouTube page to see when the stream starts or need to rely on often very late notifications. Just open the redirector page, and it will redirect you as soon as a stream is available.
Based on the testing I did last week, you might be able to get to the stream page up to 30 seconds
before they even start streaming, which means you will miss the first few seconds (or minutes) of the show a lot less often, and you won't need to refresh the YouTube page constantly.
Of course, it would be much better if LTT published the stream before going live so that people didn't need to do this sort of thing, but this tool I made can help it be less annoying.
The 'NaNs' issue is fixed
Last week, if you were on the site right before the show started, you might have noticed the countdown change from the pre-show timer to this:
This is actually because of the experiment I mentioned earlier. There was a bug I did not realize until last night: Once the show was marked as upcoming, the countdown switched to the main show duration timer, but the text above switched to the future show text. The show duration was looking for the time that the stream started, but since it hadn't actually started yet, it did not exist. This caused calculations to be made on nothing, which caused the NaNs ('Not a Number seconds').
This issue, along with a separate caching issue that caused the show to be 'upcoming' for longer than it should have, is now fixed.