From cf54a108039811dd22fffcaf6272c627ff2ac0ab Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Tue, 17 Dec 2024 09:09:05 -0500 Subject: [PATCH 1/4] Release v0.33.1 (#507) --- CHANGELOG.md | 2 +- docs/playlet-web-api.yml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- playlet-app/package-lock.json | 4 ++-- playlet-app/package.json | 2 +- playlet-app/src/manifest | 2 +- playlet-lib/package-lock.json | 4 ++-- playlet-lib/package.json | 2 +- playlet-lib/src/manifest | 2 +- playlet-web/package-lock.json | 4 ++-- playlet-web/package.json | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50ba6f65..7a9754eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ 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). -## [Unreleased] +## [0.33.1] - 2024-12-17 ### Added diff --git a/docs/playlet-web-api.yml b/docs/playlet-web-api.yml index e2525a93..53442a7c 100644 --- a/docs/playlet-web-api.yml +++ b/docs/playlet-web-api.yml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: title: Playlet Web API - version: 0.33.0 + version: 0.33.1 description: 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 diff --git a/package-lock.json b/package-lock.json index 0807174f..558ede46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet", - "version": "0.33.0", + "version": "0.33.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "playlet", - "version": "0.33.0", + "version": "0.33.1", "hasInstallScript": true, "devDependencies": { "@rokucommunity/bslint": "^0.8.26", diff --git a/package.json b/package.json index 4f64aa90..1e0f4959 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "playlet", - "version": "0.33.0", + "version": "0.33.1", "description": "Unofficial YouTube client for Roku", "devDependencies": { "@rokucommunity/bslint": "^0.8.26", diff --git a/playlet-app/package-lock.json b/playlet-app/package-lock.json index 6254c3c0..333b5c37 100644 --- a/playlet-app/package-lock.json +++ b/playlet-app/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-app", - "version": "0.33.0", + "version": "0.33.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playlet-app", - "version": "0.33.0" + "version": "0.33.1" } } } diff --git a/playlet-app/package.json b/playlet-app/package.json index 63ae3635..b84e50a8 100644 --- a/playlet-app/package.json +++ b/playlet-app/package.json @@ -1,6 +1,6 @@ { "name": "playlet-app", - "version": "0.33.0", + "version": "0.33.1", "description": "Unofficial YouTube client for Roku", "scripts": { "prebuild": "rm -rf ../build/playlet-app", diff --git a/playlet-app/src/manifest b/playlet-app/src/manifest index c41e68ef..f1a884f7 100644 --- a/playlet-app/src/manifest +++ b/playlet-app/src/manifest @@ -3,7 +3,7 @@ title=Playlet # Do not update version manually, it is auto updated from package.json major_version=0 minor_version=33 -build_version=00000 +build_version=00001 ui_resolutions=hd uri_resolution_autosub=$$RES$$,480p,720p,1080p diff --git a/playlet-lib/package-lock.json b/playlet-lib/package-lock.json index 737526d8..e7c48f56 100644 --- a/playlet-lib/package-lock.json +++ b/playlet-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-lib", - "version": "0.33.0", + "version": "0.33.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playlet-lib", - "version": "0.33.0" + "version": "0.33.1" } } } diff --git a/playlet-lib/package.json b/playlet-lib/package.json index f42c21a2..e80704ad 100644 --- a/playlet-lib/package.json +++ b/playlet-lib/package.json @@ -1,6 +1,6 @@ { "name": "playlet-lib", - "version": "0.33.0", + "version": "0.33.1", "description": "Unofficial YouTube client for Roku", "scripts": { "prebuild": "rm -rf ../build/playlet-lib", diff --git a/playlet-lib/src/manifest b/playlet-lib/src/manifest index 9880ca55..f89ae448 100644 --- a/playlet-lib/src/manifest +++ b/playlet-lib/src/manifest @@ -3,7 +3,7 @@ title=PlayletLib # Do not update version manually, it is auto updated from package.json major_version=0 minor_version=33 -build_version=00000 +build_version=00001 ui_resolutions=hd uri_resolution_autosub=$$RES$$,480p,720p,1080p diff --git a/playlet-web/package-lock.json b/playlet-web/package-lock.json index 2377b914..9eee11d3 100644 --- a/playlet-web/package-lock.json +++ b/playlet-web/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-web", - "version": "0.33.0", + "version": "0.33.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "playlet-web", - "version": "0.33.0", + "version": "0.33.1", "dependencies": { "youtubei.js": "^12.2.0" }, diff --git a/playlet-web/package.json b/playlet-web/package.json index 37fc05e0..293a97c6 100644 --- a/playlet-web/package.json +++ b/playlet-web/package.json @@ -1,6 +1,6 @@ { "name": "playlet-web", - "version": "0.33.0", + "version": "0.33.1", "type": "module", "scripts": { "dev": "vite", From 711e0faf516fa9ef031aaaacdf1d5acf1eeabe0c Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Tue, 17 Dec 2024 18:27:26 -0500 Subject: [PATCH 2/4] change default Invidious instance --- CHANGELOG.md | 6 ++++++ .../src/components/Services/Invidious/InvidiousService.bs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a9754eb..d96f5273 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ 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). +## [Unreleased] + +### Changed + +- Default Invidious instance + ## [0.33.1] - 2024-12-17 ### Added diff --git a/playlet-lib/src/components/Services/Invidious/InvidiousService.bs b/playlet-lib/src/components/Services/Invidious/InvidiousService.bs index b956f47d..dedda3e3 100644 --- a/playlet-lib/src/components/Services/Invidious/InvidiousService.bs +++ b/playlet-lib/src/components/Services/Invidious/InvidiousService.bs @@ -12,7 +12,7 @@ import "pkg:/source/utils/TimeUtils.bs" namespace Invidious const INSTANCES_API = "https://api.invidious.io/instances.json?sort_by=type,users" - const DEFAULT_INSTANCE = "https://invidious.nerdvpn.de" + const DEFAULT_INSTANCE = "https://inv.nadeko.net" const TOKEN_CALLBACK = "/invidious/token_callback" From e1bcfc053aea823ed02ef2bd8dcab4fc46ef2c96 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Tue, 17 Dec 2024 18:40:58 -0500 Subject: [PATCH 3/4] Release v0.33.2 (#508) --- CHANGELOG.md | 2 +- docs/playlet-web-api.yml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- playlet-app/package-lock.json | 4 ++-- playlet-app/package.json | 2 +- playlet-app/src/manifest | 2 +- playlet-lib/package-lock.json | 4 ++-- playlet-lib/package.json | 2 +- playlet-lib/src/manifest | 2 +- playlet-web/package-lock.json | 4 ++-- playlet-web/package.json | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d96f5273..68daa1ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ 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). -## [Unreleased] +## [0.33.2] - 2024-12-17 ### Changed diff --git a/docs/playlet-web-api.yml b/docs/playlet-web-api.yml index 53442a7c..af132ba9 100644 --- a/docs/playlet-web-api.yml +++ b/docs/playlet-web-api.yml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: title: Playlet Web API - version: 0.33.1 + version: 0.33.2 description: 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 diff --git a/package-lock.json b/package-lock.json index 558ede46..193a4598 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet", - "version": "0.33.1", + "version": "0.33.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "playlet", - "version": "0.33.1", + "version": "0.33.2", "hasInstallScript": true, "devDependencies": { "@rokucommunity/bslint": "^0.8.26", diff --git a/package.json b/package.json index 1e0f4959..cac53109 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "playlet", - "version": "0.33.1", + "version": "0.33.2", "description": "Unofficial YouTube client for Roku", "devDependencies": { "@rokucommunity/bslint": "^0.8.26", diff --git a/playlet-app/package-lock.json b/playlet-app/package-lock.json index 333b5c37..0bf47772 100644 --- a/playlet-app/package-lock.json +++ b/playlet-app/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-app", - "version": "0.33.1", + "version": "0.33.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playlet-app", - "version": "0.33.1" + "version": "0.33.2" } } } diff --git a/playlet-app/package.json b/playlet-app/package.json index b84e50a8..5f8464fb 100644 --- a/playlet-app/package.json +++ b/playlet-app/package.json @@ -1,6 +1,6 @@ { "name": "playlet-app", - "version": "0.33.1", + "version": "0.33.2", "description": "Unofficial YouTube client for Roku", "scripts": { "prebuild": "rm -rf ../build/playlet-app", diff --git a/playlet-app/src/manifest b/playlet-app/src/manifest index f1a884f7..3cec7bd1 100644 --- a/playlet-app/src/manifest +++ b/playlet-app/src/manifest @@ -3,7 +3,7 @@ title=Playlet # Do not update version manually, it is auto updated from package.json major_version=0 minor_version=33 -build_version=00001 +build_version=00002 ui_resolutions=hd uri_resolution_autosub=$$RES$$,480p,720p,1080p diff --git a/playlet-lib/package-lock.json b/playlet-lib/package-lock.json index e7c48f56..15faa47a 100644 --- a/playlet-lib/package-lock.json +++ b/playlet-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-lib", - "version": "0.33.1", + "version": "0.33.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playlet-lib", - "version": "0.33.1" + "version": "0.33.2" } } } diff --git a/playlet-lib/package.json b/playlet-lib/package.json index e80704ad..49391296 100644 --- a/playlet-lib/package.json +++ b/playlet-lib/package.json @@ -1,6 +1,6 @@ { "name": "playlet-lib", - "version": "0.33.1", + "version": "0.33.2", "description": "Unofficial YouTube client for Roku", "scripts": { "prebuild": "rm -rf ../build/playlet-lib", diff --git a/playlet-lib/src/manifest b/playlet-lib/src/manifest index f89ae448..d117b4f0 100644 --- a/playlet-lib/src/manifest +++ b/playlet-lib/src/manifest @@ -3,7 +3,7 @@ title=PlayletLib # Do not update version manually, it is auto updated from package.json major_version=0 minor_version=33 -build_version=00001 +build_version=00002 ui_resolutions=hd uri_resolution_autosub=$$RES$$,480p,720p,1080p diff --git a/playlet-web/package-lock.json b/playlet-web/package-lock.json index 9eee11d3..19e5a416 100644 --- a/playlet-web/package-lock.json +++ b/playlet-web/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-web", - "version": "0.33.1", + "version": "0.33.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "playlet-web", - "version": "0.33.1", + "version": "0.33.2", "dependencies": { "youtubei.js": "^12.2.0" }, diff --git a/playlet-web/package.json b/playlet-web/package.json index 293a97c6..cbc3ec8c 100644 --- a/playlet-web/package.json +++ b/playlet-web/package.json @@ -1,6 +1,6 @@ { "name": "playlet-web", - "version": "0.33.1", + "version": "0.33.2", "type": "module", "scripts": { "dev": "vite", From 031601d49c90d1ae9f90894f88ad2e526aeecf67 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Tue, 17 Dec 2024 18:55:16 -0500 Subject: [PATCH 4/4] fix usage of deprecated api --- CHANGELOG.md | 4 ++++ playlet-lib/src/components/Logger/Logger.bs | 2 +- .../LoungeService/LoungeGenerateManualPairingCodeTask.bs | 2 +- .../components/Web/PlayletWebServer/Middleware/DialRouter.bs | 2 +- .../Web/PlayletWebServer/Middleware/StateApiRouter.bs | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68daa1ce..dcd40fae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ 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). +## [Unreleased] + +- Nothing worth mentioning yet. + ## [0.33.2] - 2024-12-17 ### Changed diff --git a/playlet-lib/src/components/Logger/Logger.bs b/playlet-lib/src/components/Logger/Logger.bs index e5126c0f..139c0f54 100644 --- a/playlet-lib/src/components/Logger/Logger.bs +++ b/playlet-lib/src/components/Logger/Logger.bs @@ -10,7 +10,7 @@ function Init() m.top.ObserveField("logLine", port) scene = m.top.getScene() - scene.ObserveFieldScoped("systemLogEvent", port) + scene.ObserveFieldScopedEx("systemLogEvent", port) m.port = port diff --git a/playlet-lib/src/components/Services/LoungeService/LoungeGenerateManualPairingCodeTask.bs b/playlet-lib/src/components/Services/LoungeService/LoungeGenerateManualPairingCodeTask.bs index 84c3e4c8..e9104179 100644 --- a/playlet-lib/src/components/Services/LoungeService/LoungeGenerateManualPairingCodeTask.bs +++ b/playlet-lib/src/components/Services/LoungeService/LoungeGenerateManualPairingCodeTask.bs @@ -8,7 +8,7 @@ function LoungeGenerateManualPairingCodeTask(input as object) as object if StringUtils.IsNullOrEmpty(input.loungeToken) messagePort = CreateObject("roMessagePort") - loungeService.observeFieldScoped("loungeToken", messagePort) + loungeService.observeFieldScopedEx("loungeToken", messagePort) loungeService.join = true message = wait(30000, messagePort) loungeService.unobserveFieldScoped("loungeToken") diff --git a/playlet-lib/src/components/Web/PlayletWebServer/Middleware/DialRouter.bs b/playlet-lib/src/components/Web/PlayletWebServer/Middleware/DialRouter.bs index 865f7992..333393c9 100644 --- a/playlet-lib/src/components/Web/PlayletWebServer/Middleware/DialRouter.bs +++ b/playlet-lib/src/components/Web/PlayletWebServer/Middleware/DialRouter.bs @@ -67,7 +67,7 @@ namespace Http loungeToken = m.loungeService.loungeToken if StringUtils.IsNullOrEmpty(loungeToken) messagePort = CreateObject("roMessagePort") - m.loungeService.observeFieldScoped("loungeToken", messagePort) + m.loungeService.observeFieldScopedEx("loungeToken", messagePort) m.loungeService.join = true message = wait(30000, messagePort) m.loungeService.unobserveFieldScoped("loungeToken") diff --git a/playlet-lib/src/components/Web/PlayletWebServer/Middleware/StateApiRouter.bs b/playlet-lib/src/components/Web/PlayletWebServer/Middleware/StateApiRouter.bs index 1a5e6e9f..5be1b6a9 100644 --- a/playlet-lib/src/components/Web/PlayletWebServer/Middleware/StateApiRouter.bs +++ b/playlet-lib/src/components/Web/PlayletWebServer/Middleware/StateApiRouter.bs @@ -42,7 +42,7 @@ namespace Http ' If the lib_version_latest field is not available, we can give it a few seconds ' To make a request to Github to get the latest version. msgPort = CreateObject("roMessagePort") - m.applicationInfoNode.observeFieldScoped("lib_version_latest", msgPort) + m.applicationInfoNode.observeFieldScopedEx("lib_version_latest", msgPort) wait(5000, msgPort) m.applicationInfoNode.unobserveFieldScoped("lib_version_latest")