Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a319eab75 | ||
|
|
aca9cb890d | ||
|
|
c77eb30985 | ||
|
|
6fc842ca37 | ||
|
|
a1ce7aa9fc | ||
|
|
9e3363f22c | ||
|
|
d42d783738 | ||
|
|
5f1a4c8eb6 | ||
|
|
c3494a7f5d | ||
|
|
103b7f2a71 | ||
|
|
c7377e0e06 | ||
|
|
58f521f923 | ||
|
|
4293a958d0 | ||
|
|
4a89fd0aa9 | ||
|
|
f1a3df81b2 | ||
|
|
d876f819fc | ||
|
|
757dc6069e | ||
|
|
e7f4b3fee1 | ||
|
|
319457bada | ||
|
|
c91f5e49c0 | ||
|
|
45e320abe4 | ||
|
|
4d1673ecfb | ||
|
|
3eb3c0854a | ||
|
|
24cf06bf44 | ||
|
|
9318db7762 | ||
|
|
42ca2d1b30 | ||
|
|
446bba67c9 |
No files matched your search
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.44.2] - 2025-11-13
|
||||
|
||||
### Fixed
|
||||
|
||||
- Removed retry on trending feeds
|
||||
|
||||
## [0.44.1] - 2025-11-12
|
||||
|
||||
### Fixed
|
||||
|
||||
- Small change in post-live dvr detection
|
||||
- Issue where recommended videos are all "UPCOMING" paid content
|
||||
- Errors related to loading the trending feeds. Trending will be removed from Playlet in a future release.
|
||||
|
||||
## [0.44.0] - 2025-11-09
|
||||
|
||||
### Added
|
||||
|
||||
- Implemented compactRadioRenderer node
|
||||
- Prioritise manually created subtitles over auto-generated ones
|
||||
|
||||
## [0.43.9] - 2025-11-07
|
||||
|
||||
### Fixed
|
||||
|
||||
- Another mistake in OTF streams
|
||||
|
||||
## [0.43.8] - 2025-11-07
|
||||
|
||||
### Fixed
|
||||
|
||||
Generated
+48
-48
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"name": "playlet",
|
||||
"version": "0.43.8",
|
||||
"version": "0.44.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet",
|
||||
"version": "0.43.8",
|
||||
"version": "0.44.2",
|
||||
"hasInstallScript": true,
|
||||
"devDependencies": {
|
||||
"@rokucommunity/bslint": "^0.8.38",
|
||||
"@types/crypto-js": "^4.2.2",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/node": "^24.9.2",
|
||||
"@types/node": "^24.10.0",
|
||||
"@types/xml2js": "^0.4.14",
|
||||
"argparse": "^2.0.1",
|
||||
"brighterscript": "0.70.3",
|
||||
@@ -25,9 +25,9 @@
|
||||
"imap": "^0.8.19",
|
||||
"ip": "^2.0.1",
|
||||
"json5": "^2.2.3",
|
||||
"mailparser": "^3.7.5",
|
||||
"mailparser": "^3.9.0",
|
||||
"protocol-buffers-schema": "^3.6.0",
|
||||
"puppeteer": "^24.27.0",
|
||||
"puppeteer": "^24.29.1",
|
||||
"roku-deploy": "^3.14.4",
|
||||
"roku-test-automation": "^2.2.1",
|
||||
"rooibos-roku": "5.15.5",
|
||||
@@ -44,7 +44,7 @@
|
||||
"node": "22"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@rollup/rollup-linux-x64-gnu": "^4.52.5"
|
||||
"@rollup/rollup-linux-x64-gnu": "^4.53.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/code-frame": {
|
||||
@@ -574,9 +574,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
||||
"version": "4.52.5",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.5.tgz",
|
||||
"integrity": "sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==",
|
||||
"version": "4.53.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.1.tgz",
|
||||
"integrity": "sha512-E/n8x2MSjAQgjj9IixO4UeEUeqXLtiA7pyoXCFYLuXpBA/t2hnbIdxHfA7kK9BFsYAoNU4st1rHYdldl8dTqGA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -737,9 +737,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "24.9.2",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.9.2.tgz",
|
||||
"integrity": "sha512-uWN8YqxXxqFMX2RqGOrumsKeti4LlmIMIyV0lgut4jx7KQBcBiW6vkDtIBvHnHIquwNfJhk8v2OtmO8zXWHfPA==",
|
||||
"version": "24.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.0.tgz",
|
||||
"integrity": "sha512-qzQZRBqkFsYyaSWXuEHc2WR9c0a0CXwiE5FWUvn7ZM+vdy1uZLfCunD38UzhuB7YN/J11ndbDBcTmOdxJo9Q7A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -856,6 +856,18 @@
|
||||
"regexp-to-ast": "0.5.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@zone-eu/mailsplit": {
|
||||
"version": "5.4.7",
|
||||
"resolved": "https://registry.npmjs.org/@zone-eu/mailsplit/-/mailsplit-5.4.7.tgz",
|
||||
"integrity": "sha512-jApX86aDgolMz08pP20/J2zcns02NSK3zSiYouf01QQg4250L+GUAWSWicmS7eRvs+Z7wP7QfXrnkaTBGrIpwQ==",
|
||||
"dev": true,
|
||||
"license": "(MIT OR EUPL-1.1+)",
|
||||
"dependencies": {
|
||||
"libbase64": "1.3.0",
|
||||
"libmime": "5.3.7",
|
||||
"libqp": "2.1.1"
|
||||
}
|
||||
},
|
||||
"node_modules/accepts": {
|
||||
"version": "1.3.8",
|
||||
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
|
||||
@@ -4322,22 +4334,22 @@
|
||||
}
|
||||
},
|
||||
"node_modules/mailparser": {
|
||||
"version": "3.7.5",
|
||||
"resolved": "https://registry.npmjs.org/mailparser/-/mailparser-3.7.5.tgz",
|
||||
"integrity": "sha512-o59RgZC+4SyCOn4xRH1mtRiZ1PbEmi6si6Ufnd3tbX/V9zmZN1qcqu8xbXY62H6CwIclOT3ppm5u/wV2nujn4g==",
|
||||
"version": "3.9.0",
|
||||
"resolved": "https://registry.npmjs.org/mailparser/-/mailparser-3.9.0.tgz",
|
||||
"integrity": "sha512-jpaNLhDjwy0w2f8sySOSRiWREjPqssSc0C2czV98btCXCRX3EyNloQ2IWirmMDj1Ies8Fkm0l96bZBZpDG7qkg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@zone-eu/mailsplit": "5.4.7",
|
||||
"encoding-japanese": "2.2.0",
|
||||
"he": "1.2.0",
|
||||
"html-to-text": "9.0.5",
|
||||
"iconv-lite": "0.7.0",
|
||||
"libmime": "5.3.7",
|
||||
"linkify-it": "5.0.0",
|
||||
"mailsplit": "5.4.6",
|
||||
"nodemailer": "7.0.9",
|
||||
"nodemailer": "7.0.10",
|
||||
"punycode.js": "2.3.1",
|
||||
"tlds": "1.260.0"
|
||||
"tlds": "1.261.0"
|
||||
}
|
||||
},
|
||||
"node_modules/mailparser/node_modules/iconv-lite": {
|
||||
@@ -4357,18 +4369,6 @@
|
||||
"url": "https://opencollective.com/express"
|
||||
}
|
||||
},
|
||||
"node_modules/mailsplit": {
|
||||
"version": "5.4.6",
|
||||
"resolved": "https://registry.npmjs.org/mailsplit/-/mailsplit-5.4.6.tgz",
|
||||
"integrity": "sha512-M+cqmzaPG/mEiCDmqQUz8L177JZLZmXAUpq38owtpq2xlXlTSw+kntnxRt2xsxVFFV6+T8Mj/U0l5s7s6e0rNw==",
|
||||
"dev": true,
|
||||
"license": "(MIT OR EUPL-1.1+)",
|
||||
"dependencies": {
|
||||
"libbase64": "1.3.0",
|
||||
"libmime": "5.3.7",
|
||||
"libqp": "2.1.1"
|
||||
}
|
||||
},
|
||||
"node_modules/make-error": {
|
||||
"version": "1.3.6",
|
||||
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
|
||||
@@ -4669,9 +4669,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/nodemailer": {
|
||||
"version": "7.0.9",
|
||||
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-7.0.9.tgz",
|
||||
"integrity": "sha512-9/Qm0qXIByEP8lEV2qOqcAW7bRpL8CR9jcTwk3NBnHJNmP9fIJ86g2fgmIXqHY+nj55ZEMwWqYAT2QTDpRUYiQ==",
|
||||
"version": "7.0.10",
|
||||
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-7.0.10.tgz",
|
||||
"integrity": "sha512-Us/Se1WtT0ylXgNFfyFSx4LElllVLJXQjWi2Xz17xWw7amDKO2MLtFnVp1WACy7GkVGs+oBlRopVNUzlrGSw1w==",
|
||||
"dev": true,
|
||||
"license": "MIT-0",
|
||||
"engines": {
|
||||
@@ -5318,18 +5318,18 @@
|
||||
}
|
||||
},
|
||||
"node_modules/puppeteer": {
|
||||
"version": "24.27.0",
|
||||
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.27.0.tgz",
|
||||
"integrity": "sha512-eEcAFGxmHRSrk74DVkFAMAwfj4l3Ak8avBuA2bZaAoocY1+Fb9WLS3I7jlOc/tIOU7EmGLiDdVP08R44wADpHw==",
|
||||
"version": "24.29.1",
|
||||
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.29.1.tgz",
|
||||
"integrity": "sha512-pX05JV1mMP+1N0vP3I4DOVwjMdpihv2LxQTtSfw6CUm5F0ZFLUFE/LSZ4yUWHYaM3C11Hdu+sgn7uY7teq5MYw==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@puppeteer/browsers": "2.10.12",
|
||||
"@puppeteer/browsers": "2.10.13",
|
||||
"chromium-bidi": "10.5.1",
|
||||
"cosmiconfig": "^9.0.0",
|
||||
"devtools-protocol": "0.0.1521046",
|
||||
"puppeteer-core": "24.27.0",
|
||||
"puppeteer-core": "24.29.1",
|
||||
"typed-query-selector": "^2.12.0"
|
||||
},
|
||||
"bin": {
|
||||
@@ -5363,9 +5363,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/puppeteer/node_modules/@puppeteer/browsers": {
|
||||
"version": "2.10.12",
|
||||
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.12.tgz",
|
||||
"integrity": "sha512-mP9iLFZwH+FapKJLeA7/fLqOlSUwYpMwjR1P5J23qd4e7qGJwecJccJqHYrjw33jmIZYV4dtiTHPD/J+1e7cEw==",
|
||||
"version": "2.10.13",
|
||||
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.13.tgz",
|
||||
"integrity": "sha512-a9Ruw3j3qlnB5a/zHRTkruppynxqaeE4H9WNj5eYGRWqw0ZauZ23f4W2ARf3hghF5doozyD+CRtt7XSYuYRI/Q==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
@@ -5474,13 +5474,13 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/puppeteer/node_modules/puppeteer-core": {
|
||||
"version": "24.27.0",
|
||||
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.27.0.tgz",
|
||||
"integrity": "sha512-yubwj2XXmTM3wRIpbhO5nCjbByPgpFHlgrsD4IK+gMPqO7/a5FfnoSXDKjmqi8A2M1Ewusz0rTI/r+IN0GU0MA==",
|
||||
"version": "24.29.1",
|
||||
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.29.1.tgz",
|
||||
"integrity": "sha512-ErJ9qKCK+bdLvBa7QVSQTBSPm8KZbl1yC/WvhrZ0ut27hDf2QBzjDsn1IukzE1i1KtZ7NYGETOV4W1beoo9izA==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@puppeteer/browsers": "2.10.12",
|
||||
"@puppeteer/browsers": "2.10.13",
|
||||
"chromium-bidi": "10.5.1",
|
||||
"debug": "^4.4.3",
|
||||
"devtools-protocol": "0.0.1521046",
|
||||
@@ -7344,9 +7344,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/tlds": {
|
||||
"version": "1.260.0",
|
||||
"resolved": "https://registry.npmjs.org/tlds/-/tlds-1.260.0.tgz",
|
||||
"integrity": "sha512-78+28EWBhCEE7qlyaHA9OR3IPvbCLiDh3Ckla593TksfFc9vfTsgvH7eS+dr3o9qr31gwGbogcI16yN91PoRjQ==",
|
||||
"version": "1.261.0",
|
||||
"resolved": "https://registry.npmjs.org/tlds/-/tlds-1.261.0.tgz",
|
||||
"integrity": "sha512-QXqwfEl9ddlGBaRFXIvNKK6OhipSiLXuRuLJX5DErz0o0Q0rYxulWLdFryTkV5PkdZct5iMInwYEGe/eR++1AA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
|
||||
+5
-5
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet",
|
||||
"version": "0.43.8",
|
||||
"version": "0.44.2",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"devDependencies": {
|
||||
"@rokucommunity/bslint": "^0.8.38",
|
||||
"@types/crypto-js": "^4.2.2",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/node": "^24.9.2",
|
||||
"@types/node": "^24.10.0",
|
||||
"@types/xml2js": "^0.4.14",
|
||||
"argparse": "^2.0.1",
|
||||
"brighterscript": "0.70.3",
|
||||
@@ -19,9 +19,9 @@
|
||||
"imap": "^0.8.19",
|
||||
"ip": "^2.0.1",
|
||||
"json5": "^2.2.3",
|
||||
"mailparser": "^3.7.5",
|
||||
"mailparser": "^3.9.0",
|
||||
"protocol-buffers-schema": "^3.6.0",
|
||||
"puppeteer": "^24.27.0",
|
||||
"puppeteer": "^24.29.1",
|
||||
"roku-deploy": "^3.14.4",
|
||||
"roku-test-automation": "^2.2.1",
|
||||
"rooibos-roku": "5.15.5",
|
||||
@@ -75,6 +75,6 @@
|
||||
"shutdown": "node tools/shutdown.js"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@rollup/rollup-linux-x64-gnu": "^4.52.5"
|
||||
"@rollup/rollup-linux-x64-gnu": "^4.53.1"
|
||||
}
|
||||
}
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet-app",
|
||||
"version": "0.43.8",
|
||||
"version": "0.44.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-app",
|
||||
"version": "0.43.8"
|
||||
"version": "0.44.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-app",
|
||||
"version": "0.43.8",
|
||||
"version": "0.44.2",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"scripts": {
|
||||
"prebuild": "node ../tools/rm.js ../build/playlet-app",
|
||||
|
||||
@@ -2,8 +2,8 @@ title=Playlet
|
||||
|
||||
# Do not update version manually, it is auto updated from package.json
|
||||
major_version=0
|
||||
minor_version=43
|
||||
build_version=00008
|
||||
minor_version=44
|
||||
build_version=00002
|
||||
|
||||
ui_resolutions=hd
|
||||
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet-lib",
|
||||
"version": "0.43.8",
|
||||
"version": "0.44.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-lib",
|
||||
"version": "0.43.8"
|
||||
"version": "0.44.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-lib",
|
||||
"version": "0.43.8",
|
||||
"version": "0.44.2",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"scripts": {
|
||||
"prebuild": "node ../tools/rm.js ../build/playlet-lib",
|
||||
|
||||
@@ -82,6 +82,7 @@ class DashManifest
|
||||
xml = new XmlObject()
|
||||
|
||||
xml.Comment(`Generated by Playlet - Video ID: ${metadata.videoId}`)
|
||||
xml.Comment(`Parser: ${ValidString(metadata.parser)}`)
|
||||
|
||||
if xml.Node("MPD", {
|
||||
"xmlns": "urn:mpeg:dash:schema:mpd:2011"
|
||||
|
||||
@@ -272,6 +272,7 @@ namespace InnertubeService
|
||||
trendingType = LCase(OptionUtils.GetOrDefault(options, "type", ""))
|
||||
disableShorts = OptionUtils.GetOrDefault(options, "disableShorts", false)
|
||||
raw = OptionUtils.GetOrDefault(options, "raw", false)
|
||||
browseId = "FEtrending"
|
||||
|
||||
params = ""
|
||||
if trendingType = "music"
|
||||
@@ -285,7 +286,7 @@ namespace InnertubeService
|
||||
params = "4gIKGgh0cmFpbGVycw%3D%3D"
|
||||
end if
|
||||
|
||||
request = Innertube.CreateBrowseRequest("FEtrending", Innertube.ClientType.WEB, { params: params })
|
||||
request = Innertube.CreateBrowseRequest(browseId, Innertube.ClientType.WEB, { params: params })
|
||||
request.Cancellation(cancellation)
|
||||
|
||||
if raw
|
||||
@@ -308,6 +309,7 @@ namespace InnertubeService
|
||||
response: response
|
||||
disableCreatorOnTheRise: true
|
||||
disableShorts: disableShorts
|
||||
browseId: browseId
|
||||
})
|
||||
|
||||
result = {
|
||||
@@ -338,12 +340,12 @@ namespace InnertubeService
|
||||
return GetBrowseAuthenticatedPage("FEplaylist_aggregation", options)
|
||||
end function
|
||||
|
||||
function GetBrowseAuthenticatedPage(browserId as string, options = invalid as object) as object
|
||||
function GetBrowseAuthenticatedPage(browseId as string, options = invalid as object) as object
|
||||
cancellation = OptionUtils.Get(options, "cancellation")
|
||||
accessToken = OptionUtils.Get(options, "accessToken")
|
||||
disableShorts = OptionUtils.GetOrDefault(options, "disableShorts", false)
|
||||
|
||||
request = Innertube.CreateBrowseRequest(browserId, Innertube.ClientType.Tv, options)
|
||||
request = Innertube.CreateBrowseRequest(browseId, Innertube.ClientType.Tv, options)
|
||||
|
||||
if accessToken <> invalid
|
||||
request.Header("Authorization", "Bearer " + accessToken)
|
||||
@@ -360,6 +362,7 @@ namespace InnertubeService
|
||||
feeds = Innertube.ParseResponseDataForFeeds(response.Json(), {
|
||||
response: response
|
||||
disableShorts: disableShorts
|
||||
browseId: browseId
|
||||
})
|
||||
|
||||
result = {
|
||||
@@ -521,7 +524,7 @@ namespace InnertubeService
|
||||
return response.Json()
|
||||
end if
|
||||
|
||||
result = Innertube.ParseChannelPageResponseData(response.Json(), response)
|
||||
result = Innertube.ParseChannelPageResponseData(channelId, response.Json(), response)
|
||||
if result.authorId = invalid and result.error = invalid
|
||||
result["authorId"] = channelId
|
||||
end if
|
||||
@@ -663,7 +666,7 @@ namespace InnertubeService
|
||||
return response.Json()
|
||||
end if
|
||||
|
||||
result = Innertube.ParsePlaylistPageResponseData(response.Json(), response)
|
||||
result = Innertube.ParsePlaylistPageResponseData(playlistId, response.Json(), response)
|
||||
|
||||
if result.playlistId = invalid and result.error = invalid
|
||||
result["playlistId"] = playlistId
|
||||
|
||||
@@ -103,9 +103,8 @@ namespace Innertube
|
||||
' Ignored nodes:
|
||||
' TODO:P2 handle navigateAction - which are usually a redirect
|
||||
' "navigateAction": ParseNotImplemented
|
||||
' TODO:P2 radioRenderer seems like a Mix https://github.com/iBicha/playlet/issues/709
|
||||
"radioRenderer": ParseRadioRenderer
|
||||
' "compactRadioRenderer": ParseNotImplemented
|
||||
"compactRadioRenderer": ParseCompactRadioRenderer
|
||||
' TODO:P2 A carousel of videos, found on the home tab of a channel.
|
||||
' Should probably be parsed.
|
||||
' "carouselItemRenderer": ParseNotImplemented
|
||||
@@ -277,6 +276,17 @@ namespace Innertube
|
||||
end if
|
||||
end if
|
||||
|
||||
if ValidString(context.browseId) = "FEwhat_to_watch"
|
||||
' shelfs with a heroCarouselHeaderRenderer are usually big carousels at the top of the home page
|
||||
' to advertise some paid content.
|
||||
' They hijack the shelf we want to parse (e.g. Recommended videos).
|
||||
heroCarouselHeader = ObjectUtils.Dig(nodeData, ["headerRenderer", "heroCarouselHeaderRenderer"])
|
||||
if heroCarouselHeader <> invalid
|
||||
LogInfo("Skipping shelf with heroCarouselHeaderRenderer")
|
||||
return invalid
|
||||
end if
|
||||
end if
|
||||
|
||||
' TODO: handle shelfRenderer.title
|
||||
' TODO: handle shelfRenderer.headerRenderer.shelfHeaderRenderer.avatarLockup.avatarLockupRenderer.title
|
||||
return nodeData["content"]
|
||||
@@ -1025,6 +1035,36 @@ namespace Innertube
|
||||
return invalid
|
||||
end function
|
||||
|
||||
function ParseCompactRadioRenderer(nodeData as object, context as object) as object
|
||||
playlistId = nodeData["playlistId"]
|
||||
if not IsString(playlistId)
|
||||
Warning("Invalid playlist ID in compactRadioRenderer", nodeData, context)
|
||||
return invalid
|
||||
end if
|
||||
|
||||
videoCountText = ParseText(nodeData["videoCountText"])
|
||||
if videoCountText = ""
|
||||
videoCountText = ParseText(nodeData["videoCountShortText"])
|
||||
end if
|
||||
|
||||
playlist = {
|
||||
"type": "playlist"
|
||||
"playlistId": playlistId
|
||||
"title": ParseText(nodeData["title"])
|
||||
"playlistThumbnail": ObjectUtils.Dig(nodeData, ["thumbnail", "thumbnails", 0, "url"])
|
||||
"videoCountText": videoCountText
|
||||
}
|
||||
|
||||
' Mixes have a videoId, which is the first video in the mix
|
||||
videoId = ObjectUtils.Dig(nodeData, ["navigationEndpoint", "watchEndpoint", "videoId"])
|
||||
if IsString(videoId)
|
||||
playlist["videoId"] = videoId
|
||||
end if
|
||||
|
||||
PushFeedItem(playlist, context)
|
||||
return invalid
|
||||
end function
|
||||
|
||||
function ParseGridShelfViewModel(nodeData as object, _context as object) as object
|
||||
return nodeData["contents"]
|
||||
end function
|
||||
@@ -1400,6 +1440,10 @@ namespace Innertube
|
||||
return TileRendererTypeChannel(nodeData, context)
|
||||
else if contentType = "TILE_CONTENT_TYPE_EDU"
|
||||
' Not implemented yet - https://github.com/iBicha/playlet/issues/751
|
||||
' Basically a tile that redirects to a search with predifined querty.
|
||||
' To support, Playlet will probably need to implement an independent
|
||||
' search view that can be opened from anywhere.
|
||||
return invalid
|
||||
end if
|
||||
|
||||
Warning(`Unknown content type: ${contentType}`, nodeData, context)
|
||||
@@ -1893,6 +1937,8 @@ namespace Innertube
|
||||
function ParseCompactMovieRenderer(nodeData as object, context as object) as object
|
||||
videoId = nodeData["videoId"]
|
||||
if not IsString(videoId)
|
||||
' TODO:P2 Can be a show, example
|
||||
' {"badges":[{"metadataBadgeRenderer":{"accessibilityData":{"label":"Free with ads"},"label":"Free with ads","style":"BADGE_STYLE_TYPE_YPC","trackingParams":"CKQBEJaLARgJIhMI15bJgdLnkAMVoHtMCB0nGTYG"}},{"metadataBadgeRenderer":{"accessibilityData":{"label":"tv-g"},"label":"TV-G","style":"BADGE_STYLE_TYPE_MEDIA","trackingParams":"CKQBEJaLARgJIhMI15bJgdLnkAMVoHtMCB0nGTYG"}}],"navigationEndpoint":{"browseEndpoint":{"browseId":"SCLKZr4NmdhyFZXLCYhehRmg","params":"kgYcGhoSGFVDTEtacjRObWRoeUZaWExDWWhlaFJtZw%3D%3D"},"clickTrackingParams":"CKQBEJaLARgJIhMI15bJgdLnkAMVoHtMCB0nGTYGygEEl7wVRg==","commandMetadata":{"webCommandMetadata":{"apiUrl":"/youtubei/v1/browse","rootVe":6827,"url":"/show/SCLKZr4NmdhyFZXLCYhehRmg?sbp=GhoSGFVDTEtacjRObWRoeUZaWExDWWhlaFJtZw%253D%253D","webPageType":"WEB_PAGE_TYPE_BROWSE"}}},"thumbnail":{"thumbnails":[{"height":596,"url":"https://yt3.ggpht.com/KPRERPv8FmjHUtaEip00aL1RuIkU-0_YR4XrbzG_66s6kkm1sx9MtSJgzeYexpRVtXoN1P1OjQ=w1060-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj","width":1060}]},"thumbnailOverlays":[{"thumbnailOverlayBottomPanelRenderer":{"text":{"runs":[{"text":"4"},{"text":" seasons"}]}}}],"title":{"accessibility":{"accessibilityData":{"label":"Everything's Rosie 4 seasons"}},"simpleText":"Everything's Rosie"},"topMetadataItems":[{"simpleText":"Animation \u2022 2011"}],"trackingParams":"CKQBEJaLARgJIhMI15bJgdLnkAMVoHtMCB0nGTYG"}
|
||||
Warning("Invalid videoId in compactMovieRenderer", nodeData, context)
|
||||
return invalid
|
||||
end if
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace Innertube
|
||||
for i = 0 to adaptiveFormats.Count() - 1
|
||||
formatsToProcess.Push({
|
||||
format: adaptiveFormats[i]
|
||||
file: `tmp:/otf_segments/${i}.bin`
|
||||
filePath: `tmp:/otf_segments/${i}.bin`
|
||||
})
|
||||
end for
|
||||
|
||||
@@ -38,6 +38,8 @@ namespace Innertube
|
||||
requestHeaders["referer"] = "https://www.youtube.com"
|
||||
requestHeaders["DNT"] = "?1"
|
||||
|
||||
segmentDurationsRegex = CreateObject("roRegex", "(\d+)(?:\(r=(\d+)\))?", "g")
|
||||
|
||||
fs = CreateObject("roFileSystem")
|
||||
fs.Delete("tmp:/otf_segments")
|
||||
fs.CreateDirectory("tmp:/otf_segments")
|
||||
@@ -45,7 +47,7 @@ namespace Innertube
|
||||
while true
|
||||
while formatsToProcess.Count() > 0 and pendingFormats.Count() < OTF_MAX_REQUEST_COUNT
|
||||
formatToProcess = formatsToProcess.Pop()
|
||||
request = OTFMakeSegmentInfoRequest(formatToProcess.format, formatToProcess.file, requestHeaders, errors, cancellation)
|
||||
request = OTFMakeSegmentInfoRequest(formatToProcess.format, formatToProcess.filePath, requestHeaders, errors, cancellation)
|
||||
if request <> invalid
|
||||
formatToProcess.request = request
|
||||
pendingFormats.Push(formatToProcess)
|
||||
@@ -58,7 +60,7 @@ namespace Innertube
|
||||
|
||||
pendingFormat = pendingFormats.Shift()
|
||||
' returns false if processing should stop (e.g., cancelled)
|
||||
if not OTFProcessPendingFormat(pendingFormat.format, pendingFormat.request, pendingFormat.file, errors)
|
||||
if not OTFProcessPendingFormat(pendingFormat.format, pendingFormat.request, pendingFormat.filePath, segmentDurationsRegex, errors)
|
||||
exit while
|
||||
end if
|
||||
end while
|
||||
@@ -75,7 +77,7 @@ namespace Innertube
|
||||
end if
|
||||
end function
|
||||
|
||||
function OTFMakeSegmentInfoRequest(format as object, file as string, requestHeaders as object, errors as object, cancellation as object) as object
|
||||
function OTFMakeSegmentInfoRequest(format as object, filePath as string, requestHeaders as object, errors as object, cancellation as object) as object
|
||||
url = format.url
|
||||
if StringUtils.IsNullOrEmpty(url)
|
||||
errors.message += `URL is empty for itag ${format.itag}.\n`
|
||||
@@ -89,14 +91,14 @@ namespace Innertube
|
||||
|
||||
request = HttpClient.Get(otfUrl)
|
||||
request.Headers(requestHeaders)
|
||||
request.ToFile(file)
|
||||
request.ToFile(filePath)
|
||||
request.Cancellation(cancellation)
|
||||
request.Send()
|
||||
|
||||
return request
|
||||
end function
|
||||
|
||||
function OTFProcessPendingFormat(format as object, request as object, file as string, errors as object) as boolean
|
||||
function OTFProcessPendingFormat(format as object, request as object, filePath as string, segmentDurationsRegex as object, errors as object) as boolean
|
||||
response = request.Await()
|
||||
|
||||
if response.IsCancelled()
|
||||
@@ -108,18 +110,18 @@ namespace Innertube
|
||||
return true
|
||||
end if
|
||||
|
||||
segmentDurations = OTFParseFileForSegmentInfo(file, errors)
|
||||
segmentDurations = OTFParseFileForSegmentDurations(filePath, segmentDurationsRegex, errors)
|
||||
if segmentDurations = invalid
|
||||
errors.message += `Failed to parse segment info for itag ${format.itag}.\n`
|
||||
errors.message += `Failed to parse segment durations for itag ${format.itag}.\n`
|
||||
errors.message += `Headers: ${ToString(response.Headers())}\n`
|
||||
return true
|
||||
end if
|
||||
|
||||
format.otfSegmentInfo = segmentDurations
|
||||
format["otfSegmentDurations"] = segmentDurations
|
||||
return true
|
||||
end function
|
||||
|
||||
function OTFParseFileForSegmentInfo(filePath as string, errors as object) as dynamic
|
||||
function OTFParseFileForSegmentDurations(filePath as string, segmentDurationsRegex as object, errors as object) as dynamic
|
||||
buffer = CreateObject("roByteArray")
|
||||
|
||||
buffer.FromAsciiString("Segment-Durations-Ms:")
|
||||
@@ -129,14 +131,14 @@ namespace Innertube
|
||||
endMarkerHex = buffer.ToHexString()
|
||||
|
||||
if not buffer.ReadFile(filePath)
|
||||
errors.message += `Failed to read file at path ${filePath}.\n`
|
||||
errors.message += `Failed to read filePath ${filePath}.\n`
|
||||
return invalid
|
||||
end if
|
||||
contentHex = buffer.ToHexString()
|
||||
|
||||
startIndex = contentHex.InStr(startMarkerHex)
|
||||
if startIndex = -1
|
||||
errors.message += `Start marker not found in file at path ${filePath}.\n`
|
||||
errors.message += `Start marker not found in filePath ${filePath}.\n`
|
||||
errors.attachments.Push({
|
||||
filename: filePath
|
||||
content_type: "plain/text"
|
||||
@@ -147,7 +149,7 @@ namespace Innertube
|
||||
|
||||
endIndex = contentHex.InStr(startIndex, endMarkerHex)
|
||||
if endIndex = -1
|
||||
errors.message += `End marker not found in file at path ${filePath}.\n`
|
||||
errors.message += `End marker not found in filePath ${filePath}.\n`
|
||||
errors.attachments.Push({
|
||||
filename: filePath
|
||||
content_type: "plain/text"
|
||||
@@ -160,10 +162,9 @@ namespace Innertube
|
||||
buffer.FromHexString(segmentDurationsMsHex)
|
||||
segmentDurationsMs = buffer.ToAsciiString()
|
||||
|
||||
regex = CreateObject("roRegex", "(\d+)(?:\(r=(\d+)\))?", "g")
|
||||
matches = regex.MatchAll(segmentDurationsMs)
|
||||
matches = segmentDurationsRegex.MatchAll(segmentDurationsMs)
|
||||
if not IsArray(matches) or matches.Count() = 0
|
||||
errors.message += `No segment duration matches found in file at path ${filePath}.\n`
|
||||
errors.message += `No segment duration matches found in filePath ${filePath}.\n`
|
||||
errors.attachments.Push({
|
||||
filename: filePath
|
||||
content_type: "plain/text"
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace Innertube
|
||||
return context.feeds
|
||||
end function
|
||||
|
||||
function ParseChannelPageResponseData(responseData as object, response as object) as object
|
||||
function ParseChannelPageResponseData(browseId as string, responseData as object, response as object) as object
|
||||
if responseData = invalid
|
||||
return {
|
||||
error: "Invalid response data"
|
||||
@@ -63,6 +63,9 @@ namespace Innertube
|
||||
author = ObjectUtils.Dig(responseData, ["header", "pageHeaderRenderer", "pageTitle"])
|
||||
end if
|
||||
authorId = ObjectUtils.Dig(responseData, ["metadata", "channelMetadataRenderer", "externalId"])
|
||||
if StringUtils.IsNullOrEmpty(authorId)
|
||||
authorId = browseId
|
||||
end if
|
||||
|
||||
thumbnails = ObjectUtils.Dig(responseData, ["metadata", "channelMetadataRenderer", "avatar", "thumbnails"])
|
||||
if thumbnails = invalid
|
||||
@@ -149,6 +152,7 @@ namespace Innertube
|
||||
response: response
|
||||
"currentAuthor": author
|
||||
"currentAuthorId": authorId
|
||||
browseId: browseId
|
||||
})
|
||||
if feeds.Count() > 0
|
||||
items = ValidArray(feeds[0].items)
|
||||
@@ -183,7 +187,7 @@ namespace Innertube
|
||||
return channel
|
||||
end function
|
||||
|
||||
function ParsePlaylistPageResponseData(responseData as object, response as object) as object
|
||||
function ParsePlaylistPageResponseData(browseId as string, responseData as object, response as object) as object
|
||||
if responseData = invalid
|
||||
return {
|
||||
error: "Invalid response data"
|
||||
@@ -251,13 +255,16 @@ namespace Innertube
|
||||
end if
|
||||
end if
|
||||
|
||||
if StringUtils.IsNullOrEmpty(playlistId)
|
||||
playlistId = browseId
|
||||
end if
|
||||
|
||||
playlist = {
|
||||
"playlistId": playlistId
|
||||
"videoCount": videoCount
|
||||
"videos": []
|
||||
}
|
||||
if playlistId <> invalid
|
||||
playlist["playlistId"] = playlistId
|
||||
end if
|
||||
|
||||
if title <> invalid
|
||||
playlist["title"] = title
|
||||
end if
|
||||
@@ -279,6 +286,7 @@ namespace Innertube
|
||||
|
||||
feeds = ParseResponseDataForFeeds(responseData, {
|
||||
response: response
|
||||
browseId: browseId
|
||||
})
|
||||
if feeds.Count() > 0
|
||||
playlist["videos"] = ValidArray(feeds[0].items)
|
||||
|
||||
@@ -122,6 +122,7 @@ namespace Innertube
|
||||
formats = TransformFormats(formats)
|
||||
|
||||
parsedResponse["type"] = "video"
|
||||
parsedResponse["parser"] = "playlet"
|
||||
parsedResponse["videoId"] = videoDetails["videoId"]
|
||||
parsedResponse["videoThumbnails"] = videoDetails["thumbnail"]["thumbnails"]
|
||||
parsedResponse["storyboards"] = ParseStoryboards(payload, lengthSeconds)
|
||||
@@ -316,6 +317,7 @@ namespace Innertube
|
||||
end if
|
||||
|
||||
captions = []
|
||||
autoCaptions = []
|
||||
for each track in tracks
|
||||
if not IsAssociativeArray(track)
|
||||
continue for
|
||||
@@ -341,13 +343,22 @@ namespace Innertube
|
||||
|
||||
label = ParseText(track["name"])
|
||||
|
||||
captions.Push({
|
||||
thisCaption = {
|
||||
"label": label
|
||||
"language_code": languageCode
|
||||
"url": baseUrl
|
||||
})
|
||||
}
|
||||
|
||||
if track["kind"] = "asr"
|
||||
autoCaptions.Push(thisCaption)
|
||||
continue for
|
||||
end if
|
||||
|
||||
captions.Push(thisCaption)
|
||||
end for
|
||||
|
||||
' Put automatically generated captions at the end so human-generated ones take priority
|
||||
captions.Append(autoCaptions)
|
||||
return captions
|
||||
end function
|
||||
|
||||
@@ -639,6 +650,10 @@ namespace Innertube
|
||||
return true
|
||||
end if
|
||||
|
||||
if ValidBool(ObjectUtils.Dig(payload, ["videoDetails", "isPostLiveDvr"]))
|
||||
return false
|
||||
end if
|
||||
|
||||
adaptiveFormats = ValidArray(ObjectUtils.Dig(payload, ["streamingData", "adaptiveFormats"]))
|
||||
if FormatsHaveLiveStreamingData(adaptiveFormats)
|
||||
return true
|
||||
@@ -718,7 +733,13 @@ namespace Innertube
|
||||
headers = response.Headers()
|
||||
|
||||
if not headers.DoesExist("X-Head-Time-Millis") or not headers.DoesExist("X-Head-Seqnum")
|
||||
LogError("GetPostLiveDvrInfo: Missing Post-Live DVR info in headers", headers)
|
||||
msg = "GetPostLiveDvrInfo: Missing Post-Live DVR info in headers"
|
||||
LogErrorNoTelemetry(msg, url, headers)
|
||||
LogTelemetryEvent({
|
||||
level: "error"
|
||||
message: msg + `\nVideoID: ${parsedResponse["videoId"]}\nUrl: ${url}\nHeaders: ${FormatJson(headers)}`
|
||||
fingerprint: [msg]
|
||||
})
|
||||
end if
|
||||
|
||||
durationMs = ValidString(headers["X-Head-Time-Millis"]).ToInt()
|
||||
|
||||
@@ -68,6 +68,7 @@ class LoungeApi
|
||||
commandHandlers[COMMAND_TYPE_GRACEFUL_RECONNECT] = m.HandleIgnoreCommand
|
||||
commandHandlers[COMMAND_TYPE_GET_RECEIVER_STATUS] = m.HandleIgnoreCommand
|
||||
commandHandlers[COMMAND_TYPE_SEND_DEBUG_COMMAND] = m.HandleIgnoreCommand
|
||||
commandHandlers[COMMAND_TYPE_SET_AUTOPLAY_MODE] = m.HandleIgnoreCommand
|
||||
|
||||
commandHandlers[COMMAND_TYPE_GET_NOW_PLAYING] = m.HandleGetPlayingNow
|
||||
commandHandlers[COMMAND_TYPE_SESSION_ID] = m.HandleSessionId
|
||||
@@ -324,9 +325,16 @@ class LoungeApi
|
||||
LogInfo(commandIndex, commandType)
|
||||
m[handler](commandIndex, commandType, commandArgs, messagesToSend)
|
||||
else
|
||||
LogWarn("Unknown command type:", commandType, "command:", command)
|
||||
fingerprint = "Unknown command type:" + ToString(commandType)
|
||||
message = fingerprint + " command:" + ToString(command)
|
||||
LogWarnNoTelemetry(message)
|
||||
LogTelemetryEvent({
|
||||
level: "warning"
|
||||
message: message
|
||||
fingerprint: fingerprint
|
||||
})
|
||||
#if DEBUG
|
||||
throw `Unknown command type: ${commandType} command: ${ToString(command)}`
|
||||
throw message
|
||||
#end if
|
||||
end if
|
||||
end for
|
||||
|
||||
@@ -30,6 +30,7 @@ const COMMAND_TYPE_GET_DISCOVERT_DEVICE_ID = "getDiscoveryDeviceId"
|
||||
const COMMAND_TYPE_GRACEFUL_RECONNECT = "gracefulReconnect"
|
||||
const COMMAND_TYPE_GET_RECEIVER_STATUS = "getReceiverStatus"
|
||||
const COMMAND_TYPE_SEND_DEBUG_COMMAND = "sendDebugCommand"
|
||||
const COMMAND_TYPE_SET_AUTOPLAY_MODE = "setAutoplayMode"
|
||||
' Special commands
|
||||
const COMMAND_TYPE_SESSION_ID = "c"
|
||||
const COMMAND_TYPE_G_SESSION_ID = "S"
|
||||
|
||||
@@ -65,31 +65,9 @@ function ExecuteJob() as void
|
||||
})
|
||||
|
||||
if not response.success
|
||||
if response.error = Invidious.ERROR_NOT_AUTHENTICATED
|
||||
if feedSources.Count() = 1
|
||||
parent = feedContentNode.getParent()
|
||||
if parent <> invalid
|
||||
parent.removeChild(feedContentNode)
|
||||
end if
|
||||
JobSuccess()
|
||||
return
|
||||
end if
|
||||
|
||||
continue while
|
||||
end if
|
||||
|
||||
if response.error.instr("Administrator has disabled this endpoint.") > -1
|
||||
LogWarnNoTelemetry(feedSource.endpoint, "feedSource not available:", response.error)
|
||||
if feedSources.Count() = 1
|
||||
parent = feedContentNode.getParent()
|
||||
if parent <> invalid
|
||||
parent.removeChild(feedContentNode)
|
||||
end if
|
||||
JobSuccess()
|
||||
return
|
||||
end if
|
||||
|
||||
continue while
|
||||
if RemoveSingleFailedRow(response.error, feedSource, feedSources, feedContentNode)
|
||||
JobSuccess()
|
||||
return
|
||||
end if
|
||||
|
||||
feedSource.state.loadState = FeedLoadState.Error
|
||||
@@ -243,6 +221,31 @@ function DeduplicateAppendAuthPlaylists(feedContentNode as object, itemNodes as
|
||||
return nodesToAdd.Count()
|
||||
end function
|
||||
|
||||
function RemoveSingleFailedRow(error as dynamic, feedSource as object, feedSources as object, feedContentNode as object) as boolean
|
||||
error = ValidString(error)
|
||||
LogWarnNoTelemetry(feedSource.id, "feedSource not available:", error)
|
||||
|
||||
if feedSources.Count() <> 1
|
||||
return false
|
||||
end if
|
||||
|
||||
isError = error = Invidious.ERROR_NOT_AUTHENTICATED
|
||||
isError = isError or error.instr("Administrator has disabled this endpoint") <> -1
|
||||
isError = isError or error.instr("API disabled") <> -1
|
||||
isError = isError or feedSource.id.instr("inv_trending") <> -1
|
||||
isError = isError or feedSource.id.instr("inv_popular") <> -1
|
||||
if not isError
|
||||
return false
|
||||
end if
|
||||
|
||||
parent = feedContentNode.getParent()
|
||||
if parent <> invalid
|
||||
parent.removeChild(feedContentNode)
|
||||
end if
|
||||
|
||||
return true
|
||||
end function
|
||||
|
||||
function HandleFeedLoadErrorDialog(error as object, isCancelled as boolean, rowList as object) as void
|
||||
error = ErrorUtils.Format(error)
|
||||
if isCancelled
|
||||
|
||||
@@ -99,7 +99,19 @@ function ExecuteJob() as void
|
||||
streamUrls = CreateStreamUrls(metadata, service, preferencesNode, backend, playletServerPort)
|
||||
if streamUrls.Count() = 0
|
||||
contentNode.addFields({ metadata: metadata })
|
||||
JobError("No playable streams found for this video.")
|
||||
error = "No playable streams found for this video."
|
||||
lastPlayerResponse = ValidString(ReadAsciiFile("cachefs:/last_player_response.json"))
|
||||
LogTelemetryEvent({
|
||||
level: "error"
|
||||
message: error
|
||||
fingerprint: error
|
||||
attachments: [{
|
||||
filename: "last_player_response.json"
|
||||
content_type: "application/json"
|
||||
data: lastPlayerResponse
|
||||
}]
|
||||
})
|
||||
JobError(error)
|
||||
return
|
||||
end if
|
||||
|
||||
|
||||
@@ -13,6 +13,18 @@ import "pkg:/source/utils/ErrorUtils.bs"
|
||||
import "pkg:/source/utils/Logging.bs"
|
||||
import "pkg:/source/utils/RemoteKeys.bs"
|
||||
|
||||
enum DownloadErrors
|
||||
Unknown = 900
|
||||
TimeoutByCurl = 950
|
||||
TimeoutBySelector = 951
|
||||
Abort = 960
|
||||
AbortByServer = 961
|
||||
AbortBySelector = 962
|
||||
AbortByParallel = 963
|
||||
ParallelFragmentError = 964
|
||||
BadMedia = 970
|
||||
end enum
|
||||
|
||||
function Init()
|
||||
SetPlayerStyle()
|
||||
SetupAnimation()
|
||||
@@ -441,32 +453,23 @@ function OnVideoPlayerStateChange() as void
|
||||
m.videoPlayingSuccess = true
|
||||
end if
|
||||
|
||||
errorReported = false
|
||||
errorData = invalid
|
||||
if state = "error"
|
||||
errorInfo = m.top.errorInfo
|
||||
errorData = GetPlayerErrorData(content.videoId, errorInfo)
|
||||
|
||||
LogErrorNoTelemetry(errorData.title, errorData.body)
|
||||
ReportVideoError(errorData, content.url)
|
||||
errorReported = true
|
||||
|
||||
if m.videoPlayingSuccess <> true
|
||||
' http for stream format, mediaerror for DASH
|
||||
if errorInfo.category = "http" or errorInfo.category = "mediaerror"
|
||||
currentUrl = content.url
|
||||
playletStreamUrls = content.playletStreamUrls
|
||||
playletStreamUrlIndex = content.playletStreamUrlIndex
|
||||
playletStreamUrlIndex++
|
||||
content.playletStreamUrlIndex = playletStreamUrlIndex
|
||||
if playletStreamUrlIndex < playletStreamUrls.Count()
|
||||
nextUrl = playletStreamUrls[playletStreamUrlIndex]
|
||||
msg = `Stream ${currentUrl} failed to play. Trying next stream ${nextUrl}`
|
||||
LogErrorNoTelemetry(msg)
|
||||
LogTelemetryEvent({
|
||||
level: "error"
|
||||
message: msg
|
||||
fingerprint: ["Stream <URL> failed to play. Trying next stream <URL>"]
|
||||
})
|
||||
currentUrlIndex = content.playletStreamUrlIndex
|
||||
nextUrlIndex = currentUrlIndex + 1
|
||||
content.playletStreamUrlIndex = nextUrlIndex
|
||||
if nextUrlIndex < playletStreamUrls.Count()
|
||||
currentUrl = content.url
|
||||
nextUrl = playletStreamUrls[nextUrlIndex]
|
||||
|
||||
if StringUtils.IsNullOrEmpty(nextUrl)
|
||||
LogError("Next stream URL is empty, cannot try next stream")
|
||||
@@ -487,6 +490,12 @@ function OnVideoPlayerStateChange() as void
|
||||
if hasTimestamp and timestamp > 0
|
||||
m.top.seek = content.timestamp
|
||||
end if
|
||||
|
||||
msg = `Stream ${currentUrl} failed to play. Trying next stream ${nextUrl}`
|
||||
LogErrorNoTelemetry(msg)
|
||||
|
||||
errorData.title = msg + `\n` + errorData.title
|
||||
ReportVideoError(errorData, currentUrl, playletStreamUrls, currentUrlIndex, false)
|
||||
return
|
||||
end if
|
||||
end if
|
||||
@@ -504,13 +513,8 @@ function OnVideoPlayerStateChange() as void
|
||||
end if
|
||||
|
||||
if state = "error"
|
||||
errorInfo = m.top.errorInfo
|
||||
errorData = GetPlayerErrorData(content.videoId, errorInfo)
|
||||
|
||||
LogErrorNoTelemetry(errorData.title, errorData.body)
|
||||
if not errorReported
|
||||
ReportVideoError(errorData, content.url)
|
||||
end if
|
||||
ReportVideoError(errorData, content.url, content.playletStreamUrls, content.playletStreamUrlIndex, true)
|
||||
|
||||
buttons = [Tr(Locale.Buttons.PlayNextVideo), Tr(Locale.Buttons.Cancel)]
|
||||
|
||||
@@ -557,7 +561,7 @@ function GetPlayerErrorData(videoId as string, errorInfo as object) as object
|
||||
}
|
||||
end function
|
||||
|
||||
function ReportVideoError(errorData as object, url as string) as void
|
||||
function ReportVideoError(errorData as object, url as dynamic, urls as object, urlIndex as dynamic, shownInDialog as boolean) as void
|
||||
attachments = invalid
|
||||
if errorData.body.Instr("malformed data") <> -1 or errorData.body.Instr("invalid pathname") <> -1
|
||||
lastGeneratedDash = ValidString(ReadAsciiFile("cachefs:/last_generated_dash.xml"))
|
||||
@@ -581,9 +585,28 @@ function ReportVideoError(errorData as object, url as string) as void
|
||||
|
||||
position = m.top.position
|
||||
duration = m.top.duration
|
||||
message = [
|
||||
errorData.title
|
||||
errorData.body
|
||||
`Dialog shown: ${shownInDialog}`
|
||||
`Position: ${position}`
|
||||
`Duration: ${duration}`
|
||||
`Url: ${url}`
|
||||
`Urls: ` + ToString(urls)
|
||||
`Url index: ${urlIndex}`
|
||||
].Join(`\n`)
|
||||
|
||||
errorData.fingerprint.push(shownInDialog)
|
||||
|
||||
if shownInDialog
|
||||
level = "error"
|
||||
else
|
||||
level = "warning"
|
||||
end if
|
||||
|
||||
LogTelemetryEvent({
|
||||
level: "error"
|
||||
message: errorData.title + " " + errorData.body + `\nurl: ${url}\nposition: ${position}\nduration: ${duration}`
|
||||
level: level
|
||||
message: message
|
||||
fingerprint: errorData.fingerprint
|
||||
attachments: attachments
|
||||
})
|
||||
|
||||
@@ -11,7 +11,6 @@ trending:
|
||||
region:
|
||||
type: "#ISO3166"
|
||||
default: GetUserCountryCode
|
||||
tryCount: 3 # trending is being phased out, sometimes it returns a 400 INVALID_ARGUMENT
|
||||
|
||||
popular:
|
||||
title: Popular
|
||||
|
||||
@@ -2,8 +2,8 @@ title=PlayletLib
|
||||
|
||||
# Do not update version manually, it is auto updated from package.json
|
||||
major_version=0
|
||||
minor_version=43
|
||||
build_version=00008
|
||||
minor_version=44
|
||||
build_version=00002
|
||||
|
||||
ui_resolutions=hd
|
||||
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
||||
|
||||
@@ -454,7 +454,7 @@ namespace HttpClient
|
||||
backoffMs = 1000 + Rnd(2000)
|
||||
tryNumber = m._tryCount - triesLeft + 1
|
||||
LogWarnNoTelemetry("Request failed ID:", m.urlTransfer.GetIdentity(), "ErrorMessage:", response.ErrorMessage(), `\nRetrying: (`, tryNumber, "/", m._tryCount, ") in", backoffMs, "ms")
|
||||
LogWarnTelemetry(response.ErrorMessage())
|
||||
LogWarnTelemetry(response.ErrorMessage() + `\n` + m.ToCurlCommand())
|
||||
|
||||
if IsFunction(m._retryCallback)
|
||||
try
|
||||
|
||||
Generated
+90
-90
@@ -1,34 +1,34 @@
|
||||
{
|
||||
"name": "playlet-web",
|
||||
"version": "0.43.8",
|
||||
"version": "0.44.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-web",
|
||||
"version": "0.43.8",
|
||||
"version": "0.44.2",
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
||||
"@tailwindcss/postcss": "^4.1.16",
|
||||
"@tailwindcss/postcss": "^4.1.17",
|
||||
"@tailwindcss/typography": "^0.5.19",
|
||||
"@tsconfig/svelte": "^5.0.5",
|
||||
"@vitejs/plugin-legacy": "^7.2.1",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"bgutils-js": "^3.2.0",
|
||||
"daisyui": "^5.3.10",
|
||||
"daisyui": "^5.4.7",
|
||||
"dotenv": "^17.2.3",
|
||||
"ip": "^2.0.1",
|
||||
"jszip": "^3.10.1",
|
||||
"postcss": "^8.5.6",
|
||||
"rollup-plugin-visualizer": "^6.0.5",
|
||||
"svelte": "^5.43.2",
|
||||
"svelte": "^5.43.4",
|
||||
"svelte-check": "^4.3.3",
|
||||
"svelte-preprocess": "^6.0.3",
|
||||
"tailwindcss": "^4.1.16",
|
||||
"terser": "^5.44.0",
|
||||
"tailwindcss": "^4.1.17",
|
||||
"terser": "^5.44.1",
|
||||
"tslib": "^2.8.1",
|
||||
"typescript": "^5.9.3",
|
||||
"vite": "^7.1.12",
|
||||
"vite": "^7.2.2",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-tsconfig-paths": "^5.1.4",
|
||||
"youtubei.js": "^16.0.1"
|
||||
@@ -2394,9 +2394,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/node": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.16.tgz",
|
||||
"integrity": "sha512-BX5iaSsloNuvKNHRN3k2RcCuTEgASTo77mofW0vmeHkfrDWaoFAFvNHpEgtu0eqyypcyiBkDWzSMxJhp3AUVcw==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.17.tgz",
|
||||
"integrity": "sha512-csIkHIgLb3JisEFQ0vxr2Y57GUNYh447C8xzwj89U/8fdW8LhProdxvnVH6U8M2Y73QKiTIH+LWbK3V2BBZsAg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -2404,39 +2404,39 @@
|
||||
"enhanced-resolve": "^5.18.3",
|
||||
"jiti": "^2.6.1",
|
||||
"lightningcss": "1.30.2",
|
||||
"magic-string": "^0.30.19",
|
||||
"magic-string": "^0.30.21",
|
||||
"source-map-js": "^1.2.1",
|
||||
"tailwindcss": "4.1.16"
|
||||
"tailwindcss": "4.1.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.16.tgz",
|
||||
"integrity": "sha512-2OSv52FRuhdlgyOQqgtQHuCgXnS8nFSYRp2tJ+4WZXKgTxqPy7SMSls8c3mPT5pkZ17SBToGM5LHEJBO7miEdg==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.17.tgz",
|
||||
"integrity": "sha512-F0F7d01fmkQhsTjXezGBLdrl1KresJTcI3DB8EkScCldyKp3Msz4hub4uyYaVnk88BAS1g5DQjjF6F5qczheLA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@tailwindcss/oxide-android-arm64": "4.1.16",
|
||||
"@tailwindcss/oxide-darwin-arm64": "4.1.16",
|
||||
"@tailwindcss/oxide-darwin-x64": "4.1.16",
|
||||
"@tailwindcss/oxide-freebsd-x64": "4.1.16",
|
||||
"@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.16",
|
||||
"@tailwindcss/oxide-linux-arm64-gnu": "4.1.16",
|
||||
"@tailwindcss/oxide-linux-arm64-musl": "4.1.16",
|
||||
"@tailwindcss/oxide-linux-x64-gnu": "4.1.16",
|
||||
"@tailwindcss/oxide-linux-x64-musl": "4.1.16",
|
||||
"@tailwindcss/oxide-wasm32-wasi": "4.1.16",
|
||||
"@tailwindcss/oxide-win32-arm64-msvc": "4.1.16",
|
||||
"@tailwindcss/oxide-win32-x64-msvc": "4.1.16"
|
||||
"@tailwindcss/oxide-android-arm64": "4.1.17",
|
||||
"@tailwindcss/oxide-darwin-arm64": "4.1.17",
|
||||
"@tailwindcss/oxide-darwin-x64": "4.1.17",
|
||||
"@tailwindcss/oxide-freebsd-x64": "4.1.17",
|
||||
"@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.17",
|
||||
"@tailwindcss/oxide-linux-arm64-gnu": "4.1.17",
|
||||
"@tailwindcss/oxide-linux-arm64-musl": "4.1.17",
|
||||
"@tailwindcss/oxide-linux-x64-gnu": "4.1.17",
|
||||
"@tailwindcss/oxide-linux-x64-musl": "4.1.17",
|
||||
"@tailwindcss/oxide-wasm32-wasi": "4.1.17",
|
||||
"@tailwindcss/oxide-win32-arm64-msvc": "4.1.17",
|
||||
"@tailwindcss/oxide-win32-x64-msvc": "4.1.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-android-arm64": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.16.tgz",
|
||||
"integrity": "sha512-8+ctzkjHgwDJ5caq9IqRSgsP70xhdhJvm+oueS/yhD5ixLhqTw9fSL1OurzMUhBwE5zK26FXLCz2f/RtkISqHA==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.17.tgz",
|
||||
"integrity": "sha512-BMqpkJHgOZ5z78qqiGE6ZIRExyaHyuxjgrJ6eBO5+hfrfGkuya0lYfw8fRHG77gdTjWkNWEEm+qeG2cDMxArLQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -2451,9 +2451,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-darwin-arm64": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.16.tgz",
|
||||
"integrity": "sha512-C3oZy5042v2FOALBZtY0JTDnGNdS6w7DxL/odvSny17ORUnaRKhyTse8xYi3yKGyfnTUOdavRCdmc8QqJYwFKA==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.17.tgz",
|
||||
"integrity": "sha512-EquyumkQweUBNk1zGEU/wfZo2qkp/nQKRZM8bUYO0J+Lums5+wl2CcG1f9BgAjn/u9pJzdYddHWBiFXJTcxmOg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -2468,9 +2468,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-darwin-x64": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.16.tgz",
|
||||
"integrity": "sha512-vjrl/1Ub9+JwU6BP0emgipGjowzYZMjbWCDqwA2Z4vCa+HBSpP4v6U2ddejcHsolsYxwL5r4bPNoamlV0xDdLg==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.17.tgz",
|
||||
"integrity": "sha512-gdhEPLzke2Pog8s12oADwYu0IAw04Y2tlmgVzIN0+046ytcgx8uZmCzEg4VcQh+AHKiS7xaL8kGo/QTiNEGRog==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -2485,9 +2485,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-freebsd-x64": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.16.tgz",
|
||||
"integrity": "sha512-TSMpPYpQLm+aR1wW5rKuUuEruc/oOX3C7H0BTnPDn7W/eMw8W+MRMpiypKMkXZfwH8wqPIRKppuZoedTtNj2tg==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.17.tgz",
|
||||
"integrity": "sha512-hxGS81KskMxML9DXsaXT1H0DyA+ZBIbyG/sSAjWNe2EDl7TkPOBI42GBV3u38itzGUOmFfCzk1iAjDXds8Oh0g==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -2502,9 +2502,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.16.tgz",
|
||||
"integrity": "sha512-p0GGfRg/w0sdsFKBjMYvvKIiKy/LNWLWgV/plR4lUgrsxFAoQBFrXkZ4C0w8IOXfslB9vHK/JGASWD2IefIpvw==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.17.tgz",
|
||||
"integrity": "sha512-k7jWk5E3ldAdw0cNglhjSgv501u7yrMf8oeZ0cElhxU6Y2o7f8yqelOp3fhf7evjIS6ujTI3U8pKUXV2I4iXHQ==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
@@ -2519,9 +2519,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.16.tgz",
|
||||
"integrity": "sha512-DoixyMmTNO19rwRPdqviTrG1rYzpxgyYJl8RgQvdAQUzxC1ToLRqtNJpU/ATURSKgIg6uerPw2feW0aS8SNr/w==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.17.tgz",
|
||||
"integrity": "sha512-HVDOm/mxK6+TbARwdW17WrgDYEGzmoYayrCgmLEw7FxTPLcp/glBisuyWkFz/jb7ZfiAXAXUACfyItn+nTgsdQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -2536,9 +2536,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-linux-arm64-musl": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.16.tgz",
|
||||
"integrity": "sha512-H81UXMa9hJhWhaAUca6bU2wm5RRFpuHImrwXBUvPbYb+3jo32I9VIwpOX6hms0fPmA6f2pGVlybO6qU8pF4fzQ==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.17.tgz",
|
||||
"integrity": "sha512-HvZLfGr42i5anKtIeQzxdkw/wPqIbpeZqe7vd3V9vI3RQxe3xU1fLjss0TjyhxWcBaipk7NYwSrwTwK1hJARMg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -2553,9 +2553,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-linux-x64-gnu": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.16.tgz",
|
||||
"integrity": "sha512-ZGHQxDtFC2/ruo7t99Qo2TTIvOERULPl5l0K1g0oK6b5PGqjYMga+FcY1wIUnrUxY56h28FxybtDEla+ICOyew==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.17.tgz",
|
||||
"integrity": "sha512-M3XZuORCGB7VPOEDH+nzpJ21XPvK5PyjlkSFkFziNHGLc5d6g3di2McAAblmaSUNl8IOmzYwLx9NsE7bplNkwQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -2570,9 +2570,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-linux-x64-musl": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.16.tgz",
|
||||
"integrity": "sha512-Oi1tAaa0rcKf1Og9MzKeINZzMLPbhxvm7rno5/zuP1WYmpiG0bEHq4AcRUiG2165/WUzvxkW4XDYCscZWbTLZw==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.17.tgz",
|
||||
"integrity": "sha512-k7f+pf9eXLEey4pBlw+8dgfJHY4PZ5qOUFDyNf7SI6lHjQ9Zt7+NcscjpwdCEbYi6FI5c2KDTDWyf2iHcCSyyQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -2587,9 +2587,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-wasm32-wasi": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.16.tgz",
|
||||
"integrity": "sha512-B01u/b8LteGRwucIBmCQ07FVXLzImWESAIMcUU6nvFt/tYsQ6IHz8DmZ5KtvmwxD+iTYBtM1xwoGXswnlu9v0Q==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.17.tgz",
|
||||
"integrity": "sha512-cEytGqSSoy7zK4JRWiTCx43FsKP/zGr0CsuMawhH67ONlH+T79VteQeJQRO/X7L0juEUA8ZyuYikcRBf0vsxhg==",
|
||||
"bundleDependencies": [
|
||||
"@napi-rs/wasm-runtime",
|
||||
"@emnapi/core",
|
||||
@@ -2605,8 +2605,8 @@
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"@emnapi/core": "^1.5.0",
|
||||
"@emnapi/runtime": "^1.5.0",
|
||||
"@emnapi/core": "^1.6.0",
|
||||
"@emnapi/runtime": "^1.6.0",
|
||||
"@emnapi/wasi-threads": "^1.1.0",
|
||||
"@napi-rs/wasm-runtime": "^1.0.7",
|
||||
"@tybys/wasm-util": "^0.10.1",
|
||||
@@ -2617,9 +2617,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.16.tgz",
|
||||
"integrity": "sha512-zX+Q8sSkGj6HKRTMJXuPvOcP8XfYON24zJBRPlszcH1Np7xuHXhWn8qfFjIujVzvH3BHU+16jBXwgpl20i+v9A==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.17.tgz",
|
||||
"integrity": "sha512-JU5AHr7gKbZlOGvMdb4722/0aYbU+tN6lv1kONx0JK2cGsh7g148zVWLM0IKR3NeKLv+L90chBVYcJ8uJWbC9A==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -2634,9 +2634,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-win32-x64-msvc": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.16.tgz",
|
||||
"integrity": "sha512-m5dDFJUEejbFqP+UXVstd4W/wnxA4F61q8SoL+mqTypId2T2ZpuxosNSgowiCnLp2+Z+rivdU0AqpfgiD7yCBg==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.17.tgz",
|
||||
"integrity": "sha512-SKWM4waLuqx0IH+FMDUw6R66Hu4OuTALFgnleKbqhgGU30DY20NORZMZUKgLRjQXNN2TLzKvh48QXTig4h4bGw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -2651,17 +2651,17 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/postcss": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.1.16.tgz",
|
||||
"integrity": "sha512-Qn3SFGPXYQMKR/UtqS+dqvPrzEeBZHrFA92maT4zijCVggdsXnDBMsPFJo1eArX3J+O+Gi+8pV4PkqjLCNBk3A==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.1.17.tgz",
|
||||
"integrity": "sha512-+nKl9N9mN5uJ+M7dBOOCzINw94MPstNR/GtIhz1fpZysxL/4a+No64jCBD6CPN+bIHWFx3KWuu8XJRrj/572Dw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@alloc/quick-lru": "^5.2.0",
|
||||
"@tailwindcss/node": "4.1.16",
|
||||
"@tailwindcss/oxide": "4.1.16",
|
||||
"@tailwindcss/node": "4.1.17",
|
||||
"@tailwindcss/oxide": "4.1.17",
|
||||
"postcss": "^8.4.41",
|
||||
"tailwindcss": "4.1.16"
|
||||
"tailwindcss": "4.1.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/typography": {
|
||||
@@ -3123,9 +3123,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/daisyui": {
|
||||
"version": "5.3.10",
|
||||
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.3.10.tgz",
|
||||
"integrity": "sha512-vmjyPmm0hvFhA95KB6uiGmWakziB2pBv6CUcs5Ka/3iMBMn9S+C3SZYx9G9l2JrgTZ1EFn61F/HrPcwaUm2kLQ==",
|
||||
"version": "5.4.7",
|
||||
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.4.7.tgz",
|
||||
"integrity": "sha512-2wYO61vTPCXk7xEBgnzLZAYoE0xS5IRLu/GSq0vORpB+cTrtubdx69NnA0loc0exvCY1s2fYL4lGZtFHe2ohNQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
@@ -3870,9 +3870,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/magic-string": {
|
||||
"version": "0.30.19",
|
||||
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.19.tgz",
|
||||
"integrity": "sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw==",
|
||||
"version": "0.30.21",
|
||||
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
|
||||
"integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -4403,9 +4403,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/svelte": {
|
||||
"version": "5.43.2",
|
||||
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.43.2.tgz",
|
||||
"integrity": "sha512-ro1umEzX8rT5JpCmlf0PPv7ncD8MdVob9e18bhwqTKNoLjS8kDvhVpaoYVPc+qMwDAOfcwJtyY7ZFSDbOaNPgA==",
|
||||
"version": "5.43.4",
|
||||
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.43.4.tgz",
|
||||
"integrity": "sha512-tPNp21nDWB0PSHE+VrTvEy9cFtDp2Q+ATxQoFomISEVdikZ1QZ69UqBPz/LlT+Oc8/LYS/COYwDQZrmZEUr+JQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -4514,9 +4514,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/tailwindcss": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.16.tgz",
|
||||
"integrity": "sha512-pONL5awpaQX4LN5eiv7moSiSPd/DLDzKVRJz8Q9PgzmAdd1R4307GQS2ZpfiN7ZmekdQrfhZZiSE5jkLR4WNaA==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.17.tgz",
|
||||
"integrity": "sha512-j9Ee2YjuQqYT9bbRTfTZht9W/ytp5H+jJpZKiYdP/bpnXARAuELt9ofP0lPnmHjbga7SNQIxdTAXCmtKVYjN+Q==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
@@ -4535,9 +4535,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/terser": {
|
||||
"version": "5.44.0",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.44.0.tgz",
|
||||
"integrity": "sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==",
|
||||
"version": "5.44.1",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.44.1.tgz",
|
||||
"integrity": "sha512-t/R3R/n0MSwnnazuPpPNVO60LX0SKL45pyl9YlvxIdkH0Of7D5qM2EVe+yASRIlY5pZ73nclYJfNANGWPwFDZw==",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
@@ -4707,9 +4707,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/vite": {
|
||||
"version": "7.1.12",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.1.12.tgz",
|
||||
"integrity": "sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==",
|
||||
"version": "7.2.2",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.2.2.tgz",
|
||||
"integrity": "sha512-BxAKBWmIbrDgrokdGZH1IgkIk/5mMHDreLDmCJ0qpyJaAteP8NvMhkwr/ZCQNqNH97bw/dANTE9PDzqwJghfMQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-web",
|
||||
"version": "0.43.8",
|
||||
"version": "0.44.2",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
@@ -10,26 +10,26 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
||||
"@tailwindcss/postcss": "^4.1.16",
|
||||
"@tailwindcss/postcss": "^4.1.17",
|
||||
"@tailwindcss/typography": "^0.5.19",
|
||||
"@tsconfig/svelte": "^5.0.5",
|
||||
"@vitejs/plugin-legacy": "^7.2.1",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"bgutils-js": "^3.2.0",
|
||||
"daisyui": "^5.3.10",
|
||||
"daisyui": "^5.4.7",
|
||||
"dotenv": "^17.2.3",
|
||||
"ip": "^2.0.1",
|
||||
"jszip": "^3.10.1",
|
||||
"postcss": "^8.5.6",
|
||||
"rollup-plugin-visualizer": "^6.0.5",
|
||||
"svelte": "^5.43.2",
|
||||
"svelte": "^5.43.4",
|
||||
"svelte-check": "^4.3.3",
|
||||
"svelte-preprocess": "^6.0.3",
|
||||
"tailwindcss": "^4.1.16",
|
||||
"terser": "^5.44.0",
|
||||
"tailwindcss": "^4.1.17",
|
||||
"terser": "^5.44.1",
|
||||
"tslib": "^2.8.1",
|
||||
"typescript": "^5.9.3",
|
||||
"vite": "^7.1.12",
|
||||
"vite": "^7.2.2",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-tsconfig-paths": "^5.1.4",
|
||||
"youtubei.js": "^16.0.1"
|
||||
|
||||
Reference in new issue
Block a user