diff --git a/CHANGELOG.md b/CHANGELOG.md index 11ca30f0..24841bb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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.41.1] - 2025-08-29 + +### Fixed + +- Reduce event count + ## [0.41.0] - 2025-08-29 ### Added diff --git a/package-lock.json b/package-lock.json index a0edf656..083ceaaa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet", - "version": "0.41.0", + "version": "0.41.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "playlet", - "version": "0.41.0", + "version": "0.41.1", "hasInstallScript": true, "devDependencies": { "@rokucommunity/bslint": "^0.8.34", diff --git a/package.json b/package.json index a309d7cb..4b3e57b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "playlet", - "version": "0.41.0", + "version": "0.41.1", "description": "Unofficial YouTube client for Roku", "devDependencies": { "@rokucommunity/bslint": "^0.8.34", diff --git a/playlet-app/package-lock.json b/playlet-app/package-lock.json index f0a59a7b..cacda32c 100644 --- a/playlet-app/package-lock.json +++ b/playlet-app/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-app", - "version": "0.41.0", + "version": "0.41.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playlet-app", - "version": "0.41.0" + "version": "0.41.1" } } } diff --git a/playlet-app/package.json b/playlet-app/package.json index a5a5bb1f..7e89184c 100644 --- a/playlet-app/package.json +++ b/playlet-app/package.json @@ -1,6 +1,6 @@ { "name": "playlet-app", - "version": "0.41.0", + "version": "0.41.1", "description": "Unofficial YouTube client for Roku", "scripts": { "prebuild": "rm -rf ../build/playlet-app", diff --git a/playlet-app/src/manifest b/playlet-app/src/manifest index 3772a3f9..d5bbfc1d 100644 --- a/playlet-app/src/manifest +++ b/playlet-app/src/manifest @@ -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=00000 +build_version=00001 ui_resolutions=hd uri_resolution_autosub=$$RES$$,480p,720p,1080p diff --git a/playlet-lib/package-lock.json b/playlet-lib/package-lock.json index a973d4bc..b630973f 100644 --- a/playlet-lib/package-lock.json +++ b/playlet-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-lib", - "version": "0.41.0", + "version": "0.41.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playlet-lib", - "version": "0.41.0" + "version": "0.41.1" } } } diff --git a/playlet-lib/package.json b/playlet-lib/package.json index aec9c342..323d9169 100644 --- a/playlet-lib/package.json +++ b/playlet-lib/package.json @@ -1,6 +1,6 @@ { "name": "playlet-lib", - "version": "0.41.0", + "version": "0.41.1", "description": "Unofficial YouTube client for Roku", "scripts": { "prebuild": "rm -rf ../build/playlet-lib", diff --git a/playlet-lib/src/components/Services/Dash/DashManifest.bs b/playlet-lib/src/components/Services/Dash/DashManifest.bs index 0f7cb17c..5d6493a2 100644 --- a/playlet-lib/src/components/Services/Dash/DashManifest.bs +++ b/playlet-lib/src/components/Services/Dash/DashManifest.bs @@ -192,17 +192,18 @@ class DashManifest id += 1 end for + storyboardsAdded = false ' https://developer.roku.com/en-ca/docs/developer-program/media-playback/trick-mode/hls-and-dash.md#dash-standard-thumbnail-tiles for each storyboard in storyboards interval = ValidInt(storyboard.interval) if interval = 0 - LogWarn("Invalid storyboard interval:", storyboard.interval) + LogInfo("Invalid storyboard interval:", storyboard.interval) continue for end if templateUrl = storyboard.templateUrl if templateUrl.Instr("$M") = -1 - LogWarn("Invalid storyboard url: url does not contain $M:", templateUrl) + LogInfo("Invalid storyboard url: url does not contain $M:", templateUrl) continue for end if @@ -267,8 +268,13 @@ class DashManifest end if id += 1 + storyboardsAdded = true end for + if storyboards.Count() > 0 and not storyboardsAdded + LogWarn("No valid storyboards found") + end if + xml.End() end if xml.End() diff --git a/playlet-lib/src/components/Services/LoungeService/LoungeApi.bs b/playlet-lib/src/components/Services/LoungeService/LoungeApi.bs index 95237342..467f683d 100644 --- a/playlet-lib/src/components/Services/LoungeService/LoungeApi.bs +++ b/playlet-lib/src/components/Services/LoungeService/LoungeApi.bs @@ -63,6 +63,7 @@ class LoungeApi commandHandlers[COMMAND_TYPE_VOICE_COMMAND] = m.HandleIgnoreCommand commandHandlers[COMMAND_TYPE_ON_USER_ACTIVITY] = m.HandleIgnoreCommand commandHandlers[COMMAND_TYPE_REMOTE_DISCONNECTED] = m.HandleIgnoreCommand + commandHandlers[COMMAND_TYPE_GET_DISCOVERT_DEVICE_ID] = m.HandleIgnoreCommand commandHandlers[COMMAND_TYPE_GET_NOW_PLAYING] = m.HandleGetPlayingNow commandHandlers[COMMAND_TYPE_SESSION_ID] = m.HandleSessionId diff --git a/playlet-lib/src/components/Services/LoungeService/LoungeConstants.bs b/playlet-lib/src/components/Services/LoungeService/LoungeConstants.bs index 413b0ac1..8b716815 100644 --- a/playlet-lib/src/components/Services/LoungeService/LoungeConstants.bs +++ b/playlet-lib/src/components/Services/LoungeService/LoungeConstants.bs @@ -25,6 +25,7 @@ const COMMAND_TYPE_DPAD_COMMAND = "dpadCommand" const COMMAND_TYPE_VOICE_COMMAND = "voiceCommand" const COMMAND_TYPE_SET_SUBTITLES = "setSubtitlesTrack" const COMMAND_TYPE_ON_USER_ACTIVITY = "onUserActivity" +const COMMAND_TYPE_GET_DISCOVERT_DEVICE_ID = "getDiscoveryDeviceId" ' Special commands const COMMAND_TYPE_SESSION_ID = "c" const COMMAND_TYPE_G_SESSION_ID = "S" diff --git a/playlet-lib/src/components/Telemetry/Sentry.bs b/playlet-lib/src/components/Telemetry/Sentry.bs index afc0b4e3..88093524 100644 --- a/playlet-lib/src/components/Telemetry/Sentry.bs +++ b/playlet-lib/src/components/Telemetry/Sentry.bs @@ -42,7 +42,7 @@ namespace Sentry response = request.Await() if not response.IsSuccess() #if DEBUG - LogError("Failed to send event to Sentry:", response.ErrorMessage()) + LogInfo("Failed to send event to Sentry:", response.ErrorMessage()) #end if return end if diff --git a/playlet-lib/src/components/VideoFeed/VideoRowListRowContentJob.bs b/playlet-lib/src/components/VideoFeed/VideoRowListRowContentJob.bs index b4013a3e..96e4d432 100644 --- a/playlet-lib/src/components/VideoFeed/VideoRowListRowContentJob.bs +++ b/playlet-lib/src/components/VideoFeed/VideoRowListRowContentJob.bs @@ -241,7 +241,11 @@ end function function HandleFeedLoadErrorDialog(error as object, isCancelled as boolean, rowList as object) as void error = ErrorUtils.Format(error) - LogError(error) + if isCancelled + LogInfo(error) + else + LogError(error) + end if rowList.onError = error if rowList.hasField("dispose") and rowList.dispose return diff --git a/playlet-lib/src/components/VideoPlayer/VideoContentJob.bs b/playlet-lib/src/components/VideoPlayer/VideoContentJob.bs index 290d98fa..e8fa13d9 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoContentJob.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoContentJob.bs @@ -105,8 +105,6 @@ function ExecuteJob() as void if metadata.liveNow = true contentNode.Live = true end if - - m.global.telemetry.logInfo = "[VideoContentJob] success" end function function CreateStreamUrls(metadata as object, service as Invidious.InvidiousService, preferences as object, backend as string, playletServerPort as integer) as object diff --git a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs index 92445d4c..d047f562 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoPlayer.bs @@ -431,7 +431,6 @@ function OnVideoPlayerStateChange() as void ' This is to reduce false positives, as we do not want retry another link if the first link is working fine. if state = "playing" and not m.videoPlayingSuccess LogInfo(`Now playing video ${content.url}`) - m.global.telemetry.logInfo = "[VideoPlayer] state=playing" m.videoPlayingSuccess = true end if diff --git a/playlet-lib/src/components/Web/WebServer/Http/HttpConnection.bs b/playlet-lib/src/components/Web/WebServer/Http/HttpConnection.bs index a731b22f..45376172 100644 --- a/playlet-lib/src/components/Web/WebServer/Http/HttpConnection.bs +++ b/playlet-lib/src/components/Web/WebServer/Http/HttpConnection.bs @@ -165,7 +165,7 @@ namespace Http if m.socket.eSuccess() LogDebug(op + " peer closed @" + m.client) else - LogError(op + " transfer error @" + m.client, m.socket.status()) + LogInfo(op + " transfer error @" + m.client, m.socket.status()) end if m.close = true m.SetState(Http.HttpConnectionState.DONE) diff --git a/playlet-lib/src/manifest b/playlet-lib/src/manifest index f57dda99..ad043ae3 100644 --- a/playlet-lib/src/manifest +++ b/playlet-lib/src/manifest @@ -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=00000 +build_version=00001 ui_resolutions=hd uri_resolution_autosub=$$RES$$,480p,720p,1080p diff --git a/playlet-web/package-lock.json b/playlet-web/package-lock.json index d7f88b5f..703a5b8d 100644 --- a/playlet-web/package-lock.json +++ b/playlet-web/package-lock.json @@ -1,12 +1,12 @@ { "name": "playlet-web", - "version": "0.41.0", + "version": "0.41.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "playlet-web", - "version": "0.41.0", + "version": "0.41.1", "devDependencies": { "@sveltejs/vite-plugin-svelte": "^6.1.3", "@tailwindcss/typography": "^0.5.16", diff --git a/playlet-web/package.json b/playlet-web/package.json index 54a3ec35..633466fe 100644 --- a/playlet-web/package.json +++ b/playlet-web/package.json @@ -1,6 +1,6 @@ { "name": "playlet-web", - "version": "0.41.0", + "version": "0.41.1", "type": "module", "scripts": { "dev": "vite",