Compare commits

..
7 Commits
20 changed files with 50 additions and 16 deletions

No files matched your search

+8
View File
@@ -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/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.41.4] - 2025-09-04
### Fixed
- Small improvements in parser
- Try force refresh visitor data when it fails
- Rate limit syslog errors
## [0.41.3] - 2025-09-03
### Fixed
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet",
"version": "0.41.3",
"version": "0.41.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet",
"version": "0.41.3",
"version": "0.41.4",
"hasInstallScript": true,
"devDependencies": {
"@rokucommunity/bslint": "^0.8.34",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet",
"version": "0.41.3",
"version": "0.41.4",
"description": "Unofficial YouTube client for Roku",
"devDependencies": {
"@rokucommunity/bslint": "^0.8.34",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-app",
"version": "0.41.3",
"version": "0.41.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-app",
"version": "0.41.3"
"version": "0.41.4"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-app",
"version": "0.41.3",
"version": "0.41.4",
"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=41
build_version=00003
build_version=00004
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-lib",
"version": "0.41.3",
"version": "0.41.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-lib",
"version": "0.41.3"
"version": "0.41.4"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-lib",
"version": "0.41.3",
"version": "0.41.4",
"description": "Unofficial YouTube client for Roku",
"scripts": {
"prebuild": "rm -rf ../build/playlet-lib",
+9 -1
View File
@@ -25,6 +25,7 @@ function Init()
scene.enableSystemLogType = "http.complete"
scene.enableSystemLogType = "bandwidth.minute"
#end if
m.sysLogEventDropCounter = 0
end if
end if
@@ -112,7 +113,14 @@ function OnLineSysLog(event as object, dateTime as object, logsFile as string, b
print line
buffer.FromAsciiString(line + `\n`)
buffer.AppendFile(logsFile)
m.global.telemetry.logError = line
' Only report 1 in 10 system log errors
' They're usually repetitive, one is reported for each stream in a DASH
' when a video is blocked
if m.sysLogEventDropCounter = 0
m.global.telemetry.logError = line
end if
m.sysLogEventDropCounter = (m.sysLogEventDropCounter + 1) mod 10
end function
function OnLineLogMonitorMemoryWarning(event as object, dateTime as object, logsFile as string, buffer as object) as void
@@ -196,7 +196,7 @@ class DashManifest
for each storyboard in storyboards
interval = ValidInt(storyboard.interval)
if interval = 0
LogWarn("Invalid storyboard interval:", storyboard.interval)
LogWarnNoTelemetry("Invalid storyboard interval:", storyboard.interval)
continue for
end if
@@ -15,6 +15,15 @@ function OnRequestVisitorData() as void
return
end if
OnForceRequestVisitorData()
end function
function OnForceRequestVisitorData() as void
if m.innertubeSessionDataJob <> invalid
m.innertubeSessionDataJob.cancel = true
m.innertubeSessionDataJob = invalid
end if
visitorData = m.top.visitorData
if not StringUtils.IsNullOrEmpty(visitorData)
return
@@ -3,6 +3,7 @@
<field id="timestamp" type="int" />
<field id="visitorData" type="string" />
<field id="requestVisitorData" type="boolean" alwaysNotify="true" onChange="OnRequestVisitorData" />
<field id="forceRequestVisitorData" type="boolean" alwaysNotify="true" onChange="OnForceRequestVisitorData" />
<field id="jobQueue" type="node" />
</interface>
</component>
@@ -128,6 +128,8 @@ namespace Innertube
"genericPromoRenderer": ParseNotImplemented
' "Sign in to see the latest videos tailored to your interests"
"feedNudgeRenderer": ParseNotImplemented
' "Your watch history is off" - "You can change your setting at any time to get the latest videos tailored to you."
"alertWithActionsRenderer": ParseNotImplemented
' "No results found, Try different keywords or remove search filters"
"backgroundPromoRenderer": ParseNotImplemented
' Autocorrect for search terms
@@ -144,6 +146,7 @@ namespace Innertube
"emergencyOneboxRenderer": ParseNotImplemented
"ticketShelfRenderer": ParseNotImplemented
"videoSurveyShelfRenderer": ParseNotImplemented
"popupSurveyShelfRenderer": ParseNotImplemented
"searchBarRenderer": ParseNotImplemented
"clickTrackingParams": ParseNotImplemented
"promoShelfRenderer": ParseNotImplemented
@@ -65,6 +65,7 @@ class LoungeApi
commandHandlers[COMMAND_TYPE_REMOTE_DISCONNECTED] = m.HandleIgnoreCommand
commandHandlers[COMMAND_TYPE_GET_DISCOVERT_DEVICE_ID] = m.HandleIgnoreCommand
commandHandlers[COMMAND_TYPE_GRACEFUL_RECONNECT] = m.HandleIgnoreCommand
commandHandlers[COMMAND_TYPE_GET_RECEIVER_STATUS] = m.HandleIgnoreCommand
commandHandlers[COMMAND_TYPE_GET_NOW_PLAYING] = m.HandleGetPlayingNow
commandHandlers[COMMAND_TYPE_SESSION_ID] = m.HandleSessionId
@@ -27,6 +27,7 @@ const COMMAND_TYPE_SET_SUBTITLES = "setSubtitlesTrack"
const COMMAND_TYPE_ON_USER_ACTIVITY = "onUserActivity"
const COMMAND_TYPE_GET_DISCOVERT_DEVICE_ID = "getDiscoveryDeviceId"
const COMMAND_TYPE_GRACEFUL_RECONNECT = "gracefulReconnect"
const COMMAND_TYPE_GET_RECEIVER_STATUS = "getReceiverStatus"
' Special commands
const COMMAND_TYPE_SESSION_ID = "c"
const COMMAND_TYPE_G_SESSION_ID = "S"
@@ -84,6 +84,7 @@ namespace Sentry
statusCode = response.StatusCode()
if statusCode = 429
retryAfter = ValidInt(response.Headers()["Retry-After"])
LogErrorNoTelemetry("Rate limited by Sentry. Retry after", retryAfter, "seconds")
if retryAfter = 0
retryAfter = 60
end if
@@ -37,6 +37,7 @@ function ExecuteJob() as void
message = wait(20000, messagePort)
innertubeNode.unobserveFieldScoped("visitorData")
if message = invalid
innertubeNode.forceRequestVisitorData = true
JobError("Failed to get visitor data. Please try again later.")
return
end if
@@ -66,6 +67,7 @@ function ExecuteJob() as void
if metadata = invalid
JobError("Failed to get video metadata")
return
end if
if JobIsCancelled()
+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=41
build_version=00003
build_version=00004
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-web",
"version": "0.41.3",
"version": "0.41.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet-web",
"version": "0.41.3",
"version": "0.41.4",
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^6.1.3",
"@tailwindcss/typography": "^0.5.16",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-web",
"version": "0.41.3",
"version": "0.41.4",
"type": "module",
"scripts": {
"dev": "vite",