Compare commits

..
24 Commits
Author SHA1 Message Date
Brahim Hadriche 388cad36be Release v0.42.5 (#763) 2025-10-21 17:16:01 -04:00
Brahim Hadriche 091da296c4 Fix crash when trying to display error messages with very long text 2025-10-21 16:52:41 -04:00
Brahim Hadriche 621eb8245f add more nodes 2025-10-20 09:06:10 -04:00
Brahim Hadriche 29c78f6012 update tv client version 2025-10-20 09:04:58 -04:00
Brahim Hadriche 19f8b5221b [skip ci] small bug fix 2025-10-18 21:48:38 -04:00
Brahim Hadriche 88673c21fe [chore] update dependencies (#761)
* update dependencies

* changelog
2025-10-18 11:16:32 -04:00
Brahim Hadriche 051e94fff3 [skip ci] changelog fix 2025-10-17 16:54:10 -04:00
Brahim Hadriche ddf16f01d5 Release v0.42.4 (#760) 2025-10-17 09:34:39 -04:00
Brahim Hadriche 97dda3e796 [skip ci] add retry for trending videos 2025-10-17 09:31:20 -04:00
Brahim Hadriche bc8a707a2d changelog 2025-10-14 11:33:40 -04:00
Weblate (bot)andLacey Anaya 28cc6ea501 Translated using Weblate (German) (#759)
Currently translated at 100.0% (348 of 348 strings)

Translation: Playlet/Playlet
Translate-URL: https://hosted.weblate.org/projects/playlet/playlet/de/

Co-authored-by: Lacey Anaya <yecakeh263@anawalls.com>
2025-10-14 11:33:13 -04:00
Brahim Hadriche 0c4d3fbb60 Fix a bug where title and duration of songs were missing an an album playlist 2025-10-14 11:17:22 -04:00
Brahim Hadriche 247d64ed82 Release v0.42.3 (#758) 2025-10-12 18:49:52 -04:00
Brahim Hadriche 568ff8824f update dependencies (#756) 2025-10-11 16:07:59 -04:00
Brahim Hadriche 3af6573779 Crash fix 2025-10-11 15:37:05 -04:00
Brahim Hadriche 79a8219883 Release v0.42.2 (#755) 2025-10-09 17:00:20 -04:00
Brahim Hadriche 24a12ea68d Fix telemetry crash 2025-10-09 16:55:23 -04:00
Brahim Hadriche be33ecc2a4 changelog 2025-10-08 19:05:58 -04:00
Brahim Hadriche 72a55b5414 Use ttml for captions 2025-10-08 19:00:30 -04:00
Brahim Hadriche a1c9ae8884 [skip ci] missing return stmt 2025-10-07 19:56:57 -04:00
Brahim Hadriche 292f15d3a9 [skip ci] Update SponsorBlockService.bs 2025-10-07 10:31:10 -04:00
Brahim Hadriche 5b1a108e61 [skip ci] ignore sponsorblock outage errors 2025-10-05 16:30:27 -04:00
Brahim Hadriche 2bc83ab796 [skip ci] 2025-10-05 15:58:48 -04:00
Brahim Hadriche 9248b19db5 Fix oauth revoke token 2025-10-04 16:47:43 -04:00
25 changed files with 269 additions and 194 deletions

No files matched your search

+32
View File
@@ -5,6 +5,38 @@ 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.42.5] - 2025-10-21
### Fixed
- Crash when trying to display error messages with very long text
## [0.42.4] - 2025-10-17
### Added
- German translations
### Fixed
- A bug where title and duration of songs were missing an an album playlist
- Error when loading trending videos by retrying to load the feed
- Note: trending is removed from web and tv clients, they are being phased out.
## [0.42.3] - 2025-10-12
### Fixed
- Crash when logging early startup warnings
## [0.42.2] - 2025-10-09
### Fixed
- A bug when invalidating tokens
- Issue with auto-generated subtitles aligned to the left by using TTML captions
- Crash when telemetry thread turned off and then back on
## [0.42.1] - 2025-10-04
### Fixed
+83 -66
View File
@@ -1,22 +1,22 @@
{
"name": "playlet",
"version": "0.42.1",
"version": "0.42.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet",
"version": "0.42.1",
"version": "0.42.5",
"hasInstallScript": true,
"devDependencies": {
"@rokucommunity/bslint": "^0.8.35",
"@rokucommunity/bslint": "^0.8.37",
"@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24.6.2",
"@types/node": "^24.8.1",
"@types/xml2js": "^0.4.14",
"argparse": "^2.0.1",
"brighterscript": "0.70.1",
"brighterscript-formatter": "^1.7.18",
"brighterscript": "0.70.2",
"brighterscript-formatter": "^1.7.19",
"convert-svg-to-png": "^0.7.1",
"crypto-js": "^4.2.0",
"dotenv": "^17.2.3",
@@ -25,14 +25,14 @@
"imap": "^0.8.19",
"ip": "^2.0.1",
"json5": "^2.2.3",
"mailparser": "^3.7.4",
"mailparser": "^3.7.5",
"protocol-buffers-schema": "^3.6.0",
"puppeteer": "^24.23.0",
"puppeteer": "^24.25.0",
"roku-deploy": "^3.13.0",
"roku-test-automation": "^2.2.1",
"rooibos-roku": "5.15.5",
"rounded-rect-9patch": "^1.1.2",
"semver": "^7.7.2",
"semver": "^7.7.3",
"shelljs": "^0.10.0",
"ts-node": "^10.9.2",
"typescript": "5.9.3",
@@ -414,9 +414,9 @@
"dev": true
},
"node_modules/@rokucommunity/bslint": {
"version": "0.8.35",
"resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.35.tgz",
"integrity": "sha512-gHRHtD1STid/ay/5NjagQXpKm1UICQVeWOlwBpz1FuoFDW9Vk4EmMjgCW/wmFevE7MHDtoR53rFwC7tNld9OlQ==",
"version": "0.8.37",
"resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.37.tgz",
"integrity": "sha512-22/1RqqI0S95Qd9XuSq9G9U/15pR9qOAQTKNjyZ2OQukWyhjEMJPdB7Yy2MOut56OjSwoJ1ihvWFeWN3snCccw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -736,13 +736,13 @@
"license": "MIT"
},
"node_modules/@types/node": {
"version": "24.6.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.6.2.tgz",
"integrity": "sha512-d2L25Y4j+W3ZlNAeMKcy7yDsK425ibcAOO2t7aPTz6gNMH0z2GThtwENCDc0d/Pw9wgyRqE5Px1wkV7naz8ang==",
"version": "24.8.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.8.1.tgz",
"integrity": "sha512-alv65KGRadQVfVcG69MuB4IzdYVpRwMG/mq8KWOaoOdyY617P5ivaDiMCGOFDWD2sAn5Q0mR3mRtUOgm99hL9Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~7.13.0"
"undici-types": "~7.14.0"
}
},
"node_modules/@types/qs": {
@@ -1279,9 +1279,9 @@
}
},
"node_modules/brighterscript": {
"version": "0.70.1",
"resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.70.1.tgz",
"integrity": "sha512-1Kq3GG5ZEsDXCAmIpm3IXgk/1qZxHs7GXH4W7uimnhWwieKOrpYNVhevrKuCz9C+OcaQnF5uiCi+0HEIHRwSQg==",
"version": "0.70.2",
"resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.70.2.tgz",
"integrity": "sha512-BHCZOKUNM4Pt7uLcA9JhQ17rxGnEz60dUdMfANTXGa8gYVjLNVd2WwVQS1L8roYRUuKXc83Hk01uxzmrcGmz9Q==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1330,13 +1330,13 @@
}
},
"node_modules/brighterscript-formatter": {
"version": "1.7.18",
"resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.7.18.tgz",
"integrity": "sha512-my59ufvEi6/0JkfkOqtJjXsecnG3Qi3KfzpvgxGJTbWwsYJ1mgkIUF0/zAjekFq6lW+PhlwzMKu4hKAfoX55bw==",
"version": "1.7.19",
"resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.7.19.tgz",
"integrity": "sha512-GDitTZ0uM8AdKr9cwssx0IeA1jh9t6Lcp9fm68Pk9LrRG3otGe+eYP2Y/1+axn6T4MBo6zfjrsJy2JrdbaDbWw==",
"dev": true,
"license": "MIT",
"dependencies": {
"brighterscript": "^0.70.1",
"brighterscript": "^0.70.2",
"glob-all": "^3.3.0",
"jsonc-parser": "^3.0.0",
"source-map": "^0.7.3",
@@ -4321,28 +4321,45 @@
}
},
"node_modules/mailparser": {
"version": "3.7.4",
"resolved": "https://registry.npmjs.org/mailparser/-/mailparser-3.7.4.tgz",
"integrity": "sha512-Beh4yyR4jLq3CZZ32asajByrXnW8dLyKCAQD3WvtTiBnMtFWhxO+wa93F6sJNjDmfjxXs4NRNjw3XAGLqZR3Vg==",
"version": "3.7.5",
"resolved": "https://registry.npmjs.org/mailparser/-/mailparser-3.7.5.tgz",
"integrity": "sha512-o59RgZC+4SyCOn4xRH1mtRiZ1PbEmi6si6Ufnd3tbX/V9zmZN1qcqu8xbXY62H6CwIclOT3ppm5u/wV2nujn4g==",
"dev": true,
"license": "MIT",
"dependencies": {
"encoding-japanese": "2.2.0",
"he": "1.2.0",
"html-to-text": "9.0.5",
"iconv-lite": "0.6.3",
"iconv-lite": "0.7.0",
"libmime": "5.3.7",
"linkify-it": "5.0.0",
"mailsplit": "5.4.5",
"nodemailer": "7.0.4",
"mailsplit": "5.4.6",
"nodemailer": "7.0.9",
"punycode.js": "2.3.1",
"tlds": "1.259.0"
"tlds": "1.260.0"
}
},
"node_modules/mailparser/node_modules/iconv-lite": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz",
"integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3.0.0"
},
"engines": {
"node": ">=0.10.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/express"
}
},
"node_modules/mailsplit": {
"version": "5.4.5",
"resolved": "https://registry.npmjs.org/mailsplit/-/mailsplit-5.4.5.tgz",
"integrity": "sha512-oMfhmvclR689IIaQmIcR5nODnZRRVwAKtqFT407TIvmhX2OLUBnshUTcxzQBt3+96sZVDud9NfSe1NxAkUNXEQ==",
"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": {
@@ -4651,9 +4668,9 @@
}
},
"node_modules/nodemailer": {
"version": "7.0.4",
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-7.0.4.tgz",
"integrity": "sha512-9O00Vh89/Ld2EcVCqJ/etd7u20UhME0f/NToPfArwPEe1Don1zy4mAIz6ariRr7mJ2RDxtaDzN0WJVdVXPtZaw==",
"version": "7.0.9",
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-7.0.9.tgz",
"integrity": "sha512-9/Qm0qXIByEP8lEV2qOqcAW7bRpL8CR9jcTwk3NBnHJNmP9fIJ86g2fgmIXqHY+nj55ZEMwWqYAT2QTDpRUYiQ==",
"dev": true,
"license": "MIT-0",
"engines": {
@@ -5300,18 +5317,18 @@
}
},
"node_modules/puppeteer": {
"version": "24.23.0",
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.23.0.tgz",
"integrity": "sha512-BVR1Lg8sJGKXY79JARdIssFWK2F6e1j+RyuJP66w4CUmpaXjENicmA3nNpUXA8lcTdDjAndtP+oNdni3T/qQqA==",
"version": "24.25.0",
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.25.0.tgz",
"integrity": "sha512-P3rUaom2w/Ubrnz3v3kSbxGkN7SpbtQeGRPb7iO86Bv/dAz2WUmGQBHr37W/Rp1fbAocMvu0rHFbCIJvjiNhGw==",
"dev": true,
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"@puppeteer/browsers": "2.10.10",
"@puppeteer/browsers": "2.10.12",
"chromium-bidi": "9.1.0",
"cosmiconfig": "^9.0.0",
"devtools-protocol": "0.0.1508733",
"puppeteer-core": "24.23.0",
"puppeteer-core": "24.25.0",
"typed-query-selector": "^2.12.0"
},
"bin": {
@@ -5345,9 +5362,9 @@
"dev": true
},
"node_modules/puppeteer/node_modules/@puppeteer/browsers": {
"version": "2.10.10",
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.10.tgz",
"integrity": "sha512-3ZG500+ZeLql8rE0hjfhkycJjDj0pI/btEh3L9IkWUYcOrgP0xCNRq3HbtbqOPbvDhFaAWD88pDFtlLv8ns8gA==",
"version": "2.10.12",
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.12.tgz",
"integrity": "sha512-mP9iLFZwH+FapKJLeA7/fLqOlSUwYpMwjR1P5J23qd4e7qGJwecJccJqHYrjw33jmIZYV4dtiTHPD/J+1e7cEw==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
@@ -5355,8 +5372,8 @@
"extract-zip": "^2.0.1",
"progress": "^2.0.3",
"proxy-agent": "^6.5.0",
"semver": "^7.7.2",
"tar-fs": "^3.1.0",
"semver": "^7.7.3",
"tar-fs": "^3.1.1",
"yargs": "^17.7.2"
},
"bin": {
@@ -5456,18 +5473,18 @@
"license": "MIT"
},
"node_modules/puppeteer/node_modules/puppeteer-core": {
"version": "24.23.0",
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.23.0.tgz",
"integrity": "sha512-yl25C59gb14sOdIiSnJ08XiPP+O2RjuyZmEG+RjYmCXO7au0jcLf7fRiyii96dXGUBW7Zwei/mVKfxMx/POeFw==",
"version": "24.25.0",
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.25.0.tgz",
"integrity": "sha512-8Xs6q3Ut+C8y7sAaqjIhzv1QykGWG4gc2mEZ2mYE7siZFuRp4xQVehOf8uQKSQAkeL7jXUs3mknEeiqnRqUKvQ==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"@puppeteer/browsers": "2.10.10",
"@puppeteer/browsers": "2.10.12",
"chromium-bidi": "9.1.0",
"debug": "^4.4.3",
"devtools-protocol": "0.0.1508733",
"typed-query-selector": "^2.12.0",
"webdriver-bidi-protocol": "0.3.6",
"webdriver-bidi-protocol": "0.3.7",
"ws": "^8.18.3"
},
"engines": {
@@ -6717,9 +6734,9 @@
}
},
"node_modules/semver": {
"version": "7.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
"integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
"version": "7.7.3",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
"integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
"dev": true,
"license": "ISC",
"bin": {
@@ -7228,9 +7245,9 @@
}
},
"node_modules/tar-fs": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.0.tgz",
"integrity": "sha512-5Mty5y/sOF1YWj1J6GiBodjlDc05CUR8PKXrsnFAiSG0xA+GHeWLovaZPYUDXkH/1iKRf2+M5+OrRgzC7O9b7w==",
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.1.tgz",
"integrity": "sha512-LZA0oaPOc2fVo82Txf3gw+AkEd38szODlptMYejQUhndHMLQ9M059uXR+AfS7DNo0NpINvSqDsvyaCrBVkptWg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7308,9 +7325,9 @@
"dev": true
},
"node_modules/tlds": {
"version": "1.259.0",
"resolved": "https://registry.npmjs.org/tlds/-/tlds-1.259.0.tgz",
"integrity": "sha512-AldGGlDP0PNgwppe2quAvuBl18UcjuNtOnDuUkqhd6ipPqrYYBt3aTxK1QTsBVknk97lS2JcafWMghjGWFtunw==",
"version": "1.260.0",
"resolved": "https://registry.npmjs.org/tlds/-/tlds-1.260.0.tgz",
"integrity": "sha512-78+28EWBhCEE7qlyaHA9OR3IPvbCLiDh3Ckla593TksfFc9vfTsgvH7eS+dr3o9qr31gwGbogcI16yN91PoRjQ==",
"dev": true,
"license": "MIT",
"bin": {
@@ -7502,9 +7519,9 @@
}
},
"node_modules/undici-types": {
"version": "7.13.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.13.0.tgz",
"integrity": "sha512-Ov2Rr9Sx+fRgagJ5AX0qvItZG/JKKoBRAVITs1zk7IqZGTJUwgUr7qoYBpWwakpWilTZFM98rG/AFRocu10iIQ==",
"version": "7.14.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.14.0.tgz",
"integrity": "sha512-QQiYxHuyZ9gQUIrmPo3IA+hUl4KYk8uSA7cHrcKd/l3p1OTpZcM0Tbp9x7FAtXdAYhlasd60ncPpgu6ihG6TOA==",
"dev": true,
"license": "MIT"
},
@@ -7696,9 +7713,9 @@
"dev": true
},
"node_modules/webdriver-bidi-protocol": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/webdriver-bidi-protocol/-/webdriver-bidi-protocol-0.3.6.tgz",
"integrity": "sha512-mlGndEOA9yK9YAbvtxaPTqdi/kaCWYYfwrZvGzcmkr/3lWM+tQj53BxtpVd6qbC6+E5OnHXgCcAhre6AkXzxjA==",
"version": "0.3.7",
"resolved": "https://registry.npmjs.org/webdriver-bidi-protocol/-/webdriver-bidi-protocol-0.3.7.tgz",
"integrity": "sha512-wIx5Gu/LLTeexxilpk8WxU2cpGAKlfbWRO5h+my6EMD1k5PYqM1qQO1MHUFf4f3KRnhBvpbZU7VkizAgeSEf7g==",
"dev": true,
"license": "Apache-2.0"
},
+8 -8
View File
@@ -1,16 +1,16 @@
{
"name": "playlet",
"version": "0.42.1",
"version": "0.42.5",
"description": "Unofficial YouTube client for Roku",
"devDependencies": {
"@rokucommunity/bslint": "^0.8.35",
"@rokucommunity/bslint": "^0.8.37",
"@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24.6.2",
"@types/node": "^24.8.1",
"@types/xml2js": "^0.4.14",
"argparse": "^2.0.1",
"brighterscript": "0.70.1",
"brighterscript-formatter": "^1.7.18",
"brighterscript": "0.70.2",
"brighterscript-formatter": "^1.7.19",
"convert-svg-to-png": "^0.7.1",
"crypto-js": "^4.2.0",
"dotenv": "^17.2.3",
@@ -19,14 +19,14 @@
"imap": "^0.8.19",
"ip": "^2.0.1",
"json5": "^2.2.3",
"mailparser": "^3.7.4",
"mailparser": "^3.7.5",
"protocol-buffers-schema": "^3.6.0",
"puppeteer": "^24.23.0",
"puppeteer": "^24.25.0",
"roku-deploy": "^3.13.0",
"roku-test-automation": "^2.2.1",
"rooibos-roku": "5.15.5",
"rounded-rect-9patch": "^1.1.2",
"semver": "^7.7.2",
"semver": "^7.7.3",
"shelljs": "^0.10.0",
"ts-node": "^10.9.2",
"typescript": "5.9.3",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-app",
"version": "0.42.1",
"version": "0.42.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-app",
"version": "0.42.1"
"version": "0.42.5"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-app",
"version": "0.42.1",
"version": "0.42.5",
"description": "Unofficial YouTube client for Roku",
"scripts": {
"prebuild": "rm -rf ../build/playlet-app",
+1 -1
View File
@@ -3,7 +3,7 @@ title=Playlet
# Do not update version manually, it is auto updated from package.json
major_version=0
minor_version=42
build_version=00001
build_version=00005
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-lib",
"version": "0.42.1",
"version": "0.42.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-lib",
"version": "0.42.1"
"version": "0.42.5"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-lib",
"version": "0.42.1",
"version": "0.42.5",
"description": "Unofficial YouTube client for Roku",
"scripts": {
"prebuild": "rm -rf ../build/playlet-lib",
@@ -5,6 +5,9 @@ import "pkg:/source/utils/Types.bs"
namespace DialogUtils
' Very large messages can lead to execution timeout
const MESSAGE_LENGTH_LIMIT = 1000
function ShowDialogEx(options as object) as object
currentDialog = m.top.getScene().dialog
alwaysOnTop = false
@@ -24,6 +27,9 @@ namespace DialogUtils
if options.DoesExist("message")
message = options.message
if IsString(message)
if message.Len() > MESSAGE_LENGTH_LIMIT
message = message.Left(MESSAGE_LENGTH_LIMIT) + "..."
end if
message = message.Tokenize(`\n`).ToArray()
end if
dialog.message = message
@@ -82,7 +88,10 @@ namespace DialogUtils
end if
dialog = CreateObject("roSGNode", "TimedDialog")
if GetInterface(message, "ifArray") = invalid
if IsString(message)
if message.Len() > MESSAGE_LENGTH_LIMIT
message = message.Left(MESSAGE_LENGTH_LIMIT) + "..."
end if
message = message.Tokenize(`\n`).ToArray()
end if
dialog.message = message
@@ -17,7 +17,7 @@ const INNERTUBE_WEB_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Appl
const INNERTUBE_TV_BROWSER_NAME = "SamsungBrowser"
const INNERTUBE_TV_BROWSER_VERSION = "9.2"
const INNERTUBE_TV_CLIENT_NAME = "2"
const INNERTUBE_TV_CLIENT_VERSION = "7.20250928.16.00"
const INNERTUBE_TV_CLIENT_VERSION = "7.20251015.07.00"
const INNERTUBE_TV_DEVICE_MAKE = "Samsung"
const INNERTUBE_TV_DEVICE_MODEL = "SmartTV"
const INNERTUBE_TV_OS_NAME = "Tizen"
@@ -169,6 +169,7 @@ namespace InnertubeService
if raw
parsedResponse["nextResponse"] = nextResponse.Json()
return parsedResponse
end if
return Innertube.ParseInnertubeNextResponse(nextResponse.Json(), parsedResponse, nextResponse)
@@ -772,12 +773,8 @@ namespace InnertubeService
return false
end function
function AuthRevokeAccessToken(accessToken as object, cancellation = invalid as object) as boolean
if not IsAssociativeArray(accessToken)
return false
end if
return Innertube.RevokeAccessToken(accessToken["accessToken"], cancellation)
function AuthRevokeToken(token as string, cancellation = invalid as object) as boolean
return Innertube.RevokeToken(token, cancellation)
end function
function AuthListAccounts(accessToken as string, cancellation = invalid as object) as object
@@ -48,6 +48,7 @@ namespace Innertube
"watchNextEndScreenRenderer": ParseWatchNextEndScreenRenderer
"tabRenderer": ParseTabRenderer
"sectionListRenderer": ParseSectionListRenderer
"sectionListContinuation": ParseSectionListRenderer
"richSectionRenderer": ParseRichSectionRenderer
"itemSectionRenderer": ParseItemSectionRenderer
"shelfRenderer": ParseShelfRenderer
@@ -90,7 +91,10 @@ namespace Innertube
"reloadContinuationItemsCommand": ParseReloadContinuationItemsCommand
"gridContinuation": ParseGridContinuation
"tvSurfaceContentContinuation": ParseTvSurfaceContentContinuation
"gridButtonRenderer": ParseGridButtonRenderer
' 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": ParseNotImplemented
"compactRadioRenderer": ParseNotImplemented
@@ -107,6 +111,7 @@ namespace Innertube
"horizontalMovieListRenderer": ParseNotImplemented
"gridMovieRenderer": ParseNotImplemented
"gridShowRenderer": ParseNotImplemented
"playlistShowMetadataRenderer": ParseNotImplemented
' Contains comments "teaser".
"commentsEntryPointHeaderRenderer": ParseNotImplemented
' Contains the owner of the video from "videoPrimaryInfoRenderer"
@@ -1296,6 +1301,7 @@ namespace Innertube
return TileRendererTypePlaylist(nodeData, context)
else if contentType = "TILE_CONTENT_TYPE_CHANNEL"
' Not implemented yet - https://github.com/iBicha/playlet/issues/724
return invalid
else if contentType = "TILE_CONTENT_TYPE_EDU"
' Not implemented yet - https://github.com/iBicha/playlet/issues/751
return invalid
@@ -1362,6 +1368,10 @@ namespace Innertube
end if
end if
if lengthText = ""
lengthText = ParseText(ObjectUtils.Dig(nodeData, ["header", "trackTileHeaderRenderer", "duration"]))
end if
renderedLines = []
lines = ObjectUtils.Dig(nodeData, ["metadata", "tileMetadataRenderer", "lines"])
if IsArray(lines)
@@ -1373,10 +1383,15 @@ namespace Innertube
end for
end if
title = ParseText(ObjectUtils.Dig(nodeData, ["metadata", "tileMetadataRenderer", "title"]))
if title = ""
title = ParseText(ObjectUtils.Dig(nodeData, ["header", "trackTileHeaderRenderer", "title"]))
end if
video = {
"type": "video"
"videoId": videoId
"title": ParseText(ObjectUtils.Dig(nodeData, ["metadata", "tileMetadataRenderer", "title"]))
"title": title
"videoThumbnails": videoThumbnails
"lengthText": lengthText
"liveNow": liveNow
@@ -1630,13 +1645,22 @@ namespace Innertube
return nodeData["content"]
end function
function ParseText(data as object) as string
if data = invalid
return ""
function ParseGridButtonRenderer(nodeData as object, context as object) as object
signal = ObjectUtils.Dig(nodeData, ["navigationEndpoint", "signalServiceEndpoint", "actions", 0, "signalAction", "signal"])
isRefreshButton = signal = "SOFT_RELOAD_PAGE"
if not isRefreshButton
Warning(`Unknown node gridButtonRenderer`, nodeData, context)
end if
return invalid
end function
function ParseText(data as dynamic) as string
if IsString(data)
return data
end if
if not IsAssociativeArray(data)
return ""
end if
if data.DoesExist("simpleText")
return data["simpleText"]
end if
@@ -183,9 +183,10 @@ namespace Innertube
return responseData
end function
function RevokeAccessToken(accessToken as string, cancellation = invalid as dynamic) as boolean
request = HttpClient.Post("https://www.youtube.com/o/oauth2/revoke", "")
request.QueryParam("token", accessToken)
function RevokeToken(token as string, cancellation = invalid as dynamic) as boolean
request = HttpClient.PostJson("https://www.youtube.com/o/oauth2/revoke", {
"token": token
})
request.Cancellation(cancellation)
response = request.Await()
success = response.IsSuccess()
@@ -340,7 +340,7 @@ namespace Innertube
}
feeds = ParseResponseDataForFeeds(playlist, {
response: invalid
response: response
})
if feeds.Count() > 0
result["videos"] = ValidArray(feeds[0].items)
@@ -291,7 +291,11 @@ namespace Innertube
end if
queryComponents = UrlUtils.ParseQueryComponents(baseUrl)
queryComponents["fmt"] = "vtt"
' Can be vtt, ttml or srt
' vtt has "align:start position:0%" on auto-generated captions
' srt has large spacing between lines on auto-generated captions
' ttml has default styling, with smaller font than the default size
queryComponents["fmt"] = "ttml"
baseUrl = UrlUtils.SetQueryParams(baseUrl, queryComponents)
languageCode = track["languageCode"]
@@ -299,19 +303,7 @@ namespace Innertube
continue for
end if
label = ""
name = track["name"]
if IsAssociativeArray(name)
runs = name["runs"]
if IsArray(runs)
for each rn in runs
text = rn["text"]
if IsString(text)
label += text
end if
end for
end if
end if
label = ParseText(track["name"])
captions.Push({
"label": label
@@ -10,22 +10,19 @@ function ExecuteJob() as void
service = new Invidious.InvidiousService(invidiousNode)
for each profileNode in profileContentNodes
' Refresh token is for Innertube
token = profileNode.refreshToken
if StringUtils.IsNullOrEmpty(token)
token = profileNode.accessToken
end if
authToken = {
instance: profileNode.serverUrl
token: profileNode.accessToken
token: token
}
response = service.UnregisterToken(authToken)
if not response.IsSuccess()
LogWarn(`Failed to unregister token: ${response.ErrorMessage()}`)
end if
refreshToken = profileNode.refreshToken
if not StringUtils.IsNullOrEmpty(refreshToken)
authToken.token = refreshToken
response = service.UnregisterToken(authToken)
if not response.IsSuccess()
LogWarn(`Failed to unregister refresh token: ${response.ErrorMessage()}`)
end if
end if
end for
end function
@@ -89,6 +89,8 @@ namespace SponsorBlock
if not response.IsSuccess()
if response.IsCancelled()
LogErrorNoTelemetry(response.ErrorMessage())
else if response.StatusCode() >= 500
LogErrorNoTelemetry("SponsorBlock server error:", response.StatusCode())
else
LogError(response.ErrorMessage())
end if
@@ -13,12 +13,6 @@ function Init() as void
end function
function OnNodeReady() as void
m.deviceInfo = CreateObject("roDeviceInfo")
m.tags = GetTags()
m.release = GetRelease(m.tags)
m.dist = GetDist(m.tags)
m.userId = GetUserId()
m.top.ObserveField("enabled", FuncName(OnEnabledChanged))
m.preferences.ObserveFieldScoped("dev.diagnostics.enabled", FuncName(OnPreferencesChanged))
enabled = m.preferences["dev.diagnostics.enabled"]
@@ -46,6 +40,13 @@ end function
function TelemetryLoop() as void
msgPort = CreateObject("roMessagePort")
m.deviceInfo = CreateObject("roDeviceInfo")
m.tags = GetTags()
m.release = GetRelease(m.tags)
m.dist = GetDist(m.tags)
m.userId = GetUserId()
m.top.observeField("LogInfo", msgPort)
m.top.observeField("LogWarn", msgPort)
m.top.observeField("LogError", msgPort)
@@ -29,19 +29,19 @@ namespace Http
request = context.request
response = context.response
accessToken = request.body
token = request.body
if StringUtils.IsNullOrEmpty(accessToken)
if StringUtils.IsNullOrEmpty(token)
response.Json({
"error": "Missing 'accessToken' body parameter"
"error": "Missing 'token' body parameter"
})
response.http_code = 400
return true
end if
if not InnertubeService.AuthRevokeAccessToken({ "accessToken": accessToken })
if not InnertubeService.AuthRevokeToken(token)
response.Json({
"error": "Failed to unregister token"
"error": "Failed to revoke token"
})
response.http_code = 500
return true
@@ -11,6 +11,7 @@ trending:
region:
type: "#ISO3166"
default: GetUserCountryCode
tryCount: 3 # trending is being phased out, sometimes it returns a 400 INVALID_ARGUMENT
popular:
title: Popular
+14 -2
View File
@@ -1366,11 +1366,11 @@
</message>
<message>
<source>Playlet is a third-party app and is not affiliated with, endorsed by, or sponsored by YouTube or Google. All trademarks and registered trademarks mentioned are the property of their respective owners and are used only for identification purposes.</source>
<translation type="unfinished">Playlet ist eine Drittanbieter-App, wird weder von YouTube noch von Google unterstützt oder gesponsert und steht in keiner Verbindung zu diesen. Alle hier erwähnten (eingetragenen) Marken sind geistiges Eigentum ihrer jeweiligen Besitzer und werden nur zu Identifikationszwecken genutzt.</translation>
<translation>Playlet ist eine Drittanbieter-App, wird weder von YouTube noch von Google unterstützt, empfohlen oder gesponsert und steht in keiner Verbindung zu diesen. Alle hier erwähnten (eingetragenen) Marken sind geistiges Eigentum ihrer jeweiligen Besitzer und werden nur zu Identifikationszwecken genutzt.</translation>
</message>
<message>
<source>By using Playlet and signing in with your YouTube account, you acknowledge that you do so at your own risk. The developers of Playlet are not liable for any harm, including but not limited to data loss, account suspension or ban, hacking, or loss of content.</source>
<translation type="unfinished">Die Benutzung von Playlet und das Anmelden mit einem YouTube-Benutzerkonto erfolgt auf Ihr eigenes Risiko hin. Die Entwickler von Playlet sind für jedwegen Schaden, inklusive, aber nicht ausschließlich dem Verlust von Daten, der Sperrung/ Inaktivierung von Benutzerkonten und Hacking, nicht haftbar oder verantwortlich.</translation>
<translation>Die Benutzung von Playlet und das Anmelden mit einem YouTube-Benutzerkonto erfolgt auf Ihr eigenes Risiko hin. Die Entwickler von Playlet sind für jedwegen Schaden, inklusive (aber nicht ausschließlich) dem Verlust von Daten, der Sperrung/ Inaktivierung von Benutzerkonten und Hacking, nicht haftbar oder verantwortlich.</translation>
</message>
<message>
<source>Select option for %1</source>
@@ -1384,5 +1384,17 @@
<source>Disable</source>
<translation>Deaktivieren</translation>
</message>
<message>
<source>Open in YouTube</source>
<translation>Auf YouTube öffnen</translation>
</message>
<message>
<source>Help improve Playlet by enabling diagnostics. This will send anonymous diagnotics data to the developer.</source>
<translation>Helfen Sie mit, Playlet zu verbessern, indem Sie die diagnostische Datenerhebung aktivieren. Diese wird dem Entwickler anonymisierte Nutzungsdaten schicken.</translation>
</message>
<message>
<source>Enable Diagnostics</source>
<translation>Diagnostische Datenerhebung aktivieren</translation>
</message>
</context>
</TS>
+1 -1
View File
@@ -3,7 +3,7 @@ title=PlayletLib
# Do not update version manually, it is auto updated from package.json
major_version=0
minor_version=42
build_version=00001
build_version=00005
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+37 -51
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-web",
"version": "0.42.1",
"version": "0.42.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet-web",
"version": "0.42.1",
"version": "0.42.5",
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"@tailwindcss/postcss": "^4.1.14",
@@ -15,23 +15,23 @@
"@vitejs/plugin-legacy": "^7.2.1",
"autoprefixer": "^10.4.21",
"bgutils-js": "^3.2.0",
"daisyui": "^5.1.27",
"daisyui": "^5.3.7",
"dotenv": "^17.2.3",
"ip": "^2.0.1",
"jszip": "^3.10.1",
"postcss": "^8.5.6",
"rollup-plugin-visualizer": "^6.0.4",
"svelte": "^5.39.8",
"svelte-check": "^4.3.2",
"rollup-plugin-visualizer": "^6.0.5",
"svelte": "^5.40.2",
"svelte-check": "^4.3.3",
"svelte-preprocess": "^6.0.3",
"tailwindcss": "^4.1.14",
"terser": "^5.44.0",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^7.1.9",
"vite": "^7.1.10",
"vite-plugin-compression": "^0.5.1",
"vite-tsconfig-paths": "^5.1.4",
"youtubei.js": "^15.1.1"
"youtubei.js": "^16.0.1"
}
},
"node_modules/@alloc/quick-lru": {
@@ -3151,9 +3151,9 @@
}
},
"node_modules/daisyui": {
"version": "5.1.27",
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.1.27.tgz",
"integrity": "sha512-oCC2RwjrGRPTeEpaXoNmYydzVfSRdyJCthFsi/Q5PErAvaoD8kDarxlW+wiPAx2WmM8W8lXvyAHJUqjObCMWOQ==",
"version": "5.3.7",
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.3.7.tgz",
"integrity": "sha512-0+8PaSGift0HlIQABCeZzWOBV5Nx/vsI2TihB9hbaEyZENPlZZz+se2JnAH5rz9gBYTyDLB7NJup8hkREr6WBw==",
"dev": true,
"license": "MIT",
"funding": {
@@ -3524,19 +3524,6 @@
"integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
"dev": true
},
"node_modules/jintr": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/jintr/-/jintr-3.3.1.tgz",
"integrity": "sha512-nnOzyhf0SLpbWuZ270Omwbj5LcXUkTcZkVnK8/veJXtSZOiATM5gMZMdmzN75FmTyj+NVgrGaPdH12zIJ24oIA==",
"dev": true,
"funding": [
"https://github.com/sponsors/LuanRT"
],
"license": "MIT",
"dependencies": {
"acorn": "^8.8.0"
}
},
"node_modules/jiti": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz",
@@ -3910,6 +3897,16 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/meriyah": {
"version": "6.1.4",
"resolved": "https://registry.npmjs.org/meriyah/-/meriyah-6.1.4.tgz",
"integrity": "sha512-Sz8FzjzI0kN13GK/6MVEsVzMZEPvOhnmmI1lU5+/1cGOiK3QUahntrNNtdVeihrO7t9JpoH75iMNXg6R6uWflQ==",
"dev": true,
"license": "ISC",
"engines": {
"node": ">=18.0.0"
}
},
"node_modules/minipass": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
@@ -4299,9 +4296,9 @@
}
},
"node_modules/rollup-plugin-visualizer": {
"version": "6.0.4",
"resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-6.0.4.tgz",
"integrity": "sha512-q8Q7J/6YofkmaGW1sH/fPRAz37x/+pd7VBuaUU7lwvOS/YikuiiEU9jeb9PH8XHiq50XFrUsBbOxeAMYQ7KZkg==",
"version": "6.0.5",
"resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-6.0.5.tgz",
"integrity": "sha512-9+HlNgKCVbJDs8tVtjQ43US12eqaiHyyiLMdBwQ7vSZPiHMysGNo2E88TAp1si5wx8NAoYriI2A5kuKfIakmJg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4435,9 +4432,9 @@
}
},
"node_modules/svelte": {
"version": "5.39.8",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.39.8.tgz",
"integrity": "sha512-KfZ3hCITdxIXTOvrea4nFZX2o+47HPTChKeocgj9BwJQYqWrviVCcPj4boXHF5yf8+eBKqhHY8xii//XaakKXA==",
"version": "5.40.2",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.40.2.tgz",
"integrity": "sha512-wr/SwBVCVfeHU8FZr48vRrzSpWdBBzGo5mlErjGzeW4reJhK/CWutLZbk/eHwhKqO17ccjeTcvsqjrT4aK3wZA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4461,9 +4458,9 @@
}
},
"node_modules/svelte-check": {
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.3.2.tgz",
"integrity": "sha512-71udP5w2kaSTcX8iV0hn3o2FWlabQHhJTJLIQrCqMsrcOeDUO2VhCQKKCA8AMVHSPwdxLEWkUWh9OKxns5PD9w==",
"version": "4.3.3",
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.3.3.tgz",
"integrity": "sha512-RYP0bEwenDXzfv0P1sKAwjZSlaRyqBn0Fz1TVni58lqyEiqgwztTpmodJrGzP6ZT2aHl4MbTvWP6gbmQ3FOnBg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4675,16 +4672,6 @@
"node": ">=14.17"
}
},
"node_modules/undici": {
"version": "6.21.3",
"resolved": "https://registry.npmjs.org/undici/-/undici-6.21.3.tgz",
"integrity": "sha512-gBLkYIlEnSp8pFbT64yFgGE6UIB9tAkhukC23PmMDCe5Nd+cRqKxSjw5y54MK2AZMgZfJWMaNE4nYUHgi1XEOw==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.17"
}
},
"node_modules/unicode-canonical-property-names-ecmascript": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz",
@@ -4776,9 +4763,9 @@
"dev": true
},
"node_modules/vite": {
"version": "7.1.9",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.1.9.tgz",
"integrity": "sha512-4nVGliEpxmhCL8DslSAUdxlB6+SMrhB0a1v5ijlh1xB1nEPuy1mxaHxysVucLHuWryAxLWg6a5ei+U4TLn/rFg==",
"version": "7.1.10",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.1.10.tgz",
"integrity": "sha512-CmuvUBzVJ/e3HGxhg6cYk88NGgTnBoOo7ogtfJJ0fefUWAxN/WDSUa50o+oVBxuIhO8FoEZW0j2eW7sfjs5EtA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5009,9 +4996,9 @@
}
},
"node_modules/youtubei.js": {
"version": "15.1.1",
"resolved": "https://registry.npmjs.org/youtubei.js/-/youtubei.js-15.1.1.tgz",
"integrity": "sha512-fuEDj9Ky6cAQg93BrRVCbr+GTYNZQAIFZrx/a3oDRuGc3Mf5bS0dQfoYwwgjtSV7sgAKQEEdGtzRdBzOc8g72Q==",
"version": "16.0.1",
"resolved": "https://registry.npmjs.org/youtubei.js/-/youtubei.js-16.0.1.tgz",
"integrity": "sha512-3802bCAGkBc2/G5WUTc0l/bO5mPYJbQAHL04d9hE9PnrDHoBUT8MN721Yqt4RCNncAXdHcfee9VdJy3Fhq1r5g==",
"dev": true,
"funding": [
"https://github.com/sponsors/LuanRT"
@@ -5019,8 +5006,7 @@
"license": "MIT",
"dependencies": {
"@bufbuild/protobuf": "^2.0.0",
"jintr": "^3.3.1",
"undici": "^6.21.3"
"meriyah": "^6.1.4"
}
},
"node_modules/zimmerframe": {
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-web",
"version": "0.42.1",
"version": "0.42.5",
"type": "module",
"scripts": {
"dev": "vite",
@@ -16,22 +16,22 @@
"@vitejs/plugin-legacy": "^7.2.1",
"autoprefixer": "^10.4.21",
"bgutils-js": "^3.2.0",
"daisyui": "^5.1.27",
"daisyui": "^5.3.7",
"dotenv": "^17.2.3",
"ip": "^2.0.1",
"jszip": "^3.10.1",
"postcss": "^8.5.6",
"rollup-plugin-visualizer": "^6.0.4",
"svelte": "^5.39.8",
"svelte-check": "^4.3.2",
"rollup-plugin-visualizer": "^6.0.5",
"svelte": "^5.40.2",
"svelte-check": "^4.3.3",
"svelte-preprocess": "^6.0.3",
"tailwindcss": "^4.1.14",
"terser": "^5.44.0",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^7.1.9",
"vite": "^7.1.10",
"vite-plugin-compression": "^0.5.1",
"vite-tsconfig-paths": "^5.1.4",
"youtubei.js": "^15.1.1"
"youtubei.js": "^16.0.1"
}
}
+5 -1
View File
@@ -237,7 +237,11 @@ function ${newFunctionName}(${args.join(', ')}) as void
logger.logLine = line
`;
if (telemetryEnabled) {
result += ` m.global.telemetry.${originalFunctionName} = line\n`;
result += ` telemetry = m.global.telemetry
if telemetry <> invalid
telemetry.${originalFunctionName} = line
end if
`;
}
result += `end function
`;