Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b101872906 | ||
|
|
8f42bfa675 | ||
|
|
b8d2008b98 | ||
|
|
36910ab5cf | ||
|
|
ae09f711df |
No files matched your search
@@ -5,6 +5,14 @@ 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.41.14] - 2025-09-18
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Try fetching multiple pages in the search, in case results are filtered out (e.g. shorts)
|
||||||
|
- Regression for `Attempt to play the next video when errors occur`
|
||||||
|
- Better handling for lounge lost sessions
|
||||||
|
|
||||||
## [0.41.13] - 2025-09-18
|
## [0.41.13] - 2025-09-18
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.41.13",
|
"version": "0.41.14",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.41.13",
|
"version": "0.41.14",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rokucommunity/bslint": "^0.8.35",
|
"@rokucommunity/bslint": "^0.8.35",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.41.13",
|
"version": "0.41.14",
|
||||||
"description": "Unofficial YouTube client for Roku",
|
"description": "Unofficial YouTube client for Roku",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rokucommunity/bslint": "^0.8.35",
|
"@rokucommunity/bslint": "^0.8.35",
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.41.13",
|
"version": "0.41.14",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.41.13"
|
"version": "0.41.14"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.41.13",
|
"version": "0.41.14",
|
||||||
"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=41
|
minor_version=41
|
||||||
build_version=00013
|
build_version=00014
|
||||||
|
|
||||||
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.41.13",
|
"version": "0.41.14",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.41.13"
|
"version": "0.41.14"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.41.13",
|
"version": "0.41.14",
|
||||||
"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",
|
||||||
|
|||||||
@@ -153,6 +153,10 @@ namespace InnertubeService
|
|||||||
nextResponse = nextRequest.Await()
|
nextResponse = nextRequest.Await()
|
||||||
|
|
||||||
if not nextResponse.IsSuccess()
|
if not nextResponse.IsSuccess()
|
||||||
|
if nextResponse.IsCancelled()
|
||||||
|
return parsedResponse
|
||||||
|
end if
|
||||||
|
|
||||||
error = nextResponse.ErrorMessage()
|
error = nextResponse.ErrorMessage()
|
||||||
LogWarn(error)
|
LogWarn(error)
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,10 @@ namespace Innertube
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function ParseInnertubeNextResponse(payload as object, parsedResponse as object, httpResponse as object) as object
|
function ParseInnertubeNextResponse(payload as object, parsedResponse as object, httpResponse as object) as object
|
||||||
|
if not IsArray(parsedResponse["recommendedVideos"])
|
||||||
|
parsedResponse["recommendedVideos"] = []
|
||||||
|
end if
|
||||||
|
|
||||||
if not IsAssociativeArray(payload)
|
if not IsAssociativeArray(payload)
|
||||||
LogWarn("Invalid payload", payload)
|
LogWarn("Invalid payload", payload)
|
||||||
return parsedResponse
|
return parsedResponse
|
||||||
@@ -60,11 +64,6 @@ namespace Innertube
|
|||||||
end if
|
end if
|
||||||
end if
|
end if
|
||||||
|
|
||||||
if not IsArray(parsedResponse.recommendedVideos)
|
|
||||||
LogWarn("Invalid recommended videos", parsedResponse.recommendedVideos)
|
|
||||||
return parsedResponse
|
|
||||||
end if
|
|
||||||
|
|
||||||
endscreen = playerOverlayRenderer["endScreen"]
|
endscreen = playerOverlayRenderer["endScreen"]
|
||||||
|
|
||||||
feeds = Innertube.ParseResponseDataForFeeds(endscreen, {
|
feeds = Innertube.ParseResponseDataForFeeds(endscreen, {
|
||||||
|
|||||||
@@ -32,10 +32,15 @@ namespace Innertube
|
|||||||
|
|
||||||
Innertube.ParseNode(containers, context)
|
Innertube.ParseNode(containers, context)
|
||||||
|
|
||||||
if context.currentFeed <> invalid and (context.currentFeed.items.Count() > 0 or context.currentFeed.title <> "")
|
if context.currentFeed <> invalid
|
||||||
|
hasTitle = context.currentFeed.title <> ""
|
||||||
|
hasItems = context.currentFeed.items.Count() > 0
|
||||||
|
hasContinuation = context.currentFeed.DoesExist("continuation")
|
||||||
|
if hasTitle or hasItems or hasContinuation
|
||||||
context.feeds.Push(context.currentFeed)
|
context.feeds.Push(context.currentFeed)
|
||||||
context.currentFeed = invalid
|
context.currentFeed = invalid
|
||||||
end if
|
end if
|
||||||
|
end if
|
||||||
return context.feeds
|
return context.feeds
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ class LongPoller
|
|||||||
m.status_code = Val(statusCode)
|
m.status_code = Val(statusCode)
|
||||||
m.status_text = status.Mid(spaceIndex + 1)
|
m.status_text = status.Mid(spaceIndex + 1)
|
||||||
if m.status_code <> 200
|
if m.status_code <> 200
|
||||||
if m.status_code = 400 and m.status_text = "Unknown SID"
|
if m.status_code = 410 or (m.status_code = 400 and m.status_text = "Unknown SID")
|
||||||
LogErrorNoTelemetry("Invalid status code:", m.status_code, m.status_text, `\nResponse data:`, m.socket_buffer)
|
LogErrorNoTelemetry("Invalid status code:", m.status_code, m.status_text, `\nResponse data:`, m.socket_buffer)
|
||||||
else
|
else
|
||||||
LogError("Invalid status code:", m.status_code, m.status_text, `\nResponse data:`, m.socket_buffer)
|
LogError("Invalid status code:", m.status_code, m.status_text, `\nResponse data:`, m.socket_buffer)
|
||||||
|
|||||||
@@ -123,14 +123,14 @@ function LoungeServiceLoop() as void
|
|||||||
|
|
||||||
unknownSid = false
|
unknownSid = false
|
||||||
' TODO:P2 move this check somewhere else
|
' TODO:P2 move this check somewhere else
|
||||||
if api.poller.status_code = 400 and ValidString(api.poller.status_text) = "Unknown SID"
|
if (api.poller.status_code = 410) or (api.poller.status_code = 400 and ValidString(api.poller.status_text) = "Unknown SID")
|
||||||
api.poller.status_code = 0
|
api.poller.status_code = 0
|
||||||
unknownSid = true
|
unknownSid = true
|
||||||
end if
|
end if
|
||||||
|
|
||||||
if not unknownSid
|
if not unknownSid
|
||||||
for each result in outgoingLoungeMessagesResults
|
for each result in outgoingLoungeMessagesResults
|
||||||
if result.status = 400 and result.error.InStr("Unknown SID") <> -1
|
if result.status = 410 or (result.status = 400 and result.error.InStr("Unknown SID") <> -1)
|
||||||
unknownSid = true
|
unknownSid = true
|
||||||
exit for
|
exit for
|
||||||
end if
|
end if
|
||||||
|
|||||||
+30
-2
@@ -420,7 +420,19 @@ namespace Http
|
|||||||
options.continuation = continuation
|
options.continuation = continuation
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
fetchedPages = 0
|
||||||
|
while true
|
||||||
|
' Content can be filtered (for example, shorts removed)
|
||||||
|
' so we could be fetching multiple pages.
|
||||||
|
if fetchedPages > 3
|
||||||
|
response.Json({
|
||||||
|
"error": "Failed to search: no results found"
|
||||||
|
})
|
||||||
|
response.http_code = 500
|
||||||
|
return true
|
||||||
|
end if
|
||||||
result = InnertubeService.Search(query, options)
|
result = InnertubeService.Search(query, options)
|
||||||
|
fetchedPages += 1
|
||||||
|
|
||||||
if raw
|
if raw
|
||||||
response.Json(result)
|
response.Json(result)
|
||||||
@@ -441,10 +453,26 @@ namespace Http
|
|||||||
return true
|
return true
|
||||||
end if
|
end if
|
||||||
|
|
||||||
response.Json(result.feeds[0])
|
feed = result.feeds[0]
|
||||||
if result.DoesExist("cache-control")
|
if feed.items.Count() > 0
|
||||||
|
response.Json(feed)
|
||||||
|
if fetchedPages = 1 and result.DoesExist("cache-control")
|
||||||
response.headers["cache-control"] = result["cache-control"]
|
response.headers["cache-control"] = result["cache-control"]
|
||||||
end if
|
end if
|
||||||
|
return true
|
||||||
|
end if
|
||||||
|
|
||||||
|
if StringUtils.IsNullOrEmpty(feed.continuation)
|
||||||
|
response.Json({
|
||||||
|
"error": "Failed to search: no results found"
|
||||||
|
})
|
||||||
|
response.http_code = 500
|
||||||
|
return true
|
||||||
|
end if
|
||||||
|
|
||||||
|
LogDebug("Search returned no results, fetching next page with continuation")
|
||||||
|
options.continuation = feed.continuation
|
||||||
|
end while
|
||||||
|
|
||||||
return true
|
return true
|
||||||
end function
|
end function
|
||||||
|
|||||||
@@ -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=41
|
minor_version=41
|
||||||
build_version=00013
|
build_version=00014
|
||||||
|
|
||||||
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-web",
|
"name": "playlet-web",
|
||||||
"version": "0.41.13",
|
"version": "0.41.14",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-web",
|
"name": "playlet-web",
|
||||||
"version": "0.41.13",
|
"version": "0.41.14",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sveltejs/vite-plugin-svelte": "^6.2.0",
|
"@sveltejs/vite-plugin-svelte": "^6.2.0",
|
||||||
"@tailwindcss/postcss": "^4.1.13",
|
"@tailwindcss/postcss": "^4.1.13",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-web",
|
"name": "playlet-web",
|
||||||
"version": "0.41.13",
|
"version": "0.41.14",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
Reference in new issue
Block a user