Compare commits

..
5 Commits
17 changed files with 43 additions and 22 deletions

No files matched your search

+6
View File
@@ -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).
## [0.36.7] - 2025-05-04
### Fixed
- Playlet backend error caused by Roku 14.5 update on Canada devices
## [0.36.6] - 2025-05-03
### Fixed
+1 -1
View File
@@ -2,7 +2,7 @@ openapi: 3.0.0
info:
title: Playlet Web API
version: 0.36.6
version: 0.36.7
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
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet",
"version": "0.36.6",
"version": "0.36.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet",
"version": "0.36.6",
"version": "0.36.7",
"hasInstallScript": true,
"devDependencies": {
"@rokucommunity/bslint": "^0.8.29",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet",
"version": "0.36.6",
"version": "0.36.7",
"description": "Unofficial YouTube client for Roku",
"devDependencies": {
"@rokucommunity/bslint": "^0.8.29",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-app",
"version": "0.36.6",
"version": "0.36.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-app",
"version": "0.36.6"
"version": "0.36.7"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-app",
"version": "0.36.6",
"version": "0.36.7",
"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=36
build_version=00006
build_version=00007
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-lib",
"version": "0.36.6",
"version": "0.36.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-lib",
"version": "0.36.6"
"version": "0.36.7"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-lib",
"version": "0.36.6",
"version": "0.36.7",
"description": "Unofficial YouTube client for Roku",
"scripts": {
"prebuild": "rm -rf ../build/playlet-lib",
@@ -162,7 +162,12 @@ namespace Innertube
end function
function GetCurrentLocale(deviceInfo as object) as string
return deviceInfo.GetCurrentLocale()
currentLocale = deviceInfo.GetCurrentLocale()
' en_CA is not a valid locale for Innertube
if currentLocale = "en_CA"
currentLocale = "en_US"
end if
return currentLocale
end function
function GetContentRegion(deviceInfo as object) as string
@@ -66,6 +66,7 @@ namespace Innertube
"gridChannelRenderer": ParseGridChannelRenderer
"playlistRenderer": ParsePlaylistRenderer
"gridPlaylistRenderer": ParseGridPlaylistRenderer
"gridShelfViewModel": ParseGridShelfViewModel
"lockupViewModel": ParseLockupViewModel
"shortsLockupViewModel": ParseShortsLockupViewModel
"tvBrowseRenderer": ParseTvBrowseRenderer
@@ -674,6 +675,10 @@ namespace Innertube
return invalid
end function
function ParseGridShelfViewModel(nodeData as object, _context as object) as object
return nodeData["contents"]
end function
function ParseLockupViewModel(nodeData as object, context as object) as object
contentType = ValidString(nodeData["contentType"])
if contentType = "LOCKUP_CONTENT_TYPE_PLAYLIST"
@@ -35,6 +35,10 @@ namespace Innertube
})
request.Cancellation(cancellation)
if raw
request.NoCache()
request.LogCurlCommand()
end if
response = request.Await()
if not response.IsSuccess()
@@ -316,17 +316,18 @@ namespace Http
end if
result = InnertubeService.Search(query, options)
if result.error <> invalid
response.Json(result)
response.http_code = 500
return true
end if
if raw
response.Json(result)
return true
end if
if result.error <> invalid
response.Json(result)
response.http_code = 500
return true
end if
if not IsArray(result.feeds) or result.feeds.Count() = 0
response.Json({
"error": "Failed to search"
+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=36
build_version=00006
build_version=00007
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
@@ -359,7 +359,7 @@ namespace HttpClient
#end if
if m._logCurlCommand = true
LogInfo(`════════ curl command ════════\n${m.ToCurlCommand()}\n══════════════════════════════`)
LogInfo(`======== curl command ========\n${m.ToCurlCommand()}\n==============================`)
end if
if m._method = "POST"
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-web",
"version": "0.36.6",
"version": "0.36.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet-web",
"version": "0.36.6",
"version": "0.36.7",
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tailwindcss/typography": "^0.5.16",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-web",
"version": "0.36.6",
"version": "0.36.7",
"type": "module",
"scripts": {
"dev": "vite",