-
Notifications
You must be signed in to change notification settings - Fork 1
Contributing old times
If you would like to help the project by adding older times to the list, here is what you'll need
- A floatplane subscription
- Being a bit comfortable editing a
.ts
(typescript) file (it's mostly copy-paste, don't worry)
Before gathering times, we should open the file we will eventually put them into.
You can either
- Edit the file directly on GitHub (that link should prompt you to create a fork)
- If you know what you're doing, you can fork and clone the repository and open the
src/lib/oldHistory.ts
file.
Go to the timestamp tool page. This is where you will input all of the information, and it will give you back what you need to paste.
Most of the boxes on the timestamps page should be mostly self-explanatory, but I'll explain them anyway (in the order that they appear)
- The date box is the box where you specify the date of the show. Don't worry about accidentally putting the transcode date (usually a day later), as the page should automatically detect this (and will say the date it's using right below the box)
- The time section gives the page an anchor so that it can calculate the time from any timestamp. I usually look for the clock to change when they're sharing their screen.
- The main show starts box is where you put the timestamp that the main show starts. I usually use the timestamp about 5-10 seconds before Linus starts his intro.
- The total VOD length is, well, the total length of the VOD.
Once you fill in all of these fields from the VOD, you can select and copy the JSON block that it provides.
Once you have the times for a show, you need to paste it into the oldHistory file.
Scroll to the bottom of the oldHistory
file we opened earlier, and paste the JSON block you copied from the previous step before the closing ];
Make sure to also put a comma after the previous one, as it is a list. If you are confused about the format, you can look at many examples in that file.
PLEASE PASTE THEM IN ORDER with older shows at the bottom.
In order to make life easier for me, I highly recommend that you also match the indentations from the previous entries on that page.
Once you have added as many shows as you would like for now (I usually do a month at a time), you can submit a Pull Request. If you've made a fork and you just committed your changes to oldHistory
on your fork, there should be a yellow banner on the pull requests page with a button. Click that button and tell me which shows you did.
For example, if you did all the shows for October 2021, you could have a PR with a title such as Old Shows: October 2021
. I would prefer if you added more info in the bigger box below, such as any difficulties you encountered or maybe something funny you found in a VOD.
If you have trouble following this, feel free to ping me in the LTT discord.
My discord username is ajgeiss0702
(no hash/discriminator).
You can also DM me on Discord if you want but note that I do not accept friend requests, so you will need to share a server with me, and your settings must allow you to DM people.