Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
807c528086 | ||
|
|
2c22e97dbe | ||
|
|
840866ce06 | ||
|
|
007607e21c | ||
|
|
b4a4a688ca | ||
|
|
688206ef91 | ||
|
|
3acc1bf9c9 |
No files matched your search
@@ -5,6 +5,19 @@ 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.18] - 2025-09-20
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Various fixes and improvements
|
||||||
|
- Crash due to bad type casting
|
||||||
|
|
||||||
|
## [0.41.17] - 2025-09-19
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Various fixes and improvements
|
||||||
|
|
||||||
## [0.41.16] - 2025-09-19
|
## [0.41.16] - 2025-09-19
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.41.16",
|
"version": "0.41.18",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.41.16",
|
"version": "0.41.18",
|
||||||
"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.16",
|
"version": "0.41.18",
|
||||||
"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.16",
|
"version": "0.41.18",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.41.16"
|
"version": "0.41.18"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.41.16",
|
"version": "0.41.18",
|
||||||
"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=00016
|
build_version=00018
|
||||||
|
|
||||||
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.16",
|
"version": "0.41.18",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.41.16"
|
"version": "0.41.18"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.41.16",
|
"version": "0.41.18",
|
||||||
"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",
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ function Init()
|
|||||||
scene.enableSystemLogType = "http.complete"
|
scene.enableSystemLogType = "http.complete"
|
||||||
scene.enableSystemLogType = "bandwidth.minute"
|
scene.enableSystemLogType = "bandwidth.minute"
|
||||||
#end if
|
#end if
|
||||||
m.sysLogEventDropCounter = 0
|
|
||||||
end if
|
end if
|
||||||
end if
|
end if
|
||||||
|
|
||||||
@@ -114,17 +113,31 @@ function OnLineSysLog(event as object, dateTime as object, logsFile as string, b
|
|||||||
buffer.FromAsciiString(line + `\n`)
|
buffer.FromAsciiString(line + `\n`)
|
||||||
buffer.AppendFile(logsFile)
|
buffer.AppendFile(logsFile)
|
||||||
|
|
||||||
' Only report 1 in 10 system log errors
|
fingerprint = `SysLog${info.Status}${info.LogType}${info.HttpCode}${info.Method}`
|
||||||
' They're usually repetitive, one is reported for each stream in a DASH
|
|
||||||
' when a video is blocked
|
if m.sysLogEventTimer = invalid
|
||||||
if m.sysLogEventDropCounter = 0
|
m.sysLogEventTimer = CreateObject("roTimespan")
|
||||||
|
m.sysLogFingerprint = fingerprint
|
||||||
LogTelemetryEvent({
|
LogTelemetryEvent({
|
||||||
level: "error"
|
level: "error"
|
||||||
message: line
|
message: line
|
||||||
fingerprint: ["SysLog", info.Status, info.LogType, info.HttpCode, info.Method]
|
fingerprint: [fingerprint]
|
||||||
})
|
})
|
||||||
|
return
|
||||||
end if
|
end if
|
||||||
m.sysLogEventDropCounter = (m.sysLogEventDropCounter + 1) mod 10
|
|
||||||
|
' Only log one syslog error per minute (or if the fingerprint changes) to avoid spamming
|
||||||
|
if m.sysLogEventTimer.TotalSeconds() < 60 and m.sysLogFingerprint = fingerprint
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
m.sysLogEventTimer.Mark()
|
||||||
|
m.sysLogFingerprint = fingerprint
|
||||||
|
|
||||||
|
LogTelemetryEvent({
|
||||||
|
level: "error"
|
||||||
|
message: line
|
||||||
|
fingerprint: [fingerprint]
|
||||||
|
})
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function OnLineLogMonitorMemoryWarning(event as object, dateTime as object, logsFile as string, buffer as object) as void
|
function OnLineLogMonitorMemoryWarning(event as object, dateTime as object, logsFile as string, buffer as object) as void
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ namespace Innertube
|
|||||||
' Ignored nodes:
|
' Ignored nodes:
|
||||||
' TODO:P2 radioRenderer seems like a Mix https://github.com/iBicha/playlet/issues/709
|
' TODO:P2 radioRenderer seems like a Mix https://github.com/iBicha/playlet/issues/709
|
||||||
"radioRenderer": ParseNotImplemented
|
"radioRenderer": ParseNotImplemented
|
||||||
|
"compactRadioRenderer": ParseNotImplemented
|
||||||
' TODO:P2 A carousel of videos, found on the home tab of a channel.
|
' TODO:P2 A carousel of videos, found on the home tab of a channel.
|
||||||
' Should probably be parsed.
|
' Should probably be parsed.
|
||||||
"carouselItemRenderer": ParseNotImplemented
|
"carouselItemRenderer": ParseNotImplemented
|
||||||
|
|||||||
@@ -434,11 +434,6 @@ namespace Innertube
|
|||||||
|
|
||||||
response = request.Await()
|
response = request.Await()
|
||||||
if not response.IsSuccess()
|
if not response.IsSuccess()
|
||||||
if response.IsCancelled()
|
|
||||||
LogErrorNoTelemetry(response.ErrorMessage())
|
|
||||||
else
|
|
||||||
LogError(response.ErrorMessage())
|
|
||||||
end if
|
|
||||||
errorCode = ""
|
errorCode = ""
|
||||||
if response.StatusCode() = 400
|
if response.StatusCode() = 400
|
||||||
json = response.Json()
|
json = response.Json()
|
||||||
@@ -456,6 +451,13 @@ namespace Innertube
|
|||||||
if errorCode <> ""
|
if errorCode <> ""
|
||||||
exception.errorCode = errorCode
|
exception.errorCode = errorCode
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
if response.IsCancelled() or errorCode = "STS_MISMATCH"
|
||||||
|
LogErrorNoTelemetry(response.ErrorMessage())
|
||||||
|
else
|
||||||
|
LogError(response.ErrorMessage())
|
||||||
|
end if
|
||||||
|
|
||||||
return exception
|
return exception
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
|||||||
@@ -136,25 +136,38 @@ namespace Sentry
|
|||||||
return [fingerprint]
|
return [fingerprint]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ReplaceRequestId(message as string) as string
|
function ReplaceRequestId(message as string) as dynamic
|
||||||
reqIdStart = `\nRequestId: `
|
reqIdStart = `\nRequestId: `
|
||||||
requestIdIndex = message.InStr(reqIdStart)
|
reqIdPlaceholder = "<REQUEST_ID>"
|
||||||
|
result = message
|
||||||
|
replaced = false
|
||||||
|
searchIndex = 0
|
||||||
|
while true
|
||||||
|
requestIdIndex = result.InStr(searchIndex, reqIdStart)
|
||||||
if requestIdIndex = -1
|
if requestIdIndex = -1
|
||||||
return invalid
|
exit while
|
||||||
end if
|
|
||||||
|
|
||||||
newLineIndex = message.InStr(requestIdIndex + reqIdStart.Len(), `\n`)
|
|
||||||
if newLineIndex = -1
|
|
||||||
return invalid
|
|
||||||
end if
|
end if
|
||||||
|
|
||||||
reqIdStartIndex = requestIdIndex + reqIdStart.Len()
|
reqIdStartIndex = requestIdIndex + reqIdStart.Len()
|
||||||
|
newLineIndex = result.InStr(reqIdStartIndex, `\n`)
|
||||||
|
if newLineIndex = -1
|
||||||
|
exit while
|
||||||
|
end if
|
||||||
|
|
||||||
reqIdEndIndex = newLineIndex - 1
|
reqIdEndIndex = newLineIndex - 1
|
||||||
if (reqIdEndIndex <= reqIdStartIndex) or ((reqIdEndIndex - reqIdStartIndex) > 20)
|
if (reqIdEndIndex <= reqIdStartIndex) or ((reqIdEndIndex - reqIdStartIndex) > 20)
|
||||||
|
exit while
|
||||||
|
end if
|
||||||
|
|
||||||
|
result = result.Mid(0, reqIdStartIndex) + reqIdPlaceholder + result.Mid(reqIdEndIndex + 1)
|
||||||
|
replaced = true
|
||||||
|
searchIndex = reqIdStartIndex + reqIdPlaceholder.Len()
|
||||||
|
end while
|
||||||
|
|
||||||
|
if not replaced
|
||||||
return invalid
|
return invalid
|
||||||
end if
|
end if
|
||||||
|
|
||||||
fingerprint = message.Mid(0, reqIdStartIndex) + "<REQUEST_ID>" + message.Mid(reqIdEndIndex + 1)
|
return result
|
||||||
return fingerprint
|
|
||||||
end function
|
end function
|
||||||
end namespace
|
end namespace
|
||||||
@@ -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=00016
|
build_version=00018
|
||||||
|
|
||||||
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.16",
|
"version": "0.41.18",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-web",
|
"name": "playlet-web",
|
||||||
"version": "0.41.16",
|
"version": "0.41.18",
|
||||||
"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.16",
|
"version": "0.41.18",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
Reference in new issue
Block a user