Compare commits

..
17 Commits
Author SHA1 Message Date
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
22 changed files with 209 additions and 147 deletions

No files matched your search

+26
View File
@@ -5,6 +5,32 @@ 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/), 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). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [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 ## [0.42.1] - 2025-10-04
### Fixed ### Fixed
+78 -61
View File
@@ -1,22 +1,22 @@
{ {
"name": "playlet", "name": "playlet",
"version": "0.42.1", "version": "0.42.4",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet", "name": "playlet",
"version": "0.42.1", "version": "0.42.4",
"hasInstallScript": true, "hasInstallScript": true,
"devDependencies": { "devDependencies": {
"@rokucommunity/bslint": "^0.8.35", "@rokucommunity/bslint": "^0.8.36",
"@types/crypto-js": "^4.2.2", "@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",
"@types/node": "^24.6.2", "@types/node": "^24.7.1",
"@types/xml2js": "^0.4.14", "@types/xml2js": "^0.4.14",
"argparse": "^2.0.1", "argparse": "^2.0.1",
"brighterscript": "0.70.1", "brighterscript": "0.70.2",
"brighterscript-formatter": "^1.7.18", "brighterscript-formatter": "^1.7.19",
"convert-svg-to-png": "^0.7.1", "convert-svg-to-png": "^0.7.1",
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
"dotenv": "^17.2.3", "dotenv": "^17.2.3",
@@ -25,14 +25,14 @@
"imap": "^0.8.19", "imap": "^0.8.19",
"ip": "^2.0.1", "ip": "^2.0.1",
"json5": "^2.2.3", "json5": "^2.2.3",
"mailparser": "^3.7.4", "mailparser": "^3.7.5",
"protocol-buffers-schema": "^3.6.0", "protocol-buffers-schema": "^3.6.0",
"puppeteer": "^24.23.0", "puppeteer": "^24.24.0",
"roku-deploy": "^3.13.0", "roku-deploy": "^3.13.0",
"roku-test-automation": "^2.2.1", "roku-test-automation": "^2.2.1",
"rooibos-roku": "5.15.5", "rooibos-roku": "5.15.5",
"rounded-rect-9patch": "^1.1.2", "rounded-rect-9patch": "^1.1.2",
"semver": "^7.7.2", "semver": "^7.7.3",
"shelljs": "^0.10.0", "shelljs": "^0.10.0",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "5.9.3", "typescript": "5.9.3",
@@ -414,9 +414,9 @@
"dev": true "dev": true
}, },
"node_modules/@rokucommunity/bslint": { "node_modules/@rokucommunity/bslint": {
"version": "0.8.35", "version": "0.8.36",
"resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.35.tgz", "resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.36.tgz",
"integrity": "sha512-gHRHtD1STid/ay/5NjagQXpKm1UICQVeWOlwBpz1FuoFDW9Vk4EmMjgCW/wmFevE7MHDtoR53rFwC7tNld9OlQ==", "integrity": "sha512-DQaQYpjL3woZxMVL73TPFoBHw9np2ww0Z8SxkqKl6JSURORJ4/tPhYdrQIeyrj51E8XDgl4C9yljRfqfQhKnSQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -736,13 +736,13 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "24.6.2", "version": "24.7.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.6.2.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-24.7.1.tgz",
"integrity": "sha512-d2L25Y4j+W3ZlNAeMKcy7yDsK425ibcAOO2t7aPTz6gNMH0z2GThtwENCDc0d/Pw9wgyRqE5Px1wkV7naz8ang==", "integrity": "sha512-CmyhGZanP88uuC5GpWU9q+fI61j2SkhO3UGMUdfYRE6Bcy0ccyzn1Rqj9YAB/ZY4kOXmNf0ocah5GtphmLMP6Q==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"undici-types": "~7.13.0" "undici-types": "~7.14.0"
} }
}, },
"node_modules/@types/qs": { "node_modules/@types/qs": {
@@ -1279,9 +1279,9 @@
} }
}, },
"node_modules/brighterscript": { "node_modules/brighterscript": {
"version": "0.70.1", "version": "0.70.2",
"resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.70.1.tgz", "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.70.2.tgz",
"integrity": "sha512-1Kq3GG5ZEsDXCAmIpm3IXgk/1qZxHs7GXH4W7uimnhWwieKOrpYNVhevrKuCz9C+OcaQnF5uiCi+0HEIHRwSQg==", "integrity": "sha512-BHCZOKUNM4Pt7uLcA9JhQ17rxGnEz60dUdMfANTXGa8gYVjLNVd2WwVQS1L8roYRUuKXc83Hk01uxzmrcGmz9Q==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -1330,13 +1330,13 @@
} }
}, },
"node_modules/brighterscript-formatter": { "node_modules/brighterscript-formatter": {
"version": "1.7.18", "version": "1.7.19",
"resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.7.18.tgz", "resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.7.19.tgz",
"integrity": "sha512-my59ufvEi6/0JkfkOqtJjXsecnG3Qi3KfzpvgxGJTbWwsYJ1mgkIUF0/zAjekFq6lW+PhlwzMKu4hKAfoX55bw==", "integrity": "sha512-GDitTZ0uM8AdKr9cwssx0IeA1jh9t6Lcp9fm68Pk9LrRG3otGe+eYP2Y/1+axn6T4MBo6zfjrsJy2JrdbaDbWw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"brighterscript": "^0.70.1", "brighterscript": "^0.70.2",
"glob-all": "^3.3.0", "glob-all": "^3.3.0",
"jsonc-parser": "^3.0.0", "jsonc-parser": "^3.0.0",
"source-map": "^0.7.3", "source-map": "^0.7.3",
@@ -4321,28 +4321,45 @@
} }
}, },
"node_modules/mailparser": { "node_modules/mailparser": {
"version": "3.7.4", "version": "3.7.5",
"resolved": "https://registry.npmjs.org/mailparser/-/mailparser-3.7.4.tgz", "resolved": "https://registry.npmjs.org/mailparser/-/mailparser-3.7.5.tgz",
"integrity": "sha512-Beh4yyR4jLq3CZZ32asajByrXnW8dLyKCAQD3WvtTiBnMtFWhxO+wa93F6sJNjDmfjxXs4NRNjw3XAGLqZR3Vg==", "integrity": "sha512-o59RgZC+4SyCOn4xRH1mtRiZ1PbEmi6si6Ufnd3tbX/V9zmZN1qcqu8xbXY62H6CwIclOT3ppm5u/wV2nujn4g==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"encoding-japanese": "2.2.0", "encoding-japanese": "2.2.0",
"he": "1.2.0", "he": "1.2.0",
"html-to-text": "9.0.5", "html-to-text": "9.0.5",
"iconv-lite": "0.6.3", "iconv-lite": "0.7.0",
"libmime": "5.3.7", "libmime": "5.3.7",
"linkify-it": "5.0.0", "linkify-it": "5.0.0",
"mailsplit": "5.4.5", "mailsplit": "5.4.6",
"nodemailer": "7.0.4", "nodemailer": "7.0.9",
"punycode.js": "2.3.1", "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": { "node_modules/mailsplit": {
"version": "5.4.5", "version": "5.4.6",
"resolved": "https://registry.npmjs.org/mailsplit/-/mailsplit-5.4.5.tgz", "resolved": "https://registry.npmjs.org/mailsplit/-/mailsplit-5.4.6.tgz",
"integrity": "sha512-oMfhmvclR689IIaQmIcR5nODnZRRVwAKtqFT407TIvmhX2OLUBnshUTcxzQBt3+96sZVDud9NfSe1NxAkUNXEQ==", "integrity": "sha512-M+cqmzaPG/mEiCDmqQUz8L177JZLZmXAUpq38owtpq2xlXlTSw+kntnxRt2xsxVFFV6+T8Mj/U0l5s7s6e0rNw==",
"dev": true, "dev": true,
"license": "(MIT OR EUPL-1.1+)", "license": "(MIT OR EUPL-1.1+)",
"dependencies": { "dependencies": {
@@ -4651,9 +4668,9 @@
} }
}, },
"node_modules/nodemailer": { "node_modules/nodemailer": {
"version": "7.0.4", "version": "7.0.9",
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-7.0.4.tgz", "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-7.0.9.tgz",
"integrity": "sha512-9O00Vh89/Ld2EcVCqJ/etd7u20UhME0f/NToPfArwPEe1Don1zy4mAIz6ariRr7mJ2RDxtaDzN0WJVdVXPtZaw==", "integrity": "sha512-9/Qm0qXIByEP8lEV2qOqcAW7bRpL8CR9jcTwk3NBnHJNmP9fIJ86g2fgmIXqHY+nj55ZEMwWqYAT2QTDpRUYiQ==",
"dev": true, "dev": true,
"license": "MIT-0", "license": "MIT-0",
"engines": { "engines": {
@@ -5300,18 +5317,18 @@
} }
}, },
"node_modules/puppeteer": { "node_modules/puppeteer": {
"version": "24.23.0", "version": "24.24.0",
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.23.0.tgz", "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.24.0.tgz",
"integrity": "sha512-BVR1Lg8sJGKXY79JARdIssFWK2F6e1j+RyuJP66w4CUmpaXjENicmA3nNpUXA8lcTdDjAndtP+oNdni3T/qQqA==", "integrity": "sha512-jRn6T8rSrQZXIplXICpH2zYJ2XrIFY7Ug0+TxRTuwY8ZTL7+MKDvFH0aLG7Xx3ts4twzxIKZmiYo+qg7whNpZw==",
"dev": true, "dev": true,
"hasInstallScript": true, "hasInstallScript": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@puppeteer/browsers": "2.10.10", "@puppeteer/browsers": "2.10.11",
"chromium-bidi": "9.1.0", "chromium-bidi": "9.1.0",
"cosmiconfig": "^9.0.0", "cosmiconfig": "^9.0.0",
"devtools-protocol": "0.0.1508733", "devtools-protocol": "0.0.1508733",
"puppeteer-core": "24.23.0", "puppeteer-core": "24.24.0",
"typed-query-selector": "^2.12.0" "typed-query-selector": "^2.12.0"
}, },
"bin": { "bin": {
@@ -5345,9 +5362,9 @@
"dev": true "dev": true
}, },
"node_modules/puppeteer/node_modules/@puppeteer/browsers": { "node_modules/puppeteer/node_modules/@puppeteer/browsers": {
"version": "2.10.10", "version": "2.10.11",
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.10.tgz", "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.11.tgz",
"integrity": "sha512-3ZG500+ZeLql8rE0hjfhkycJjDj0pI/btEh3L9IkWUYcOrgP0xCNRq3HbtbqOPbvDhFaAWD88pDFtlLv8ns8gA==", "integrity": "sha512-kp3ORGce+oC3qUMJ+g5NH9W4Q7mMG7gV2I+alv0bCbfkZ36B2V/xKCg9uYavSgjmsElhwBneahWjJP7A6fuKLw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@@ -5356,7 +5373,7 @@
"progress": "^2.0.3", "progress": "^2.0.3",
"proxy-agent": "^6.5.0", "proxy-agent": "^6.5.0",
"semver": "^7.7.2", "semver": "^7.7.2",
"tar-fs": "^3.1.0", "tar-fs": "^3.1.1",
"yargs": "^17.7.2" "yargs": "^17.7.2"
}, },
"bin": { "bin": {
@@ -5456,13 +5473,13 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/puppeteer/node_modules/puppeteer-core": { "node_modules/puppeteer/node_modules/puppeteer-core": {
"version": "24.23.0", "version": "24.24.0",
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.23.0.tgz", "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.24.0.tgz",
"integrity": "sha512-yl25C59gb14sOdIiSnJ08XiPP+O2RjuyZmEG+RjYmCXO7au0jcLf7fRiyii96dXGUBW7Zwei/mVKfxMx/POeFw==", "integrity": "sha512-RR5AeQ6dIbSepDe9PTtfgK1fgD7TuA9qqyGxPbFCyGfvfkbR7MiqNYdE7AhbTaFIqG3hFBtWwbVKVZF8oEqj7Q==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@puppeteer/browsers": "2.10.10", "@puppeteer/browsers": "2.10.11",
"chromium-bidi": "9.1.0", "chromium-bidi": "9.1.0",
"debug": "^4.4.3", "debug": "^4.4.3",
"devtools-protocol": "0.0.1508733", "devtools-protocol": "0.0.1508733",
@@ -6717,9 +6734,9 @@
} }
}, },
"node_modules/semver": { "node_modules/semver": {
"version": "7.7.2", "version": "7.7.3",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
"integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
"dev": true, "dev": true,
"license": "ISC", "license": "ISC",
"bin": { "bin": {
@@ -7228,9 +7245,9 @@
} }
}, },
"node_modules/tar-fs": { "node_modules/tar-fs": {
"version": "3.1.0", "version": "3.1.1",
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.0.tgz", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.1.tgz",
"integrity": "sha512-5Mty5y/sOF1YWj1J6GiBodjlDc05CUR8PKXrsnFAiSG0xA+GHeWLovaZPYUDXkH/1iKRf2+M5+OrRgzC7O9b7w==", "integrity": "sha512-LZA0oaPOc2fVo82Txf3gw+AkEd38szODlptMYejQUhndHMLQ9M059uXR+AfS7DNo0NpINvSqDsvyaCrBVkptWg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -7308,9 +7325,9 @@
"dev": true "dev": true
}, },
"node_modules/tlds": { "node_modules/tlds": {
"version": "1.259.0", "version": "1.260.0",
"resolved": "https://registry.npmjs.org/tlds/-/tlds-1.259.0.tgz", "resolved": "https://registry.npmjs.org/tlds/-/tlds-1.260.0.tgz",
"integrity": "sha512-AldGGlDP0PNgwppe2quAvuBl18UcjuNtOnDuUkqhd6ipPqrYYBt3aTxK1QTsBVknk97lS2JcafWMghjGWFtunw==", "integrity": "sha512-78+28EWBhCEE7qlyaHA9OR3IPvbCLiDh3Ckla593TksfFc9vfTsgvH7eS+dr3o9qr31gwGbogcI16yN91PoRjQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@@ -7502,9 +7519,9 @@
} }
}, },
"node_modules/undici-types": { "node_modules/undici-types": {
"version": "7.13.0", "version": "7.14.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.13.0.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.14.0.tgz",
"integrity": "sha512-Ov2Rr9Sx+fRgagJ5AX0qvItZG/JKKoBRAVITs1zk7IqZGTJUwgUr7qoYBpWwakpWilTZFM98rG/AFRocu10iIQ==", "integrity": "sha512-QQiYxHuyZ9gQUIrmPo3IA+hUl4KYk8uSA7cHrcKd/l3p1OTpZcM0Tbp9x7FAtXdAYhlasd60ncPpgu6ihG6TOA==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
+8 -8
View File
@@ -1,16 +1,16 @@
{ {
"name": "playlet", "name": "playlet",
"version": "0.42.1", "version": "0.42.4",
"description": "Unofficial YouTube client for Roku", "description": "Unofficial YouTube client for Roku",
"devDependencies": { "devDependencies": {
"@rokucommunity/bslint": "^0.8.35", "@rokucommunity/bslint": "^0.8.36",
"@types/crypto-js": "^4.2.2", "@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",
"@types/node": "^24.6.2", "@types/node": "^24.7.1",
"@types/xml2js": "^0.4.14", "@types/xml2js": "^0.4.14",
"argparse": "^2.0.1", "argparse": "^2.0.1",
"brighterscript": "0.70.1", "brighterscript": "0.70.2",
"brighterscript-formatter": "^1.7.18", "brighterscript-formatter": "^1.7.19",
"convert-svg-to-png": "^0.7.1", "convert-svg-to-png": "^0.7.1",
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
"dotenv": "^17.2.3", "dotenv": "^17.2.3",
@@ -19,14 +19,14 @@
"imap": "^0.8.19", "imap": "^0.8.19",
"ip": "^2.0.1", "ip": "^2.0.1",
"json5": "^2.2.3", "json5": "^2.2.3",
"mailparser": "^3.7.4", "mailparser": "^3.7.5",
"protocol-buffers-schema": "^3.6.0", "protocol-buffers-schema": "^3.6.0",
"puppeteer": "^24.23.0", "puppeteer": "^24.24.0",
"roku-deploy": "^3.13.0", "roku-deploy": "^3.13.0",
"roku-test-automation": "^2.2.1", "roku-test-automation": "^2.2.1",
"rooibos-roku": "5.15.5", "rooibos-roku": "5.15.5",
"rounded-rect-9patch": "^1.1.2", "rounded-rect-9patch": "^1.1.2",
"semver": "^7.7.2", "semver": "^7.7.3",
"shelljs": "^0.10.0", "shelljs": "^0.10.0",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "5.9.3", "typescript": "5.9.3",
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "playlet-app", "name": "playlet-app",
"version": "0.42.1", "version": "0.42.4",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet-app", "name": "playlet-app",
"version": "0.42.1" "version": "0.42.4"
} }
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "playlet-app", "name": "playlet-app",
"version": "0.42.1", "version": "0.42.4",
"description": "Unofficial YouTube client for Roku", "description": "Unofficial YouTube client for Roku",
"scripts": { "scripts": {
"prebuild": "rm -rf ../build/playlet-app", "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 # Do not update version manually, it is auto updated from package.json
major_version=0 major_version=0
minor_version=42 minor_version=42
build_version=00001 build_version=00004
ui_resolutions=hd ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "playlet-lib", "name": "playlet-lib",
"version": "0.42.1", "version": "0.42.4",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet-lib", "name": "playlet-lib",
"version": "0.42.1" "version": "0.42.4"
} }
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "playlet-lib", "name": "playlet-lib",
"version": "0.42.1", "version": "0.42.4",
"description": "Unofficial YouTube client for Roku", "description": "Unofficial YouTube client for Roku",
"scripts": { "scripts": {
"prebuild": "rm -rf ../build/playlet-lib", "prebuild": "rm -rf ../build/playlet-lib",
@@ -169,6 +169,7 @@ namespace InnertubeService
if raw if raw
parsedResponse["nextResponse"] = nextResponse.Json() parsedResponse["nextResponse"] = nextResponse.Json()
return parsedResponse
end if end if
return Innertube.ParseInnertubeNextResponse(nextResponse.Json(), parsedResponse, nextResponse) return Innertube.ParseInnertubeNextResponse(nextResponse.Json(), parsedResponse, nextResponse)
@@ -772,12 +773,8 @@ namespace InnertubeService
return false return false
end function end function
function AuthRevokeAccessToken(accessToken as object, cancellation = invalid as object) as boolean function AuthRevokeToken(token as string, cancellation = invalid as object) as boolean
if not IsAssociativeArray(accessToken) return Innertube.RevokeToken(token, cancellation)
return false
end if
return Innertube.RevokeAccessToken(accessToken["accessToken"], cancellation)
end function end function
function AuthListAccounts(accessToken as string, cancellation = invalid as object) as object function AuthListAccounts(accessToken as string, cancellation = invalid as object) as object
@@ -91,6 +91,8 @@ namespace Innertube
"gridContinuation": ParseGridContinuation "gridContinuation": ParseGridContinuation
"tvSurfaceContentContinuation": ParseTvSurfaceContentContinuation "tvSurfaceContentContinuation": ParseTvSurfaceContentContinuation
' Ignored nodes: ' 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 ' TODO:P2 radioRenderer seems like a Mix https://github.com/iBicha/playlet/issues/709
"radioRenderer": ParseNotImplemented "radioRenderer": ParseNotImplemented
"compactRadioRenderer": ParseNotImplemented "compactRadioRenderer": ParseNotImplemented
@@ -1296,6 +1298,7 @@ namespace Innertube
return TileRendererTypePlaylist(nodeData, context) return TileRendererTypePlaylist(nodeData, context)
else if contentType = "TILE_CONTENT_TYPE_CHANNEL" else if contentType = "TILE_CONTENT_TYPE_CHANNEL"
' Not implemented yet - https://github.com/iBicha/playlet/issues/724 ' Not implemented yet - https://github.com/iBicha/playlet/issues/724
return invalid
else if contentType = "TILE_CONTENT_TYPE_EDU" else if contentType = "TILE_CONTENT_TYPE_EDU"
' Not implemented yet - https://github.com/iBicha/playlet/issues/751 ' Not implemented yet - https://github.com/iBicha/playlet/issues/751
return invalid return invalid
@@ -1362,6 +1365,10 @@ namespace Innertube
end if end if
end if end if
if lengthText = ""
lengthText = ParseText(ObjectUtils.Dig(nodeData, ["header", "trackTileHeaderRenderer", "duration"]))
end if
renderedLines = [] renderedLines = []
lines = ObjectUtils.Dig(nodeData, ["metadata", "tileMetadataRenderer", "lines"]) lines = ObjectUtils.Dig(nodeData, ["metadata", "tileMetadataRenderer", "lines"])
if IsArray(lines) if IsArray(lines)
@@ -1373,10 +1380,15 @@ namespace Innertube
end for end for
end if end if
title = ParseText(ObjectUtils.Dig(nodeData, ["metadata", "tileMetadataRenderer", "title"]))
if title = ""
title = ParseText(ObjectUtils.Dig(nodeData, ["header", "trackTileHeaderRenderer", "title"]))
end if
video = { video = {
"type": "video" "type": "video"
"videoId": videoId "videoId": videoId
"title": ParseText(ObjectUtils.Dig(nodeData, ["metadata", "tileMetadataRenderer", "title"])) "title": title
"videoThumbnails": videoThumbnails "videoThumbnails": videoThumbnails
"lengthText": lengthText "lengthText": lengthText
"liveNow": liveNow "liveNow": liveNow
@@ -1630,13 +1642,13 @@ namespace Innertube
return nodeData["content"] return nodeData["content"]
end function end function
function ParseText(data as object) as string function ParseText(data as dynamic) as string
if data = invalid
return ""
end if
if IsString(data) if IsString(data)
return data return data
end if end if
if not IsAssociativeArray(data)
return ""
end if
if data.DoesExist("simpleText") if data.DoesExist("simpleText")
return data["simpleText"] return data["simpleText"]
end if end if
@@ -183,9 +183,10 @@ namespace Innertube
return responseData return responseData
end function end function
function RevokeAccessToken(accessToken as string, cancellation = invalid as dynamic) as boolean function RevokeToken(token as string, cancellation = invalid as dynamic) as boolean
request = HttpClient.Post("https://www.youtube.com/o/oauth2/revoke", "") request = HttpClient.PostJson("https://www.youtube.com/o/oauth2/revoke", {
request.QueryParam("token", accessToken) "token": token
})
request.Cancellation(cancellation) request.Cancellation(cancellation)
response = request.Await() response = request.Await()
success = response.IsSuccess() success = response.IsSuccess()
@@ -291,7 +291,11 @@ namespace Innertube
end if end if
queryComponents = UrlUtils.ParseQueryComponents(baseUrl) 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) baseUrl = UrlUtils.SetQueryParams(baseUrl, queryComponents)
languageCode = track["languageCode"] languageCode = track["languageCode"]
@@ -299,19 +303,7 @@ namespace Innertube
continue for continue for
end if end if
label = "" label = ParseText(track["name"])
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
captions.Push({ captions.Push({
"label": label "label": label
@@ -10,22 +10,19 @@ function ExecuteJob() as void
service = new Invidious.InvidiousService(invidiousNode) service = new Invidious.InvidiousService(invidiousNode)
for each profileNode in profileContentNodes for each profileNode in profileContentNodes
' Refresh token is for Innertube
token = profileNode.refreshToken
if StringUtils.IsNullOrEmpty(token)
token = profileNode.accessToken
end if
authToken = { authToken = {
instance: profileNode.serverUrl instance: profileNode.serverUrl
token: profileNode.accessToken token: token
} }
response = service.UnregisterToken(authToken) response = service.UnregisterToken(authToken)
if not response.IsSuccess() if not response.IsSuccess()
LogWarn(`Failed to unregister token: ${response.ErrorMessage()}`) LogWarn(`Failed to unregister token: ${response.ErrorMessage()}`)
end if 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 for
end function end function
@@ -89,6 +89,8 @@ namespace SponsorBlock
if not response.IsSuccess() if not response.IsSuccess()
if response.IsCancelled() if response.IsCancelled()
LogErrorNoTelemetry(response.ErrorMessage()) LogErrorNoTelemetry(response.ErrorMessage())
else if response.StatusCode() >= 500
LogErrorNoTelemetry("SponsorBlock server error:", response.StatusCode())
else else
LogError(response.ErrorMessage()) LogError(response.ErrorMessage())
end if end if
@@ -13,12 +13,6 @@ function Init() as void
end function end function
function OnNodeReady() as void 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.top.ObserveField("enabled", FuncName(OnEnabledChanged))
m.preferences.ObserveFieldScoped("dev.diagnostics.enabled", FuncName(OnPreferencesChanged)) m.preferences.ObserveFieldScoped("dev.diagnostics.enabled", FuncName(OnPreferencesChanged))
enabled = m.preferences["dev.diagnostics.enabled"] enabled = m.preferences["dev.diagnostics.enabled"]
@@ -46,6 +40,13 @@ end function
function TelemetryLoop() as void function TelemetryLoop() as void
msgPort = CreateObject("roMessagePort") 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("LogInfo", msgPort)
m.top.observeField("LogWarn", msgPort) m.top.observeField("LogWarn", msgPort)
m.top.observeField("LogError", msgPort) m.top.observeField("LogError", msgPort)
@@ -29,19 +29,19 @@ namespace Http
request = context.request request = context.request
response = context.response response = context.response
accessToken = request.body token = request.body
if StringUtils.IsNullOrEmpty(accessToken) if StringUtils.IsNullOrEmpty(token)
response.Json({ response.Json({
"error": "Missing 'accessToken' body parameter" "error": "Missing 'token' body parameter"
}) })
response.http_code = 400 response.http_code = 400
return true return true
end if end if
if not InnertubeService.AuthRevokeAccessToken({ "accessToken": accessToken }) if not InnertubeService.AuthRevokeToken(token)
response.Json({ response.Json({
"error": "Failed to unregister token" "error": "Failed to revoke token"
}) })
response.http_code = 500 response.http_code = 500
return true return true
@@ -11,6 +11,7 @@ trending:
region: region:
type: "#ISO3166" type: "#ISO3166"
default: GetUserCountryCode default: GetUserCountryCode
tryCount: 3 # trending is being phased out, sometimes it returns a 400 INVALID_ARGUMENT
popular: popular:
title: Popular title: Popular
+14 -2
View File
@@ -1366,11 +1366,11 @@
</message> </message>
<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> <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>
<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> <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>
<message> <message>
<source>Select option for %1</source> <source>Select option for %1</source>
@@ -1384,5 +1384,17 @@
<source>Disable</source> <source>Disable</source>
<translation>Deaktivieren</translation> <translation>Deaktivieren</translation>
</message> </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> </context>
</TS> </TS>
+1 -1
View File
@@ -3,7 +3,7 @@ title=PlayletLib
# Do not update version manually, it is auto updated from package.json # Do not update version manually, it is auto updated from package.json
major_version=0 major_version=0
minor_version=42 minor_version=42
build_version=00001 build_version=00004
ui_resolutions=hd ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p uri_resolution_autosub=$$RES$$,480p,720p,1080p
+14 -14
View File
@@ -1,12 +1,12 @@
{ {
"name": "playlet-web", "name": "playlet-web",
"version": "0.42.1", "version": "0.42.4",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet-web", "name": "playlet-web",
"version": "0.42.1", "version": "0.42.4",
"devDependencies": { "devDependencies": {
"@sveltejs/vite-plugin-svelte": "^6.2.1", "@sveltejs/vite-plugin-svelte": "^6.2.1",
"@tailwindcss/postcss": "^4.1.14", "@tailwindcss/postcss": "^4.1.14",
@@ -15,14 +15,14 @@
"@vitejs/plugin-legacy": "^7.2.1", "@vitejs/plugin-legacy": "^7.2.1",
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.21",
"bgutils-js": "^3.2.0", "bgutils-js": "^3.2.0",
"daisyui": "^5.1.27", "daisyui": "^5.2.0",
"dotenv": "^17.2.3", "dotenv": "^17.2.3",
"ip": "^2.0.1", "ip": "^2.0.1",
"jszip": "^3.10.1", "jszip": "^3.10.1",
"postcss": "^8.5.6", "postcss": "^8.5.6",
"rollup-plugin-visualizer": "^6.0.4", "rollup-plugin-visualizer": "^6.0.4",
"svelte": "^5.39.8", "svelte": "^5.39.11",
"svelte-check": "^4.3.2", "svelte-check": "^4.3.3",
"svelte-preprocess": "^6.0.3", "svelte-preprocess": "^6.0.3",
"tailwindcss": "^4.1.14", "tailwindcss": "^4.1.14",
"terser": "^5.44.0", "terser": "^5.44.0",
@@ -3151,9 +3151,9 @@
} }
}, },
"node_modules/daisyui": { "node_modules/daisyui": {
"version": "5.1.27", "version": "5.2.0",
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.1.27.tgz", "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.2.0.tgz",
"integrity": "sha512-oCC2RwjrGRPTeEpaXoNmYydzVfSRdyJCthFsi/Q5PErAvaoD8kDarxlW+wiPAx2WmM8W8lXvyAHJUqjObCMWOQ==", "integrity": "sha512-/DXfgR3qI5nGEzBygK9kXsKHO+abiMyv31efTi5ezEsZcrojq9cyNrrgX3+FxHyXSorxJ+CVUG7Ho9nUrCBmfg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"funding": { "funding": {
@@ -4435,9 +4435,9 @@
} }
}, },
"node_modules/svelte": { "node_modules/svelte": {
"version": "5.39.8", "version": "5.39.11",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.39.8.tgz", "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.39.11.tgz",
"integrity": "sha512-KfZ3hCITdxIXTOvrea4nFZX2o+47HPTChKeocgj9BwJQYqWrviVCcPj4boXHF5yf8+eBKqhHY8xii//XaakKXA==", "integrity": "sha512-8MxWVm2+3YwrFbPaxOlT1bbMi6OTenrAgks6soZfiaS8Fptk4EVyRIFhJc3RpO264EeSNwgjWAdki0ufg4zkGw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -4461,9 +4461,9 @@
} }
}, },
"node_modules/svelte-check": { "node_modules/svelte-check": {
"version": "4.3.2", "version": "4.3.3",
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.3.2.tgz", "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.3.3.tgz",
"integrity": "sha512-71udP5w2kaSTcX8iV0hn3o2FWlabQHhJTJLIQrCqMsrcOeDUO2VhCQKKCA8AMVHSPwdxLEWkUWh9OKxns5PD9w==", "integrity": "sha512-RYP0bEwenDXzfv0P1sKAwjZSlaRyqBn0Fz1TVni58lqyEiqgwztTpmodJrGzP6ZT2aHl4MbTvWP6gbmQ3FOnBg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
+4 -4
View File
@@ -1,6 +1,6 @@
{ {
"name": "playlet-web", "name": "playlet-web",
"version": "0.42.1", "version": "0.42.4",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
@@ -16,14 +16,14 @@
"@vitejs/plugin-legacy": "^7.2.1", "@vitejs/plugin-legacy": "^7.2.1",
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.21",
"bgutils-js": "^3.2.0", "bgutils-js": "^3.2.0",
"daisyui": "^5.1.27", "daisyui": "^5.2.0",
"dotenv": "^17.2.3", "dotenv": "^17.2.3",
"ip": "^2.0.1", "ip": "^2.0.1",
"jszip": "^3.10.1", "jszip": "^3.10.1",
"postcss": "^8.5.6", "postcss": "^8.5.6",
"rollup-plugin-visualizer": "^6.0.4", "rollup-plugin-visualizer": "^6.0.4",
"svelte": "^5.39.8", "svelte": "^5.39.11",
"svelte-check": "^4.3.2", "svelte-check": "^4.3.3",
"svelte-preprocess": "^6.0.3", "svelte-preprocess": "^6.0.3",
"tailwindcss": "^4.1.14", "tailwindcss": "^4.1.14",
"terser": "^5.44.0", "terser": "^5.44.0",
+5 -1
View File
@@ -237,7 +237,11 @@ function ${newFunctionName}(${args.join(', ')}) as void
logger.logLine = line logger.logLine = line
`; `;
if (telemetryEnabled) { 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 result += `end function
`; `;