Add user agent to json

Ajay Ramachandran
2021-07-31 21:26:13 -04:00
parent aea7d25067
commit b225cf1d15

@@ -101,7 +101,7 @@ __________________________________________________________________
endTime: float,
category: string,
userID: string, //This should be a randomly generated UUID stored locally (not the public one)
userAgent: string, // Name of Client or Bot/1.1
userAgent: string, // Name of Client or Bot/v1.1.2
service: string, // Optional, default is 'YouTube'. See https://github.com/ajayyy/SponsorBlock/wiki/Types#service
videoDuration: float, // Optional, duration of video, will attempt to retrieve from the YouTube API if missing (to be used to determine when a submission is out of date)
@@ -113,8 +113,11 @@ __________________________________________________________________
{
videoID: string,
userID: string, // This should be a randomly generated UUID stored locally (not the public one)
userAgent: string, // Name of Client or Bot/v1.1.2
service: string, // Optional, default is 'YouTube'. See https://github.com/ajayyy/SponsorBlock/wiki/Types#service
videoDuration: float, // Optional, duration of video, will attempt to retrieve from the YouTube API if missing (to be used to determine when a submission is out of date)
segments: [{ // Array of this object
segment: float[], //[0, 15.23] start and end time in seconds
category: string