Small bug fix

This commit is contained in:
Brahim Hadriche committed 2025-01-01 13:14:16 -05:00
1 parent 5eefb9f6cd
commit 09902e0ec3
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Video duration in queue view
- Crash in player when video ID is invalid (again)
## [0.35.3] - 2024-12-29
@@ -172,7 +172,7 @@ function OnVideoContentTaskResults(output as object) as void
end if
error = ErrorUtils.Format(error)
LogError(error)
videoId = output.task.input.content.videoId
videoId = `${output.task.input.content.videoId}`
title = Tr(Locale.VideoPlayer.VideoLoadError)
message = Tr(Locale.VideoPlayer.VideoLoadErrorMessage).Replace("%1", videoId) + `\n${error}`