From a0efb3bd7674721978940db33d7e18c5fcdc8efd Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Wed, 11 Sep 2024 22:13:05 -0400 Subject: [PATCH] Release v0.25.6 (#456) * Release v0.25.6 * Lint fix --------- Co-authored-by: github-action linter --- 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 +- .../src/components/MainScene.transpiled.brs | 25 +++++++++++++++++++ playlet-lib/src/manifest | 2 +- playlet-web/package-lock.json | 4 +-- playlet-web/package.json | 2 +- 13 files changed, 41 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2241e9e1..b7514550 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.25.6] - 2024-09-12 ### Added diff --git a/docs/playlet-web-api.yml b/docs/playlet-web-api.yml index b767cbd7..a9ec03c9 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.25.5 + version: 0.25.6 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 9c645673..c711c540 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet", - "version": "0.25.5", + "version": "0.25.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "playlet", - "version": "0.25.5", + "version": "0.25.6", "hasInstallScript": true, "devDependencies": { "@rokucommunity/bslint": "^0.8.24", diff --git a/package.json b/package.json index e823ff59..dcf140c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "playlet", - "version": "0.25.5", + "version": "0.25.6", "description": "Unofficial YouTube client for Roku", "devDependencies": { "@rokucommunity/bslint": "^0.8.24", diff --git a/playlet-app/package-lock.json b/playlet-app/package-lock.json index 87f7e9d6..14040d2b 100644 --- a/playlet-app/package-lock.json +++ b/playlet-app/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-app", - "version": "0.25.5", + "version": "0.25.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playlet-app", - "version": "0.25.5" + "version": "0.25.6" } } } diff --git a/playlet-app/package.json b/playlet-app/package.json index 4e6d35aa..9bf22357 100644 --- a/playlet-app/package.json +++ b/playlet-app/package.json @@ -1,6 +1,6 @@ { "name": "playlet-app", - "version": "0.25.5", + "version": "0.25.6", "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 07875e5c..cd1abc70 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=25 -build_version=00005 +build_version=00006 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 d100d7c0..751e7baa 100644 --- a/playlet-lib/package-lock.json +++ b/playlet-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-lib", - "version": "0.25.5", + "version": "0.25.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playlet-lib", - "version": "0.25.5" + "version": "0.25.6" } } } diff --git a/playlet-lib/package.json b/playlet-lib/package.json index bfe51313..103c44c4 100644 --- a/playlet-lib/package.json +++ b/playlet-lib/package.json @@ -1,6 +1,6 @@ { "name": "playlet-lib", - "version": "0.25.5", + "version": "0.25.6", "description": "Unofficial YouTube client for Roku", "scripts": { "prebuild": "rm -rf ../build/playlet-lib", diff --git a/playlet-lib/src/components/MainScene.transpiled.brs b/playlet-lib/src/components/MainScene.transpiled.brs index 3cf9c0f9..2f0adb7c 100644 --- a/playlet-lib/src/components/MainScene.transpiled.brs +++ b/playlet-lib/src/components/MainScene.transpiled.brs @@ -2,6 +2,7 @@ 'import "pkg:/components/parts/AutoBind/AutoBind.part.bs" 'import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs" 'import "pkg:/source/utils/LoadingScreen.bs" +'import "pkg:/source/utils/Locale.bs" function Init() InitializeBindings() ' auto-generated! @@ -19,6 +20,7 @@ function MainSceneContainerChanged() InitEcpArgs() m.scene.signalBeacon("AppLaunchComplete") CopyLoadingMessagesToCache() + ShowAnnouncement() end function function StartWebServer() @@ -29,4 +31,27 @@ function StartWebServer() m.dialServer = m.top.findNode("DialServer") m.dialServer.callfunc("StartServer", invalid) end function + +function ShowAnnouncement() + title = "Announcement" + message = [ + "Hello again!" + "Invidious servers are actively getting blocked by YouTube." + "You might see the error message " + chr(34) + "This helps protect our community. Learn more" + chr(34) + " when playing a video." + "This is a known issue and the Invidious dev team is working to fix it." + "See more information at https://github.com/iv-org/invidious/issues/4734" + "We apologize for the inconvenience." + ] + buttons = [ + Tr("OK") + ] + dialog = CreateObject("roSGNode", "SimpleDialog") + dialog.title = title + dialog.message = message + dialog.buttons = buttons + deviceInfo = CreateObject("roDeviceInfo") + displaySize = deviceInfo.GetDisplaySize() + dialog.width = displaySize.w - 180 + m.top.getScene().dialog = dialog +end function '//# sourceMappingURL=./MainScene.brs.map \ No newline at end of file diff --git a/playlet-lib/src/manifest b/playlet-lib/src/manifest index 3f7c50de..a8871152 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=25 -build_version=00005 +build_version=00006 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 ed6623a9..ca5e4f6e 100644 --- a/playlet-web/package-lock.json +++ b/playlet-web/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-web", - "version": "0.25.5", + "version": "0.25.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "playlet-web", - "version": "0.25.5", + "version": "0.25.6", "devDependencies": { "@sveltejs/vite-plugin-svelte": "^3.1.2", "@tailwindcss/typography": "^0.5.15", diff --git a/playlet-web/package.json b/playlet-web/package.json index a41c2071..1bbb48de 100644 --- a/playlet-web/package.json +++ b/playlet-web/package.json @@ -1,6 +1,6 @@ { "name": "playlet-web", - "version": "0.25.5", + "version": "0.25.6", "type": "module", "scripts": { "dev": "vite",