Fresh start (#110)

* Fresh start

* Create an xml include plugin (#111)

* Restructure and add testing (#114)

* rooibos setup

* Restructure and add testing

* docs

* Restore manifestpipi

* Description in tools

* A bit of docs

* Auto bind feature (#115)

* Auto bind feature

* Fix children merge

* bs plugin fix

* Feature/app controller (#120)

* Initial layout

* Restructuring and plugin work

* A couple of tweaks in binding stuff

* tweaks

* basic stack

* Add basic app controller

* Support json5/yaml in playlet config files (#123)

* Support json5 in playlet config files

* Add yaml to the mix

* Delete old lib project

* plugin fix

* plugin tweak

* verbose logging

* Revert "verbose logging"

This reverts commit 25867f4226703d83102519a0d48d1cc46a9876de.

* One idea to fix the include plugin

* Fix instability in plugins

* Feature/navbar (#126)

* Navbar

* typo

* comment

* Single content node, and tests

* Remove unused field

* tweaks

* update dependencies command

* tweak formatting

* Add web app screen

* Set id in created screens

* Search screen

* Tests

* Show playlists and channels in search results

* Move screen stuff to app controller

* Home screen (wip)

* Add preferences node

* README.md copyedits (#130)

* README.md: Fix typos

* README.md: Standardize capitalization and punctuation

* Update docs/README.md

---------

Co-authored-by: Brahim Hadriche <brahim.hadriche@gmail.com>

* Web server: round 1 (#131)

* web server object

* Logging

* Web server round 1

* Lint fix

* Small tweaks

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>

* Logging to file

* Leftover

* Add logs file to web server

* Fix for timeout

* Disable keepalive connection

* add openapi spec file

* Lint fix

* add prefs version in api

* Add ecp api definition

* Lint fix

* Settings rework (#135)

* Settings rework

* Standard OnFocusChange event

* Video player stuff (#136)

* Video player stuff

* Restructure things so that focus is better handled

* Lint fix

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>

* Exit dialog

* A bunch of changes

* New http client

* Set TODO priorities

* picture in picture

* mark video watched

* Video player stuff mostly there

* update spec file

* Sponsorblock

* FuncName

* SponsorBlock notifications

* Lint fix

* misc

* remove basic auth feature flag (until we start using it)

* Play queue part 1

* type fix

* handle unicode in request body

* SponsorBlock chapter label

* modal base

* remove a hack

* Invidious settings

* web server reduce timeout

* Test for captions

* Lint fix

* remove rpc stuff

* small change

* Solve focus management

* a couple of fixes

* Remove a bunch of todos

* feed error handling wip

* Lint fix

* navigation in instance settings

* home screen pagination support

* Refactor feed to support pagination on search page

* cell loading animation

* Tweak caching

* delete test screen

* playlist support part 1

* Basic playlist view

* Restore playlist/channel handler

* Refactor some content node stuff, and add an auth popup dialog

* A bad implementation of a playqueue

* Lint fix

* playlist cast fix

* Feature/web app catch up (#139)

* playlist cast fix

* Move things around

* support playlists in web app

* update api

* Bump deps

* Downgrade todo

---------

Co-authored-by: Bryce Harrington <bryce@bryceharrington.org>
Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
authored and GitHub committed 2023-09-07 17:18:25 -04:00
1 parent 79f74141c5
commit 43166fb43b
349 files changed
+12784 -7660

No files matched your search

@@ -1,186 +0,0 @@
{
"aa": "aar",
"ab": "abk",
"af": "afr",
"ak": "aka",
"sq": "alb",
"am": "amh",
"ar": "ara",
"an": "arg",
"hy": "hye",
"as": "asm",
"av": "ava",
"ae": "ave",
"ay": "aym",
"az": "aze",
"ba": "bak",
"bm": "bam",
"eu": "eus",
"be": "bel",
"bn": "ben",
"bh": "bih",
"bi": "bis",
"bo": "tib",
"bs": "bos",
"br": "bre",
"bg": "bul",
"my": "mya",
"ca": "cat",
"cs": "cze",
"ch": "cha",
"ce": "che",
"zh": "zho",
"cu": "chu",
"cv": "chv",
"kw": "cor",
"co": "cos",
"cr": "cre",
"cy": "wel",
"da": "dan",
"de": "ger",
"dv": "div",
"nl": "dut",
"dz": "dzo",
"el": "gre",
"en": "eng",
"eo": "epo",
"et": "est",
"ee": "ewe",
"fo": "fao",
"fa": "per",
"fj": "fij",
"fi": "fin",
"fr": "fra",
"fy": "fry",
"ff": "ful",
"ka": "geo",
"gd": "gla",
"ga": "gle",
"gl": "glg",
"gv": "glv",
"gn": "grn",
"gu": "guj",
"ht": "hat",
"ha": "hau",
"he": "heb",
"hz": "her",
"hi": "hin",
"ho": "hmo",
"hr": "hrv",
"hu": "hun",
"ig": "ibo",
"is": "ice",
"io": "ido",
"ii": "iii",
"iu": "iku",
"ie": "ile",
"ia": "ina",
"id": "ind",
"ik": "ipk",
"it": "ita",
"jv": "jav",
"ja": "jpn",
"kl": "kal",
"kn": "kan",
"ks": "kas",
"kr": "kau",
"kk": "kaz",
"km": "khm",
"ki": "kik",
"rw": "kin",
"ky": "kir",
"kv": "kom",
"kg": "kon",
"ko": "kor",
"kj": "kua",
"ku": "kur",
"lo": "lao",
"la": "lat",
"lv": "lav",
"li": "lim",
"ln": "lin",
"lt": "lit",
"lb": "ltz",
"lu": "lub",
"lg": "lug",
"mk": "mkd",
"mh": "mah",
"ml": "mal",
"mi": "mri",
"mr": "mar",
"ms": "may",
"mg": "mlg",
"mt": "mlt",
"mn": "mon",
"na": "nau",
"nv": "nav",
"nr": "nbl",
"nd": "nde",
"ng": "ndo",
"ne": "nep",
"nn": "nno",
"nb": "nob",
"no": "nor",
"ny": "nya",
"oc": "oci",
"oj": "oji",
"or": "ori",
"om": "orm",
"os": "oss",
"pa": "pan",
"pi": "pli",
"pl": "pol",
"pt": "por",
"ps": "pus",
"qu": "que",
"rm": "roh",
"ro": "ron",
"rn": "run",
"ru": "rus",
"sg": "sag",
"sa": "san",
"si": "sin",
"sk": "slk",
"sl": "slv",
"se": "sme",
"sm": "smo",
"sn": "sna",
"sd": "snd",
"so": "som",
"st": "sot",
"es": "spa",
"sc": "srd",
"sr": "srp",
"ss": "ssw",
"su": "sun",
"sw": "swa",
"sv": "swe",
"ty": "tah",
"ta": "tam",
"tt": "tat",
"te": "tel",
"tg": "tgk",
"tl": "tgl",
"th": "tha",
"ti": "tir",
"to": "ton",
"tn": "tsn",
"ts": "tso",
"tk": "tuk",
"tr": "tur",
"tw": "twi",
"ug": "uig",
"uk": "ukr",
"ur": "urd",
"uz": "uzb",
"ve": "ven",
"vi": "vie",
"vo": "vol",
"wa": "wln",
"wo": "wol",
"xh": "xho",
"yi": "yid",
"yo": "yor",
"za": "zha",
"zu": "zul"
}
@@ -0,0 +1,186 @@
{
aa: "aar",
ab: "abk",
af: "afr",
ak: "aka",
sq: "alb",
am: "amh",
ar: "ara",
an: "arg",
hy: "hye",
as: "asm",
av: "ava",
ae: "ave",
ay: "aym",
az: "aze",
ba: "bak",
bm: "bam",
eu: "eus",
be: "bel",
bn: "ben",
bh: "bih",
bi: "bis",
bo: "tib",
bs: "bos",
br: "bre",
bg: "bul",
my: "mya",
ca: "cat",
cs: "cze",
ch: "cha",
ce: "che",
zh: "zho",
cu: "chu",
cv: "chv",
kw: "cor",
co: "cos",
cr: "cre",
cy: "wel",
da: "dan",
de: "ger",
dv: "div",
nl: "dut",
dz: "dzo",
el: "gre",
en: "eng",
eo: "epo",
et: "est",
ee: "ewe",
fo: "fao",
fa: "per",
fj: "fij",
fi: "fin",
fr: "fra",
fy: "fry",
ff: "ful",
ka: "geo",
gd: "gla",
ga: "gle",
gl: "glg",
gv: "glv",
gn: "grn",
gu: "guj",
ht: "hat",
ha: "hau",
he: "heb",
hz: "her",
hi: "hin",
ho: "hmo",
hr: "hrv",
hu: "hun",
ig: "ibo",
is: "ice",
io: "ido",
ii: "iii",
iu: "iku",
ie: "ile",
ia: "ina",
id: "ind",
ik: "ipk",
it: "ita",
jv: "jav",
ja: "jpn",
kl: "kal",
kn: "kan",
ks: "kas",
kr: "kau",
kk: "kaz",
km: "khm",
ki: "kik",
rw: "kin",
ky: "kir",
kv: "kom",
kg: "kon",
ko: "kor",
kj: "kua",
ku: "kur",
lo: "lao",
la: "lat",
lv: "lav",
li: "lim",
ln: "lin",
lt: "lit",
lb: "ltz",
lu: "lub",
lg: "lug",
mk: "mkd",
mh: "mah",
ml: "mal",
mi: "mri",
mr: "mar",
ms: "may",
mg: "mlg",
mt: "mlt",
mn: "mon",
na: "nau",
nv: "nav",
nr: "nbl",
nd: "nde",
ng: "ndo",
ne: "nep",
nn: "nno",
nb: "nob",
no: "nor",
ny: "nya",
oc: "oci",
oj: "oji",
or: "ori",
om: "orm",
os: "oss",
pa: "pan",
pi: "pli",
pl: "pol",
pt: "por",
ps: "pus",
qu: "que",
rm: "roh",
ro: "ron",
rn: "run",
ru: "rus",
sg: "sag",
sa: "san",
si: "sin",
sk: "slk",
sl: "slv",
se: "sme",
sm: "smo",
sn: "sna",
sd: "snd",
so: "som",
st: "sot",
es: "spa",
sc: "srd",
sr: "srp",
ss: "ssw",
su: "sun",
sw: "swa",
sv: "swe",
ty: "tah",
ta: "tam",
tt: "tat",
te: "tel",
tg: "tgk",
tl: "tgl",
th: "tha",
ti: "tir",
to: "ton",
tn: "tsn",
ts: "tso",
tk: "tuk",
tr: "tur",
tw: "twi",
ug: "uig",
uk: "ukr",
ur: "urd",
uz: "uzb",
ve: "ven",
vi: "vie",
vo: "vol",
wa: "wln",
wo: "wol",
xh: "xho",
yi: "yid",
yo: "yor",
za: "zha",
zu: "zul",
}
@@ -1,64 +0,0 @@
[
{
"title": "Subscriptions",
"apiType": "Invidious",
"endpoint": "auth_feed"
},
{
"title": "Trending",
"apiType": "Invidious",
"endpoint": "trending"
},
{
"title": "Trending - Music",
"apiType": "Invidious",
"endpoint": "trending",
"queryParams": {
"type": "Music"
}
},
{
"title": "Trending - Gaming",
"apiType": "Invidious",
"endpoint": "trending",
"queryParams": {
"type": "Gaming"
}
},
{
"title": "Trending - Movies",
"apiType": "Invidious",
"endpoint": "trending",
"queryParams": {
"type": "Movies"
}
},
{
"title": "Popular",
"apiType": "Invidious",
"endpoint": "popular"
},
{
"title": "Funny",
"apiType": "Invidious",
"endpoint": "search",
"queryParams": {
"q": "Funny",
"sort_by": "upload_date"
}
},
{
"title": "News",
"apiType": "Invidious",
"endpoint": "search",
"queryParams": {
"q": "News",
"sort_by": "upload_date"
}
},
{
"title": "Playlist - %title% (%videoCount%)",
"apiType": "Invidious",
"endpoint": "playlists"
}
]
@@ -0,0 +1,64 @@
[
{
title: "Subscriptions",
apiType: "Invidious",
endpoint: "auth_feed",
},
{
title: "Trending",
apiType: "Invidious",
endpoint: "trending",
},
{
title: "Trending - Music",
apiType: "Invidious",
endpoint: "trending",
queryParams: {
type: "Music",
},
},
{
title: "Trending - Gaming",
apiType: "Invidious",
endpoint: "trending",
queryParams: {
type: "Gaming",
},
},
{
title: "Trending - Movies",
apiType: "Invidious",
endpoint: "trending",
queryParams: {
type: "Movies",
},
},
{
title: "Popular",
apiType: "Invidious",
endpoint: "popular",
},
{
title: "Funny",
apiType: "Invidious",
endpoint: "search",
queryParams: {
q: "Funny",
sort_by: "upload_date",
},
},
{
title: "News",
apiType: "Invidious",
endpoint: "search",
queryParams: {
q: "News",
sort_by: "upload_date",
},
},
{
title: "Playlists",
apiType: "Invidious",
endpoint: "playlists",
},
]
+58
View File
@@ -0,0 +1,58 @@
{
"100": "Continue",
"101": "Switching Protocols",
"102": "Processing",
"200": "OK",
"201": "Created",
"202": "Accepted",
"203": "Non-Authoritative Information",
"204": "No Content",
"205": "Reset Content",
"206": "Partial Content",
"207": "Multi-Status",
"226": "IM Used",
"300": "Multiple Choices",
"301": "Moved Permanently",
"302": "Found",
"303": "See Other",
"304": "Not Modified",
"305": "Use Proxy",
"307": "Temporary Redirect",
"308": "Permanent Redirect",
"400": "Bad Request",
"401": "Unauthorized",
"402": "Payment Required",
"403": "Forbidden",
"404": "Not Found",
"405": "Method Not Allowed",
"406": "Not Acceptable",
"407": "Proxy Authentication Required",
"408": "Request Timeout",
"409": "Conflict",
"410": "Gone",
"411": "Length Required",
"412": "Precondition Failed",
"413": "Payload Too Large",
"414": "URI Too Long",
"415": "Unsupported Media Type",
"416": "Range Not Satisfiable",
"417": "Expectation Failed",
"418": "I'm a teapot",
"422": "Unprocessable Entity",
"423": "Locked",
"424": "Failed Dependency",
"426": "Upgrade Required",
"428": "Precondition Required",
"429": "Too Many Requests",
"431": "Request Header Fields Too Large",
"451": "Unavailable For Legal Reasons",
"500": "Internal Server Error",
"501": "Not Implemented",
"502": "Bad Gateway",
"503": "Service Unavailable",
"504": "Gateway Time-out",
"505": "HTTP Version Not Supported",
"506": "Variant Also Negotiates",
"507": "Insufficient Storage",
"511": "Network Authentication Required",
}
@@ -1,158 +0,0 @@
{
"endpoints": [
{
"name": "trending",
"displayName": "Trending",
"url": "/api/v1/trending",
"queryParams": {
"type": {
"required": false,
"type": [
"Music",
"Gaming",
"Movies"
]
},
"region": {
"required": false,
"type": "#ISO3166",
"default": "GetUserCountryCode"
},
"fields": {
"required": false,
"type": "string",
"default": "title,videoId,videoThumbnails,lengthSeconds,viewCount,author,publishedText,liveNow,isUpcoming,premiereTimestamp"
}
}
},
{
"name": "popular",
"displayName": "Popular",
"url": "/api/v1/popular",
"queryParams": {
"fields": {
"required": false,
"type": "string",
"default": "title,videoId,videoThumbnails,lengthSeconds,viewCount,author,publishedText,liveNow,isUpcoming,premiereTimestamp"
}
}
},
{
"name": "search",
"displayName": "Search",
"url": "/api/v1/search",
"queryParams": {
"q": {
"required": true,
"type": "string"
},
"sort_by": {
"required": false,
"type": [
"relevance",
"rating",
"upload_date",
"view_count"
]
},
"date": {
"required": false,
"type": [
"hour",
"today",
"week",
"month",
"year"
]
},
"duration": {
"required": false,
"type": [
"short",
"long"
]
},
"type": {
"required": false,
"type": [
"video",
"playlist",
"channel",
"all"
]
},
"features": {
"required": false,
"type": [
"hd",
"subtitles",
"creative_commons",
"3d",
"live",
"purchased",
"4k",
"360",
"location",
"hdr"
]
},
"region": {
"required": false,
"type": "#ISO3166",
"default": "GetUserCountryCode"
},
"fields": {
"required": false,
"type": "string",
"default": "title,videoId,videoThumbnails,lengthSeconds,viewCount,author,publishedText,liveNow,isUpcoming,premiereTimestamp"
}
}
},
{
"name": "auth_feed",
"displayName": "User Feed",
"url": "/api/v1/auth/feed",
"authenticated": true,
"responseHandler": "AuthFeedHandler"
},
{
"name": "playlists",
"displayName": "Playlists",
"url": "/api/v1/auth/playlists",
"authenticated": true,
"responseHandler": "AuthPlaylistsHandler"
},
{
"name": "playlist",
"displayName": "Playlist",
"url": "/api/v1/playlists/:plid",
"responseHandler": "PlaylistHandler"
},
{
"name": "mix",
"displayName": "Mix",
"url": "/api/v1/mixes/:rdid",
"responseHandler": "PlaylistHandler"
},
{
"name": "channel",
"displayName": "Channel",
"url": "/api/v1/channels/videos/:ucid",
"queryParams": {
"sort_by": {
"required": false,
"type": [
"newest",
"oldest",
"popular"
]
},
"fields": {
"required": false,
"type": "string",
"default": "title,videoId,videoThumbnails,lengthSeconds,viewCount,author,publishedText,liveNow,isUpcoming,premiereTimestamp"
}
}
}
]
}
@@ -0,0 +1,153 @@
{
endpoints: [
{
name: "trending",
displayName: "Trending",
url: "/api/v1/trending",
queryParams: {
type: {
required: false,
type: ["Music", "Gaming", "Movies"],
},
region: {
required: false,
type: "#ISO3166",
default: "GetUserCountryCode",
},
fields: {
required: false,
type: [],
arrayType: "comma-separated",
default: [
"title",
"videoId",
"videoThumbnails",
"lengthSeconds",
"viewCount",
"author",
"publishedText",
"liveNow",
"isUpcoming",
"premiereTimestamp",
],
},
},
cacheSeconds: 21600, // 6 hours
},
{
name: "popular",
displayName: "Popular",
url: "/api/v1/popular",
queryParams: {
fields: {
required: false,
type: [],
arrayType: "comma-separated",
default: [
"title",
"videoId",
"videoThumbnails",
"lengthSeconds",
"viewCount",
"author",
"publishedText",
"liveNow",
"isUpcoming",
"premiereTimestamp",
],
},
},
},
{
name: "search",
displayName: "Search",
url: "/api/v1/search",
pagination: true,
queryParams: {
q: {
required: true,
type: "string",
},
sort_by: {
required: false,
type: ["relevance", "rating", "upload_date", "view_count"],
},
date: {
required: false,
type: ["hour", "today", "week", "month", "year"],
},
duration: {
required: false,
type: ["short", "long"],
},
type: {
required: false,
type: ["video", "playlist", "channel", "all"],
arrayType: "comma-separated",
default: ["video", "playlist"],
},
features: {
required: false,
type: [
"hd",
"subtitles",
"creative_commons",
"3d",
"live",
"purchased",
"4k",
"360",
"location",
"hdr",
],
},
region: {
required: false,
type: "#ISO3166",
default: "GetUserCountryCode",
},
},
cacheSeconds: 900, // 15 minutes
},
{
name: "auth_feed",
displayName: "User Feed",
url: "/api/v1/auth/feed",
authenticated: true,
responseHandler: "AuthFeedHandler",
queryParams: {
max_results: {
required: false,
type: "number",
default: 20,
},
},
pagination: true,
},
{
name: "playlists",
displayName: "Playlists",
url: "/api/v1/auth/playlists",
authenticated: true,
},
{
name: "playlist",
displayName: "Playlist",
url: "/api/v1/playlists/{plid}",
responseHandler: "PlaylistHandler",
pagination: true,
},
{
name: "channel",
displayName: "Channel",
url: "/api/v1/channels/videos/{ucid}",
responseHandler: "ChannelHandler",
queryParams: {
sort_by: {
required: false,
type: ["newest", "oldest", "popular"],
},
},
},
],
}
+34
View File
@@ -0,0 +1,34 @@
{
asc: "text/plain",
avi: "video/x-msvideo",
brs: "text/plain",
bs: "text/plain",
css: "text/css",
default: "application/octet-stream",
dtd: "application/xml-dtd",
gif: "image/gif",
html: "text/html",
jpe: "image/jpeg",
jpeg: "image/jpeg",
jpg: "image/jpeg",
js: "text/javascript",
json: "application/json",
map: "text/plain",
mpe: "video/mpeg",
mpeg: "video/mpeg",
mpg: "video/mpeg",
mp2: "audio/mpeg",
mp3: "audio/mpeg",
mpga: "audio/mpeg",
mov: "video/quicktime",
ogg: "application/ogg",
pdf: "application/pdf",
png: "image/png",
qt: "video/quicktime",
svg: "image/svg+xml",
txt: "text/plain",
xsl: "application/xml",
xslt: "application/xslt+xml",
xml: "application/xml",
zip: "application/zip",
}
-109
View File
@@ -1,109 +0,0 @@
[
{
"displayText": "Playback",
"key": "playback",
"description": "Playback preferences",
"children": [
{
"displayText": "Autoplay",
"key": "playback.autoplay",
"description": "When you finish a video, another plays automatically",
"type": "boolean",
"defaultValue": true
},
{
"displayText": "Preferred quality",
"key": "playback.preferred_quality",
"description": "Preferred video quality",
"type": "radio",
"defaultValue": "auto",
"options": [
{
"displayText": "Auto",
"value": "auto"
},
{
"displayText": "720p",
"value": "720p"
}
]
}
]
},
{
"displayText": "Invidious",
"key": "invidious",
"description": "Invidious preferences",
"children": [
{
"displayText": "Instance",
"key": "invidious.instance",
"description": "Invidious instance to use. Example: https://vid.puffyan.us",
"type": "string"
},
{
"displayText": "Proxy videos",
"key": "invidious.proxy_videos",
"description": "Proxy videos through the Invidious server. This is useful if videos are geoblocked.",
"type": "radio",
"defaultValue": "if_needed",
"options": [
{
"displayText": "Always",
"value": "always"
},
{
"displayText": "Only if needed",
"value": "if_needed"
},
{
"displayText": "Never",
"value": "never"
}
]
}
]
},
{
"displayText": "SponsorBlock",
"key": "sponsorblock",
"description": "SponsorBlock preferences",
"children": [
{
"displayText": "Enabled",
"key": "sponsorblock.enabled",
"description": "Enable SponsorBlock",
"type": "boolean",
"defaultValue": true
},
{
"displayText": "Show notifications",
"key": "sponsorblock.show_notifications",
"description": "Show notifications when a segment is skipped",
"type": "boolean",
"defaultValue": true
}
]
},
{
"displayText": "Search History",
"key": "search_history",
"description": "Search history preferences",
"children": [
{
"displayText": "Clear Search History",
"key": "search_history.clear_search_history",
"description": "Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious.",
"visibility": "web",
"svelteComponent": "ClearSearchHistoryControl"
},
{
"displayText": "Clear Search History",
"key": "search_history.clear_search_history",
"description": "Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious.",
"visibility": "tv",
"rokuComponent": "ClearSearchHistoryControl"
}
]
}
]
+117
View File
@@ -0,0 +1,117 @@
[
{
displayText: "Playback",
key: "playback",
description: "Playback preferences",
children: [
{
displayText: "Autoplay",
key: "playback.autoplay",
description: "When you finish a video, another plays automatically",
type: "boolean",
defaultValue: true,
},
{
displayText: "Preferred quality",
key: "playback.preferred_quality",
description: "Preferred video quality",
type: "radio",
defaultValue: "auto",
options: [
{
displayText: "Auto",
value: "auto",
},
{
displayText: "720p",
value: "720p",
},
],
},
],
},
{
displayText: "Invidious",
key: "invidious",
description: "Invidious preferences",
children: [
{
displayText: "Instance",
key: "invidious.instance",
description: 'Invidious instance to use. Example: https://vid.puffyan.us. Find more instances at <a class="link" href="https://api.invidious.io" target="_blank" rel="noopener noreferrer">https://api.invidious.io</a>',
type: "string",
visibility: "web",
},
{
displayText: "Instance",
key: "invidious.instance",
description: "Invidious instance to use. Example: https://vid.puffyan.us",
visibility: "tv",
rokuComponent: "InvidiousInstanceControl",
},
{
displayText: "Proxy videos",
key: "invidious.proxy_videos",
description: "Proxy videos through the Invidious server. This is useful if videos are geoblocked.",
type: "radio",
defaultValue: "if_needed",
options: [
{
displayText: "Always",
value: "always",
},
{
displayText: "Only if needed",
value: "if_needed",
},
{
displayText: "Never",
value: "never",
},
],
},
],
},
{
displayText: "SponsorBlock",
key: "sponsorblock",
description: "SponsorBlock preferences",
children: [
{
displayText: "Enabled",
key: "sponsorblock.enabled",
description: "Enable SponsorBlock",
type: "boolean",
defaultValue: true,
},
{
displayText: "Show notifications",
key: "sponsorblock.show_notifications",
description: "Show notifications when a segment is skipped",
type: "boolean",
defaultValue: true,
},
],
},
{
displayText: "Search History",
key: "search_history",
description: "Search history preferences",
children: [
{
displayText: "Clear Search History",
key: "search_history.clear_search_history",
description: "Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious.",
visibility: "web",
svelteComponent: "ClearSearchHistoryControl",
},
{
displayText: "Clear Search History",
key: "search_history.clear_search_history",
description: "Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious.",
visibility: "tv",
rokuComponent: "ClearSearchHistoryControl",
},
],
},
]
@@ -1,115 +0,0 @@
{
"serverAddress": "https://sponsor.ajay.app",
"categoryList": [
"sponsor",
"selfpromo",
"exclusive_access",
"interaction",
"poi_highlight",
"intro",
"outro",
"preview",
"filler",
"chapter",
"music_offtopic"
],
"categories": {
"sponsor": {
"title": "Sponsor",
"short_title": "Sponsor",
"categorySupport": [
"skip",
"mute",
"full"
],
"color": "#00d400B3"
},
"selfpromo": {
"title": "Unpaid/Self Promotion",
"short_title": "Unpaid/Self Promotion",
"categorySupport": [
"skip",
"mute",
"full"
],
"color": "#ffff00B3"
},
"exclusive_access": {
"title": "Exclusive Access",
"short_title": "Exclusive Access",
"categorySupport": [
"full"
],
"color": "#008a5cB3"
},
"interaction": {
"title": "Interaction Reminder (Subscribe)",
"short_title": "Interaction Reminder",
"categorySupport": [
"skip",
"mute"
],
"color": "#cc00ffB3"
},
"poi_highlight": {
"title": "Highlight",
"short_title": "Highlight",
"categorySupport": [
"poi"
],
"color": "#ff1684B3"
},
"intro": {
"title": "Intermission/Intro Animation",
"short_title": "Intermission",
"categorySupport": [
"skip",
"mute"
],
"color": "#00ffffB3"
},
"outro": {
"title": "Endcards/Credits",
"short_title": "Endcards/Credits",
"categorySupport": [
"skip",
"mute"
],
"color": "#0202edB3"
},
"preview": {
"title": "Preview/Recap",
"short_title": "Preview/Recap",
"categorySupport": [
"skip",
"mute"
],
"color": "#008fd6B3"
},
"filler": {
"title": "Filler Tangent/Jokes",
"short_title": "Filler",
"categorySupport": [
"skip",
"mute"
],
"color": "#7300FFE6"
},
"chapter": {
"title": "Chapter",
"short_title": "Chapter",
"categorySupport": [
"chapter"
],
"color": "#FFFFFFC8"
},
"music_offtopic": {
"title": "Music: Non-Music Section",
"short_title": "Non-Music",
"categorySupport": [
"skip"
],
"color": "#ff9900B3"
}
}
}
@@ -0,0 +1,115 @@
{
serverAddress: 'https://sponsor.ajay.app',
categoryList: [
'sponsor',
'selfpromo',
'exclusive_access',
'interaction',
'poi_highlight',
'intro',
'outro',
'preview',
'filler',
'chapter',
'music_offtopic',
],
categories: {
sponsor: {
title: 'Sponsor',
short_title: 'Sponsor',
categorySupport: [
'skip',
'mute',
'full',
],
color: '#00d400B3',
},
selfpromo: {
title: 'Unpaid/Self Promotion',
short_title: 'Unpaid/Self Promotion',
categorySupport: [
'skip',
'mute',
'full',
],
color: '#ffff00B3',
},
exclusive_access: {
title: 'Exclusive Access',
short_title: 'Exclusive Access',
categorySupport: [
'full',
],
color: '#008a5cB3',
},
interaction: {
title: 'Interaction Reminder (Subscribe)',
short_title: 'Interaction Reminder',
categorySupport: [
'skip',
'mute',
],
color: '#cc00ffB3',
},
poi_highlight: {
title: 'Highlight',
short_title: 'Highlight',
categorySupport: [
'poi',
],
color: '#ff1684B3',
},
intro: {
title: 'Intermission/Intro Animation',
short_title: 'Intermission',
categorySupport: [
'skip',
'mute',
],
color: '#00ffffB3',
},
outro: {
title: 'Endcards/Credits',
short_title: 'Endcards/Credits',
categorySupport: [
'skip',
'mute',
],
color: '#0202edB3',
},
preview: {
title: 'Preview/Recap',
short_title: 'Preview/Recap',
categorySupport: [
'skip',
'mute',
],
color: '#008fd6B3',
},
filler: {
title: 'Filler Tangent/Jokes',
short_title: 'Filler',
categorySupport: [
'skip',
'mute',
],
color: '#7300FFE6',
},
chapter: {
title: 'Chapter',
short_title: 'Chapter',
categorySupport: [
'chapter',
],
color: '#FFFFFFC8',
},
music_offtopic: {
title: 'Music: Non-Music Section',
short_title: 'Non-Music',
categorySupport: [
'skip',
],
color: '#ff9900B3',
},
},
}