Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9318db7762 | ||
|
|
42ca2d1b30 | ||
|
|
446bba67c9 |
No files matched your search
@@ -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/),
|
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.43.9] - 2025-11-07
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Another mistake in OTF streams
|
||||||
|
|
||||||
## [0.43.8] - 2025-11-07
|
## [0.43.8] - 2025-11-07
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.43.8",
|
"version": "0.43.9",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.43.8",
|
"version": "0.43.9",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rokucommunity/bslint": "^0.8.38",
|
"@rokucommunity/bslint": "^0.8.38",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.43.8",
|
"version": "0.43.9",
|
||||||
"description": "Unofficial YouTube client for Roku",
|
"description": "Unofficial YouTube client for Roku",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rokucommunity/bslint": "^0.8.38",
|
"@rokucommunity/bslint": "^0.8.38",
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.43.8",
|
"version": "0.43.9",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.43.8"
|
"version": "0.43.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.43.8",
|
"version": "0.43.9",
|
||||||
"description": "Unofficial YouTube client for Roku",
|
"description": "Unofficial YouTube client for Roku",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "node ../tools/rm.js ../build/playlet-app",
|
"prebuild": "node ../tools/rm.js ../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=43
|
minor_version=43
|
||||||
build_version=00008
|
build_version=00009
|
||||||
|
|
||||||
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.43.8",
|
"version": "0.43.9",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.43.8"
|
"version": "0.43.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.43.8",
|
"version": "0.43.9",
|
||||||
"description": "Unofficial YouTube client for Roku",
|
"description": "Unofficial YouTube client for Roku",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "node ../tools/rm.js ../build/playlet-lib",
|
"prebuild": "node ../tools/rm.js ../build/playlet-lib",
|
||||||
|
|||||||
@@ -108,18 +108,18 @@ namespace Innertube
|
|||||||
return true
|
return true
|
||||||
end if
|
end if
|
||||||
|
|
||||||
segmentDurations = OTFParseFileForSegmentInfo(file, errors)
|
segmentDurations = OTFParseFileForSegmentDurations(file, errors)
|
||||||
if segmentDurations = invalid
|
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`
|
errors.message += `Headers: ${ToString(response.Headers())}\n`
|
||||||
return true
|
return true
|
||||||
end if
|
end if
|
||||||
|
|
||||||
format.otfSegmentInfo = segmentDurations
|
format["otfSegmentDurations"] = segmentDurations
|
||||||
return true
|
return true
|
||||||
end function
|
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 = CreateObject("roByteArray")
|
||||||
|
|
||||||
buffer.FromAsciiString("Segment-Durations-Ms:")
|
buffer.FromAsciiString("Segment-Durations-Ms:")
|
||||||
|
|||||||
@@ -447,7 +447,7 @@ function OnVideoPlayerStateChange() as void
|
|||||||
errorData = GetPlayerErrorData(content.videoId, errorInfo)
|
errorData = GetPlayerErrorData(content.videoId, errorInfo)
|
||||||
|
|
||||||
LogErrorNoTelemetry(errorData.title, errorData.body)
|
LogErrorNoTelemetry(errorData.title, errorData.body)
|
||||||
ReportVideoError(errorData, content.url)
|
ReportVideoError(errorData, content.url, content.playletStreamUrls, content.playletStreamUrlIndex)
|
||||||
errorReported = true
|
errorReported = true
|
||||||
|
|
||||||
if m.videoPlayingSuccess <> true
|
if m.videoPlayingSuccess <> true
|
||||||
@@ -509,7 +509,7 @@ function OnVideoPlayerStateChange() as void
|
|||||||
|
|
||||||
LogErrorNoTelemetry(errorData.title, errorData.body)
|
LogErrorNoTelemetry(errorData.title, errorData.body)
|
||||||
if not errorReported
|
if not errorReported
|
||||||
ReportVideoError(errorData, content.url)
|
ReportVideoError(errorData, content.url, content.playletStreamUrls, content.playletStreamUrlIndex)
|
||||||
end if
|
end if
|
||||||
|
|
||||||
buttons = [Tr(Locale.Buttons.PlayNextVideo), Tr(Locale.Buttons.Cancel)]
|
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
|
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
|
attachments = invalid
|
||||||
if errorData.body.Instr("malformed data") <> -1 or errorData.body.Instr("invalid pathname") <> -1
|
if errorData.body.Instr("malformed data") <> -1 or errorData.body.Instr("invalid pathname") <> -1
|
||||||
lastGeneratedDash = ValidString(ReadAsciiFile("cachefs:/last_generated_dash.xml"))
|
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
|
position = m.top.position
|
||||||
duration = m.top.duration
|
duration = m.top.duration
|
||||||
|
message = [
|
||||||
|
errorData.title
|
||||||
|
errorData.body
|
||||||
|
`Position: ${position}`
|
||||||
|
`Duration: ${duration}`
|
||||||
|
`Url: ${url}`
|
||||||
|
`Urls: ` + ToString(urls)
|
||||||
|
`Url index: ${urlIndex}`
|
||||||
|
].Join(`\n`)
|
||||||
LogTelemetryEvent({
|
LogTelemetryEvent({
|
||||||
level: "error"
|
level: "error"
|
||||||
message: errorData.title + " " + errorData.body + `\nurl: ${url}\nposition: ${position}\nduration: ${duration}`
|
message: message
|
||||||
fingerprint: errorData.fingerprint
|
fingerprint: errorData.fingerprint
|
||||||
attachments: attachments
|
attachments: attachments
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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=43
|
minor_version=43
|
||||||
build_version=00008
|
build_version=00009
|
||||||
|
|
||||||
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.43.8",
|
"version": "0.43.9",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-web",
|
"name": "playlet-web",
|
||||||
"version": "0.43.8",
|
"version": "0.43.9",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
||||||
"@tailwindcss/postcss": "^4.1.16",
|
"@tailwindcss/postcss": "^4.1.16",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-web",
|
"name": "playlet-web",
|
||||||
"version": "0.43.8",
|
"version": "0.43.9",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
Reference in new issue
Block a user