Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91b17fa4a4 | ||
|
|
943d39af33 | ||
|
|
e8015d52ff | ||
|
|
d919489f50 | ||
|
|
62675446b2 | ||
|
|
4a8b12294d | ||
|
|
5583f55aae | ||
|
|
d4f15e7dfb | ||
|
|
de7c3f8a99 | ||
|
|
b35dc4423e | ||
|
|
23146706ee | ||
|
|
d10444b96c | ||
|
|
2f7ba64488 | ||
|
|
f1f50cc19e | ||
|
|
b3a9887634 | ||
|
|
c56092144f | ||
|
|
750472912e | ||
|
|
ae83c47bfe | ||
|
|
e08bc86334 | ||
|
|
10aaf74c38 | ||
|
|
79464a003e | ||
|
|
f7b8aa6c29 | ||
|
|
59e378cc9c | ||
|
|
a1c178830a | ||
|
|
173e6ffa6c | ||
|
|
207614ac5c | ||
|
|
5c7c6e83c3 | ||
|
|
9ceb1c8963 | ||
|
|
106a664c9f | ||
|
|
bd3ac7b9c1 |
No files matched your search
+28
-1
@@ -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/),
|
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.36.5] - 2025-05-02
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Small error handling bug in Playlet backend
|
||||||
|
|
||||||
|
## [0.36.4] - 2025-04-19
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Portuguese (Brazil) translations (Thanks to davbrasan)
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- Startup announcement dialog
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- German translation (Thanks to Atalanttore)
|
||||||
|
|
||||||
|
## [0.36.3] - 2025-04-02
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Playlet backend parsing issue in search results
|
||||||
|
- Bug with saving search history
|
||||||
|
|
||||||
## [0.36.2] - 2025-02-28
|
## [0.36.2] - 2025-02-28
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@@ -20,7 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Session data persists for 24 hours
|
- Session data persists for 24 hours
|
||||||
- It reduces the privacy of the app, but can help with `Sign in to confirm you're not a bot` errors
|
- It reduces the privacy of the app, but can help with `Sign in to confirm you're not a bot` errors
|
||||||
|
|
||||||
## Changed
|
### Changed
|
||||||
|
|
||||||
- Video queue view might be missing video titles and durations
|
- Video queue view might be missing video titles and durations
|
||||||
- This is done to reduce the risk of rate limiting. No video titles in the queue is better than no videos playing at all.
|
- This is done to reduce the risk of rate limiting. No video titles in the queue is better than no videos playing at all.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<a href="/LICENSE">
|
<a href="/LICENSE">
|
||||||
<img alt="AGPL-3.0 license" src="https://img.shields.io/github/license/iBicha/playlet.svg"/>
|
<img alt="AGPL-3.0 license" src="https://img.shields.io/github/license/iBicha/playlet.svg"/>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://channelstore.roku.com/details/840aec36f51bfe6d96cf6db9055a372a/playlet">
|
<a href="https://channelstore.roku.com/details/4a41d0921265a5e31429a7679442153f:b5bcb5b630c28b01e93bf59856317b43/playlet">
|
||||||
<img alt="Roku Channel Store" src="https://img.shields.io/badge/Roku%20Store-Install-blueviolet?logo=roku&logoColor=blueviolet&labelColor=white"/>
|
<img alt="Roku Channel Store" src="https://img.shields.io/badge/Roku%20Store-Install-blueviolet?logo=roku&logoColor=blueviolet&labelColor=white"/>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://github.com/iBicha/playlet/wiki">
|
<a href="https://github.com/iBicha/playlet/wiki">
|
||||||
@@ -40,7 +40,7 @@ More under [Screenshots](./docs/screenshots/README.md)
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
[Playlet on Roku channel store](https://channelstore.roku.com/details/840aec36f51bfe6d96cf6db9055a372a/playlet) or search "Playlet" in the Roku channel store on your device.
|
[Playlet on Roku channel store](https://channelstore.roku.com/details/4a41d0921265a5e31429a7679442153f:b5bcb5b630c28b01e93bf59856317b43/playlet) or search "Playlet" in the Roku channel store on your device.
|
||||||
|
|
||||||
Can't install from the store? See [How to install Playlet as a sideloaded/dev app](https://github.com/iBicha/playlet/discussions/371)
|
Can't install from the store? See [How to install Playlet as a sideloaded/dev app](https://github.com/iBicha/playlet/discussions/371)
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ openapi: 3.0.0
|
|||||||
|
|
||||||
info:
|
info:
|
||||||
title: Playlet Web API
|
title: Playlet Web API
|
||||||
version: 0.36.2
|
version: 0.36.5
|
||||||
description:
|
description:
|
||||||
Playlet Web API is a RESTful API for controlling the Playlet app on
|
Playlet Web API is a RESTful API for controlling the Playlet app on
|
||||||
Roku devices. The API is intended to be used by the Playlet web app, but can
|
Roku devices. The API is intended to be used by the Playlet web app, but can
|
||||||
|
|||||||
Generated
+567
-285
File diff suppressed because it is too large.
Load diff
+12
-11
@@ -1,20 +1,20 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.36.2",
|
"version": "0.36.5",
|
||||||
"description": "Unofficial YouTube client for Roku",
|
"description": "Unofficial YouTube client for Roku",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rokucommunity/bslint": "^0.8.28",
|
"@rokucommunity/bslint": "^0.8.28",
|
||||||
"@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": "^22.13.5",
|
"@types/node": "^22.14.1",
|
||||||
"@types/xml2js": "^0.4.14",
|
"@types/xml2js": "^0.4.14",
|
||||||
"argparse": "^2.0.1",
|
"argparse": "^2.0.1",
|
||||||
"brighterscript": "0.68.5",
|
"brighterscript": "0.68.5",
|
||||||
"brighterscript-formatter": "^1.7.10",
|
"brighterscript-formatter": "^1.7.12",
|
||||||
"cheerio": "1.0.0-rc.11",
|
"cheerio": "1.0.0-rc.11",
|
||||||
"convert-svg-to-png": "^0.6.4",
|
"convert-svg-to-png": "^0.6.4",
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
"dotenv": "^16.4.7",
|
"dotenv": "^16.5.0",
|
||||||
"fs-extra": "^11.3.0",
|
"fs-extra": "^11.3.0",
|
||||||
"glob": "^11.0.1",
|
"glob": "^11.0.1",
|
||||||
"imap": "^0.8.19",
|
"imap": "^0.8.19",
|
||||||
@@ -23,15 +23,15 @@
|
|||||||
"mailparser": "^3.7.2",
|
"mailparser": "^3.7.2",
|
||||||
"protocol-buffers-schema": "^3.6.0",
|
"protocol-buffers-schema": "^3.6.0",
|
||||||
"roku-deploy": "^3.12.4",
|
"roku-deploy": "^3.12.4",
|
||||||
"roku-test-automation": "^2.0.10",
|
"roku-test-automation": "^2.0.13",
|
||||||
"rooibos-roku": "5.15.2",
|
"rooibos-roku": "5.15.7",
|
||||||
"rounded-rect-9patch": "^1.1.2",
|
"rounded-rect-9patch": "^1.1.2",
|
||||||
"semver": "^7.7.1",
|
"semver": "^7.7.1",
|
||||||
"shelljs": "^0.8.5",
|
"shelljs": "^0.9.2",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
"typescript": "5.7.3",
|
"typescript": "5.8.3",
|
||||||
"xml2js": "^0.6.2",
|
"xml2js": "^0.6.2",
|
||||||
"yaml": "^2.7.0"
|
"yaml": "^2.7.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "20"
|
"node": "20"
|
||||||
@@ -66,14 +66,15 @@
|
|||||||
"convert-images": "node tools/convert-images.js",
|
"convert-images": "node tools/convert-images.js",
|
||||||
"update-rale-component": "cd tools/RALE && rm TrackerTask.xml && curl -o TrackerTask.zip https://devtools.web.roku.com/roku-advanced-layout-editor/app/TrackerTask.zip && unzip TrackerTask.zip && rm TrackerTask.zip",
|
"update-rale-component": "cd tools/RALE && rm TrackerTask.xml && curl -o TrackerTask.zip https://devtools.web.roku.com/roku-advanced-layout-editor/app/TrackerTask.zip && unzip TrackerTask.zip && rm TrackerTask.zip",
|
||||||
"postinstall": "cd playlet-lib && npm install && cd ../playlet-app && npm install && cd ../playlet-web && npm install",
|
"postinstall": "cd playlet-lib && npm install && cd ../playlet-app && npm install && cd ../playlet-web && npm install",
|
||||||
"update-deps": "npx npm-check-updates --deep --upgrade --install always --reject tailwindcss,cheerio",
|
"update-deps": "npx npm-check-updates --deep --upgrade --install always --reject tailwindcss,cheerio,brighterscript,daisyui",
|
||||||
"registry:write": "node tools/registry.js --input registry.json",
|
"registry:write": "node tools/registry.js --input registry.json",
|
||||||
"registry:read": "node tools/registry.js --output registry.json",
|
"registry:read": "node tools/registry.js --output registry.json",
|
||||||
"registry:clear": "node tools/registry.js --clear",
|
"registry:clear": "node tools/registry.js --clear",
|
||||||
"restart-app": "node tools/restart-app.js",
|
"restart-app": "node tools/restart-app.js",
|
||||||
|
"check-for-updates": "node tools/check-for-updates.js",
|
||||||
"shutdown": "node tools/shutdown.js"
|
"shutdown": "node tools/shutdown.js"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@rollup/rollup-linux-x64-gnu": "^4.34.8"
|
"@rollup/rollup-linux-x64-gnu": "^4.40.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.36.2",
|
"version": "0.36.5",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.36.2"
|
"version": "0.36.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.36.2",
|
"version": "0.36.5",
|
||||||
"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",
|
||||||
|
|||||||
@@ -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=36
|
minor_version=36
|
||||||
build_version=00002
|
build_version=00005
|
||||||
|
|
||||||
ui_resolutions=hd
|
ui_resolutions=hd
|
||||||
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.36.2",
|
"version": "0.36.5",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.36.2"
|
"version": "0.36.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.36.2",
|
"version": "0.36.5",
|
||||||
"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",
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ function MainSceneContainerChanged()
|
|||||||
InitEcpArgs()
|
InitEcpArgs()
|
||||||
m.scene.signalBeacon("AppLaunchComplete")
|
m.scene.signalBeacon("AppLaunchComplete")
|
||||||
CopyLoadingMessagesToCache()
|
CopyLoadingMessagesToCache()
|
||||||
ShowAnnouncement()
|
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function StartWebServer()
|
function StartWebServer()
|
||||||
@@ -54,8 +53,8 @@ function StartWebServer()
|
|||||||
m.dialServer@.StartServer()
|
m.dialServer@.StartServer()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ShowAnnouncement()
|
function ShowAnnouncement() as void
|
||||||
DialogUtils.ShowDialogOnce({
|
dialog = DialogUtils.ShowDialogOnce({
|
||||||
messageId: "1736288537"
|
messageId: "1736288537"
|
||||||
title: "Announcement - Playlet backend"
|
title: "Announcement - Playlet backend"
|
||||||
message: [
|
message: [
|
||||||
@@ -68,4 +67,15 @@ function ShowAnnouncement()
|
|||||||
alwaysOnTop: true
|
alwaysOnTop: true
|
||||||
marginWidth: 180
|
marginWidth: 180
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if dialog = invalid
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
|
||||||
|
m.scene.signalBeacon("AppDialogInitiate")
|
||||||
|
m.top.observeField("wasClosed", FuncName(OnAnnouncementDialogClosed))
|
||||||
|
end function
|
||||||
|
|
||||||
|
function OnAnnouncementDialogClosed()
|
||||||
|
m.scene.signalBeacon("AppDialogComplete")
|
||||||
end function
|
end function
|
||||||
@@ -39,7 +39,6 @@ function MainSceneContainerChanged()
|
|||||||
InitEcpArgs()
|
InitEcpArgs()
|
||||||
m.scene.signalBeacon("AppLaunchComplete")
|
m.scene.signalBeacon("AppLaunchComplete")
|
||||||
CopyLoadingMessagesToCache()
|
CopyLoadingMessagesToCache()
|
||||||
ShowAnnouncement()
|
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function StartWebServer()
|
function StartWebServer()
|
||||||
@@ -51,8 +50,8 @@ function StartWebServer()
|
|||||||
m.dialServer.callfunc("StartServer", invalid)
|
m.dialServer.callfunc("StartServer", invalid)
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ShowAnnouncement()
|
function ShowAnnouncement() as void
|
||||||
DialogUtils_ShowDialogOnce({
|
dialog = DialogUtils_ShowDialogOnce({
|
||||||
messageId: "1736288537"
|
messageId: "1736288537"
|
||||||
title: "Announcement - Playlet backend"
|
title: "Announcement - Playlet backend"
|
||||||
message: [
|
message: [
|
||||||
@@ -65,5 +64,14 @@ function ShowAnnouncement()
|
|||||||
alwaysOnTop: true
|
alwaysOnTop: true
|
||||||
marginWidth: 180
|
marginWidth: 180
|
||||||
})
|
})
|
||||||
|
if dialog = invalid
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
m.scene.signalBeacon("AppDialogInitiate")
|
||||||
|
m.top.observeField("wasClosed", FuncName(OnAnnouncementDialogClosed))
|
||||||
|
end function
|
||||||
|
|
||||||
|
function OnAnnouncementDialogClosed()
|
||||||
|
m.scene.signalBeacon("AppDialogComplete")
|
||||||
end function
|
end function
|
||||||
'//# sourceMappingURL=./MainScene.brs.map
|
'//# sourceMappingURL=./MainScene.brs.map
|
||||||
@@ -5,10 +5,10 @@ const INNERTUBE_IOS_OS_VERSION = "18.1"
|
|||||||
const INNERTUBE_IOS_USER_AGENT = "com.google.ios.youtube/19.49.7 (iPhone16,2; U; CPU iOS 18_1_0 like Mac OS X)"
|
const INNERTUBE_IOS_USER_AGENT = "com.google.ios.youtube/19.49.7 (iPhone16,2; U; CPU iOS 18_1_0 like Mac OS X)"
|
||||||
|
|
||||||
const INNERTUBE_WEB_BROWSER_NAME = "Chrome"
|
const INNERTUBE_WEB_BROWSER_NAME = "Chrome"
|
||||||
const INNERTUBE_WEB_BROWSER_VERSION = "131.0.0.0"
|
const INNERTUBE_WEB_BROWSER_VERSION = "135.0.0.0"
|
||||||
const INNERTUBE_WEB_CLIENT_NAME = "1"
|
const INNERTUBE_WEB_CLIENT_NAME = "1"
|
||||||
const INNERTUBE_WEB_CLIENT_VERSION = "2.20241230.09.00"
|
const INNERTUBE_WEB_CLIENT_VERSION = "2.20250502.01.00"
|
||||||
const INNERTUBE_WEB_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0"
|
const INNERTUBE_WEB_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0"
|
||||||
|
|
||||||
const INNERTUBE_TV_BROWSER_NAME = "LG Browser"
|
const INNERTUBE_TV_BROWSER_NAME = "LG Browser"
|
||||||
const INNERTUBE_TV_BROWSER_VERSION = "7.00.00"
|
const INNERTUBE_TV_BROWSER_VERSION = "7.00.00"
|
||||||
|
|||||||
@@ -229,7 +229,9 @@ namespace InnertubeService
|
|||||||
|
|
||||||
response = request.Await()
|
response = request.Await()
|
||||||
if not response.IsSuccess()
|
if not response.IsSuccess()
|
||||||
return invalid
|
return {
|
||||||
|
error: response.ErrorMessage()
|
||||||
|
}
|
||||||
end if
|
end if
|
||||||
|
|
||||||
if raw
|
if raw
|
||||||
@@ -291,7 +293,9 @@ namespace InnertubeService
|
|||||||
|
|
||||||
response = request.Await()
|
response = request.Await()
|
||||||
if not response.IsSuccess()
|
if not response.IsSuccess()
|
||||||
return invalid
|
return {
|
||||||
|
error: response.ErrorMessage()
|
||||||
|
}
|
||||||
end if
|
end if
|
||||||
|
|
||||||
json = response.Json()
|
json = response.Json()
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
' Throw an error if an unknown node is encountered.
|
||||||
|
' Only used in debug mode.
|
||||||
|
#const THROW_ON_UNKNOWN_NODES = true
|
||||||
|
|
||||||
import "pkg:/source/utils/Logging.bs"
|
import "pkg:/source/utils/Logging.bs"
|
||||||
import "pkg:/source/utils/ObjectUtils.bs"
|
import "pkg:/source/utils/ObjectUtils.bs"
|
||||||
import "pkg:/source/utils/StringUtils.bs"
|
import "pkg:/source/utils/StringUtils.bs"
|
||||||
@@ -21,7 +25,12 @@ namespace Innertube
|
|||||||
for each key in nodeData
|
for each key in nodeData
|
||||||
directive = directives[key]
|
directive = directives[key]
|
||||||
if directive = invalid
|
if directive = invalid
|
||||||
LogWarn("Unknown node", key)
|
LogWarn("Unknown node", key, `\n`, FormatJson(nodeData[key]))
|
||||||
|
#if THROW_ON_UNKNOWN_NODES
|
||||||
|
#if DEBUG
|
||||||
|
throw "Unknown node: " + key
|
||||||
|
#end if
|
||||||
|
#end if
|
||||||
continue for
|
continue for
|
||||||
end if
|
end if
|
||||||
|
|
||||||
@@ -80,6 +89,10 @@ namespace Innertube
|
|||||||
"horizontalCardListRenderer": ParseNotImplemented
|
"horizontalCardListRenderer": ParseNotImplemented
|
||||||
' expandableTabRenderer contains the search tab with a channel. Ignored.
|
' expandableTabRenderer contains the search tab with a channel. Ignored.
|
||||||
"expandableTabRenderer": ParseNotImplemented
|
"expandableTabRenderer": ParseNotImplemented
|
||||||
|
' Shows a view of an official channel (like an artist) with tracks or albums.
|
||||||
|
' Shows up in search results. Safe to ignore since the channel itself will also
|
||||||
|
' be shown in the search results, so this is kind of a duplicate.
|
||||||
|
"officialCardViewModel": ParseNotImplemented
|
||||||
' Usually contains a "X unavailable video(s) are hidden" message. Ignored.
|
' Usually contains a "X unavailable video(s) are hidden" message. Ignored.
|
||||||
"messageRenderer": ParseNotImplemented
|
"messageRenderer": ParseNotImplemented
|
||||||
"clickTrackingParams": ParseNotImplemented
|
"clickTrackingParams": ParseNotImplemented
|
||||||
@@ -671,7 +684,12 @@ namespace Innertube
|
|||||||
return LockupViewModelTypeAlbum(nodeData, context)
|
return LockupViewModelTypeAlbum(nodeData, context)
|
||||||
end if
|
end if
|
||||||
|
|
||||||
LogWarn("Unknown content type:", contentType, `\n`, nodeData)
|
LogWarn("Unknown content type:", contentType, `\n`, FormatJson(nodeData))
|
||||||
|
#if THROW_ON_UNKNOWN_NODES
|
||||||
|
#if DEBUG
|
||||||
|
throw "Unknown content type: " + contentType
|
||||||
|
#end if
|
||||||
|
#end if
|
||||||
return invalid
|
return invalid
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -856,7 +874,12 @@ namespace Innertube
|
|||||||
return TileRendererTypePlaylist(nodeData, context)
|
return TileRendererTypePlaylist(nodeData, context)
|
||||||
end if
|
end if
|
||||||
|
|
||||||
LogWarn("Unknown content type:", contentType, `\n`, nodeData)
|
LogWarn("Unknown content type:", contentType, `\n`, FormatJson(nodeData))
|
||||||
|
#if THROW_ON_UNKNOWN_NODES
|
||||||
|
#if DEBUG
|
||||||
|
throw "Unknown content type: " + contentType
|
||||||
|
#end if
|
||||||
|
#end if
|
||||||
return invalid
|
return invalid
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,13 @@ namespace SearchHistoryUtils
|
|||||||
if history = invalid
|
if history = invalid
|
||||||
return []
|
return []
|
||||||
end if
|
end if
|
||||||
return ParseJson(history)
|
|
||||||
|
history = ParseJson(history)
|
||||||
|
if not IsArray(history)
|
||||||
|
return []
|
||||||
|
end if
|
||||||
|
|
||||||
|
return history
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function Clear()
|
function Clear()
|
||||||
|
|||||||
@@ -1266,7 +1266,7 @@
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Buffering</source>
|
<source>Buffering</source>
|
||||||
<translation type="unfinished">Puffert</translation>
|
<translation>Pufferung</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Do not show again</source>
|
<source>Do not show again</source>
|
||||||
|
|||||||
@@ -1268,5 +1268,17 @@
|
|||||||
<source>Add to %1 bookmark</source>
|
<source>Add to %1 bookmark</source>
|
||||||
<translation>Adicionar %1 ao marcadores</translation>
|
<translation>Adicionar %1 ao marcadores</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Courses</source>
|
||||||
|
<translation>Cursos</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Playlet built-in backend</source>
|
||||||
|
<translation>Back-end integrado do playlet</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Do not show again</source>
|
||||||
|
<translation>Não mostrar novamente</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
@@ -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=36
|
minor_version=36
|
||||||
build_version=00002
|
build_version=00005
|
||||||
|
|
||||||
ui_resolutions=hd
|
ui_resolutions=hd
|
||||||
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
||||||
|
|||||||
Generated
+874
-169
File diff suppressed because it is too large.
Load diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-web",
|
"name": "playlet-web",
|
||||||
"version": "0.36.2",
|
"version": "0.36.5",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
@@ -12,20 +12,20 @@
|
|||||||
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
||||||
"@tailwindcss/typography": "^0.5.16",
|
"@tailwindcss/typography": "^0.5.16",
|
||||||
"@tsconfig/svelte": "^5.0.4",
|
"@tsconfig/svelte": "^5.0.4",
|
||||||
"@vitejs/plugin-legacy": "^6.0.1",
|
"@vitejs/plugin-legacy": "^6.1.0",
|
||||||
"autoprefixer": "^10.4.20",
|
"autoprefixer": "^10.4.21",
|
||||||
"daisyui": "^4.12.23",
|
"daisyui": "^4.12.23",
|
||||||
"dotenv": "^16.4.7",
|
"dotenv": "^16.5.0",
|
||||||
"ip": "^2.0.1",
|
"ip": "^2.0.1",
|
||||||
"postcss": "^8.5.3",
|
"postcss": "^8.5.3",
|
||||||
"svelte": "^5.20.2",
|
"svelte": "^5.28.1",
|
||||||
"svelte-check": "^4.1.4",
|
"svelte-check": "^4.1.6",
|
||||||
"svelte-preprocess": "^6.0.3",
|
"svelte-preprocess": "^6.0.3",
|
||||||
"tailwindcss": "^3.4.17",
|
"tailwindcss": "^3.4.17",
|
||||||
"terser": "^5.39.0",
|
"terser": "^5.39.0",
|
||||||
"tslib": "^2.8.1",
|
"tslib": "^2.8.1",
|
||||||
"typescript": "^5.7.3",
|
"typescript": "^5.8.3",
|
||||||
"vite": "^6.1.1",
|
"vite": "^6.3.2",
|
||||||
"vite-plugin-compression": "^0.5.1",
|
"vite-plugin-compression": "^0.5.1",
|
||||||
"vite-tsconfig-paths": "^5.1.4"
|
"vite-tsconfig-paths": "^5.1.4"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
export let key: string;
|
export let key: string;
|
||||||
export let icon;
|
export let icon;
|
||||||
export let small: boolean = false;
|
export let small: boolean = false;
|
||||||
|
export let singlePressEvent: boolean = false;
|
||||||
|
|
||||||
let button;
|
let button;
|
||||||
|
|
||||||
@@ -37,11 +38,18 @@
|
|||||||
let isDown = false;
|
let isDown = false;
|
||||||
function pressKeyDown() {
|
function pressKeyDown() {
|
||||||
isDown = true;
|
isDown = true;
|
||||||
ExternalControlProtocol.pressKeyDown(key);
|
if (singlePressEvent) {
|
||||||
|
ExternalControlProtocol.pressKey(key);
|
||||||
|
} else {
|
||||||
|
ExternalControlProtocol.pressKeyDown(key);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function pressKeyUp() {
|
function pressKeyUp() {
|
||||||
isDown = false;
|
isDown = false;
|
||||||
|
if (singlePressEvent) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
ExternalControlProtocol.pressKeyUp(key);
|
ExternalControlProtocol.pressKeyUp(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -153,9 +153,24 @@ And set it to "Enabled".`;
|
|||||||
<RemoteButton key={BUTTONS.fwd} icon={FastForwardIcon} small />
|
<RemoteButton key={BUTTONS.fwd} icon={FastForwardIcon} small />
|
||||||
</div>
|
</div>
|
||||||
<div class="flex space-x-2 m-1">
|
<div class="flex space-x-2 m-1">
|
||||||
<RemoteButton key={BUTTONS.volumeMute} icon={VolumeMuteIcon} small />
|
<RemoteButton
|
||||||
<RemoteButton key={BUTTONS.volumeDown} icon={VolumeDownIcon} small />
|
key={BUTTONS.volumeMute}
|
||||||
<RemoteButton key={BUTTONS.volumeUp} icon={VolumeUpIcon} small />
|
icon={VolumeMuteIcon}
|
||||||
|
small
|
||||||
|
singlePressEvent
|
||||||
|
/>
|
||||||
|
<RemoteButton
|
||||||
|
key={BUTTONS.volumeDown}
|
||||||
|
icon={VolumeDownIcon}
|
||||||
|
small
|
||||||
|
singlePressEvent
|
||||||
|
/>
|
||||||
|
<RemoteButton
|
||||||
|
key={BUTTONS.volumeUp}
|
||||||
|
icon={VolumeUpIcon}
|
||||||
|
small
|
||||||
|
singlePressEvent
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
on:click={showRemoteNotWorkingDialog}
|
on:click={showRemoteNotWorkingDialog}
|
||||||
|
|||||||
@@ -0,0 +1,53 @@
|
|||||||
|
// Check for updates on Roku device
|
||||||
|
|
||||||
|
const rokuTestAutomation = require('roku-test-automation');
|
||||||
|
const ecp = rokuTestAutomation.ecp;
|
||||||
|
const utils = rokuTestAutomation.utils;
|
||||||
|
const Key = rokuTestAutomation.ECP.Key;
|
||||||
|
|
||||||
|
const getEnvVars = require('./get-env-vars');
|
||||||
|
|
||||||
|
const config = getEnvVars(['ROKU_DEV_TARGET']);
|
||||||
|
|
||||||
|
(async () => {
|
||||||
|
utils.setupEnvironmentFromConfig({
|
||||||
|
RokuDevice: {
|
||||||
|
devices: [{
|
||||||
|
host: config.ROKU_DEV_TARGET,
|
||||||
|
password: ''
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Go to the home screen
|
||||||
|
await ecp.sendKeypress(Key.Home);
|
||||||
|
await utils.sleep(2000);
|
||||||
|
await ecp.sendKeypress(Key.Home);
|
||||||
|
await utils.sleep(2000);
|
||||||
|
|
||||||
|
// Settings menu
|
||||||
|
await ecp.sendKeypress(Key.Up);
|
||||||
|
await utils.sleep(500);
|
||||||
|
await ecp.sendKeypress(Key.Right);
|
||||||
|
await utils.sleep(500);
|
||||||
|
|
||||||
|
// System
|
||||||
|
await ecp.sendKeypress(Key.Up);
|
||||||
|
await utils.sleep(500);
|
||||||
|
await ecp.sendKeypress(Key.Right);
|
||||||
|
await utils.sleep(500);
|
||||||
|
|
||||||
|
// Software update
|
||||||
|
await ecp.sendKeypress(Key.Up);
|
||||||
|
await utils.sleep(500);
|
||||||
|
await ecp.sendKeypress(Key.Up);
|
||||||
|
await utils.sleep(500);
|
||||||
|
await ecp.sendKeypress(Key.Up);
|
||||||
|
await utils.sleep(500);
|
||||||
|
await ecp.sendKeypress(Key.Right);
|
||||||
|
await utils.sleep(2000);
|
||||||
|
|
||||||
|
// Check for updates
|
||||||
|
await ecp.sendKeypress(Key.Ok);
|
||||||
|
await utils.sleep(500);
|
||||||
|
})();
|
||||||
Reference in new issue
Block a user