mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-14 23:47:04 +03:00
Add user agent to json
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user