Compare commits

..
3 Commits
Author SHA1 Message Date
Brahim Hadriche 9318db7762 Release v0.43.9 (#783) 2025-11-07 14:27:26 -05:00
Brahim Hadriche 42ca2d1b30 [skip ci] another otf fix 2025-11-07 14:24:40 -05:00
Brahim Hadriche 446bba67c9 [skip ci] video error capture 2025-11-07 09:09:23 -05:00
13 changed files with 37 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.43.9] - 2025-11-07
### Fixed
- Another mistake in OTF streams
## [0.43.8] - 2025-11-07
### Fixed
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet",
"version": "0.43.8",
"version": "0.43.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet",
"version": "0.43.8",
"version": "0.43.9",
"hasInstallScript": true,
"devDependencies": {
"@rokucommunity/bslint": "^0.8.38",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet",
"version": "0.43.8",
"version": "0.43.9",
"description": "Unofficial YouTube client for Roku",
"devDependencies": {
"@rokucommunity/bslint": "^0.8.38",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-app",
"version": "0.43.8",
"version": "0.43.9",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-app",
"version": "0.43.8"
"version": "0.43.9"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-app",
"version": "0.43.8",
"version": "0.43.9",
"description": "Unofficial YouTube client for Roku",
"scripts": {
"prebuild": "node ../tools/rm.js ../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=43
build_version=00008
build_version=00009
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-lib",
"version": "0.43.8",
"version": "0.43.9",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-lib",
"version": "0.43.8"
"version": "0.43.9"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-lib",
"version": "0.43.8",
"version": "0.43.9",
"description": "Unofficial YouTube client for Roku",
"scripts": {
"prebuild": "node ../tools/rm.js ../build/playlet-lib",
@@ -108,18 +108,18 @@ namespace Innertube
return true
end if
segmentDurations = OTFParseFileForSegmentInfo(file, errors)
segmentDurations = OTFParseFileForSegmentDurations(file, errors)
if segmentDurations = invalid
errors.message += `Failed to parse segment info for itag ${format.itag}.\n`
errors.message += `Failed to parse segment durations for itag ${format.itag}.\n`
errors.message += `Headers: ${ToString(response.Headers())}\n`
return true
end if
format.otfSegmentInfo = segmentDurations
format["otfSegmentDurations"] = segmentDurations
return true
end function
function OTFParseFileForSegmentInfo(filePath as string, errors as object) as dynamic
function OTFParseFileForSegmentDurations(filePath as string, errors as object) as dynamic
buffer = CreateObject("roByteArray")
buffer.FromAsciiString("Segment-Durations-Ms:")
@@ -447,7 +447,7 @@ function OnVideoPlayerStateChange() as void
errorData = GetPlayerErrorData(content.videoId, errorInfo)
LogErrorNoTelemetry(errorData.title, errorData.body)
ReportVideoError(errorData, content.url)
ReportVideoError(errorData, content.url, content.playletStreamUrls, content.playletStreamUrlIndex)
errorReported = true
if m.videoPlayingSuccess <> true
@@ -509,7 +509,7 @@ function OnVideoPlayerStateChange() as void
LogErrorNoTelemetry(errorData.title, errorData.body)
if not errorReported
ReportVideoError(errorData, content.url)
ReportVideoError(errorData, content.url, content.playletStreamUrls, content.playletStreamUrlIndex)
end if
buttons = [Tr(Locale.Buttons.PlayNextVideo), Tr(Locale.Buttons.Cancel)]
@@ -557,7 +557,7 @@ function GetPlayerErrorData(videoId as string, errorInfo as object) as object
}
end function
function ReportVideoError(errorData as object, url as string) as void
function ReportVideoError(errorData as object, url as string, urls as object, urlIndex as dynamic) as void
attachments = invalid
if errorData.body.Instr("malformed data") <> -1 or errorData.body.Instr("invalid pathname") <> -1
lastGeneratedDash = ValidString(ReadAsciiFile("cachefs:/last_generated_dash.xml"))
@@ -581,9 +581,18 @@ function ReportVideoError(errorData as object, url as string) as void
position = m.top.position
duration = m.top.duration
message = [
errorData.title
errorData.body
`Position: ${position}`
`Duration: ${duration}`
`Url: ${url}`
`Urls: ` + ToString(urls)
`Url index: ${urlIndex}`
].Join(`\n`)
LogTelemetryEvent({
level: "error"
message: errorData.title + " " + errorData.body + `\nurl: ${url}\nposition: ${position}\nduration: ${duration}`
message: message
fingerprint: errorData.fingerprint
attachments: attachments
})
+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=43
build_version=00008
build_version=00009
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-web",
"version": "0.43.8",
"version": "0.43.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet-web",
"version": "0.43.8",
"version": "0.43.9",
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"@tailwindcss/postcss": "^4.1.16",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-web",
"version": "0.43.8",
"version": "0.43.9",
"type": "module",
"scripts": {
"dev": "vite",