Added unlisted check option.

https://github.com/ajayyy/SponsorBlock/pull/224

Co-authored-by: OfficialNoob <OfficialNoob@users.noreply.github.com>
This commit is contained in:
Ajay Ramachandran
2020-02-08 22:43:27 -05:00
parent 6159605afd
commit b7e83a0efe
4 changed files with 70 additions and 3 deletions

View File

@@ -24,7 +24,8 @@ interface SBConfig {
autoUpvote: boolean,
supportInvidious: boolean,
serverAddress: string,
minDuration: number
minDuration: number,
checkForUnlistedVideos: boolean
}
interface SBObject {
@@ -119,7 +120,8 @@ var Config: SBObject = {
autoUpvote: true,
supportInvidious: false,
serverAddress: CompileConfig.serverAddress,
minDuration: 0
minDuration: 0,
checkForUnlistedVideos: false
},
localConfig: null,
config: null