Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
013e2f49ca | ||
|
|
d2fbd59d6a | ||
|
|
f681a7024c |
No files matched your search
@@ -5,6 +5,14 @@ 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.38.1] - 2025-05-20
|
||||
|
||||
### Fixed
|
||||
|
||||
- Cache issue for watch history
|
||||
- Video progress not showing in web app
|
||||
- Video does not continuing from previous progress when opened
|
||||
|
||||
## [0.38.0] - 2025-05-19
|
||||
|
||||
### Added
|
||||
|
||||
@@ -2,7 +2,7 @@ openapi: 3.0.0
|
||||
|
||||
info:
|
||||
title: Playlet Web API
|
||||
version: 0.38.0
|
||||
version: 0.38.1
|
||||
description:
|
||||
Playlet Web API is a RESTful API for controlling the Playlet app on
|
||||
Roku devices. The API is intended to be used by the Playlet web app, but can
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet",
|
||||
"version": "0.38.0",
|
||||
"version": "0.38.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet",
|
||||
"version": "0.38.0",
|
||||
"version": "0.38.1",
|
||||
"hasInstallScript": true,
|
||||
"devDependencies": {
|
||||
"@rokucommunity/bslint": "^0.8.31",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet",
|
||||
"version": "0.38.0",
|
||||
"version": "0.38.1",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"devDependencies": {
|
||||
"@rokucommunity/bslint": "^0.8.31",
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet-app",
|
||||
"version": "0.38.0",
|
||||
"version": "0.38.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-app",
|
||||
"version": "0.38.0"
|
||||
"version": "0.38.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-app",
|
||||
"version": "0.38.0",
|
||||
"version": "0.38.1",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"scripts": {
|
||||
"prebuild": "rm -rf ../build/playlet-app",
|
||||
|
||||
@@ -3,7 +3,7 @@ title=Playlet
|
||||
# Do not update version manually, it is auto updated from package.json
|
||||
major_version=0
|
||||
minor_version=38
|
||||
build_version=00000
|
||||
build_version=00001
|
||||
|
||||
ui_resolutions=hd
|
||||
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet-lib",
|
||||
"version": "0.38.0",
|
||||
"version": "0.38.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-lib",
|
||||
"version": "0.38.0"
|
||||
"version": "0.38.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-lib",
|
||||
"version": "0.38.0",
|
||||
"version": "0.38.1",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"scripts": {
|
||||
"prebuild": "rm -rf ../build/playlet-lib",
|
||||
|
||||
@@ -471,7 +471,6 @@ function SeekToPercentOfDuration() as void
|
||||
if seekToPercent = invalid
|
||||
return
|
||||
end if
|
||||
m.seekToPercent = invalid
|
||||
|
||||
duration = m.top.duration
|
||||
if duration = 0
|
||||
@@ -485,6 +484,7 @@ function SeekToPercentOfDuration() as void
|
||||
return
|
||||
end if
|
||||
|
||||
m.seekToPercent = invalid
|
||||
seek = (MathUtils.Clamp(seekToPercent, 0, 100) / 100.0) * duration
|
||||
if seek > 0
|
||||
LogInfo("Seeking to percent duration watched", seek)
|
||||
|
||||
-4
@@ -219,10 +219,6 @@ namespace Http
|
||||
|
||||
response.Json(result.feeds[0])
|
||||
|
||||
if result.DoesExist("cache-control")
|
||||
response.headers["cache-control"] = result["cache-control"]
|
||||
end if
|
||||
|
||||
return true
|
||||
end function
|
||||
|
||||
|
||||
@@ -44,6 +44,12 @@ namespace Http
|
||||
return true
|
||||
end if
|
||||
|
||||
if IsString(payload.timestamp)
|
||||
payload.timestamp = payload.timestamp.toInt()
|
||||
else if IsString(payload.percentDurationWatched)
|
||||
payload.percentDurationWatched = payload.percentDurationWatched.toFloat()
|
||||
end if
|
||||
|
||||
instance = m.invidiousService.GetInstance()
|
||||
|
||||
contentNode = InvidiousContent.ToRowCellContentNode(payload, instance)
|
||||
@@ -79,6 +85,8 @@ namespace Http
|
||||
|
||||
if IsString(payload.timestamp)
|
||||
payload.timestamp = payload.timestamp.toInt()
|
||||
else if IsString(payload.percentDurationWatched)
|
||||
payload.percentDurationWatched = payload.percentDurationWatched.toFloat()
|
||||
end if
|
||||
|
||||
instance = m.invidiousService.GetInstance()
|
||||
|
||||
@@ -3,7 +3,7 @@ title=PlayletLib
|
||||
# Do not update version manually, it is auto updated from package.json
|
||||
major_version=0
|
||||
minor_version=38
|
||||
build_version=00000
|
||||
build_version=00001
|
||||
|
||||
ui_resolutions=hd
|
||||
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet-web",
|
||||
"version": "0.38.0",
|
||||
"version": "0.38.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-web",
|
||||
"version": "0.38.0",
|
||||
"version": "0.38.1",
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-web",
|
||||
"version": "0.38.0",
|
||||
"version": "0.38.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -78,6 +78,13 @@ export class PlayletApi {
|
||||
args.timestamp = parseInt(args.timestamp);
|
||||
}
|
||||
}
|
||||
|
||||
if (args.percentDurationWatched !== undefined) {
|
||||
if (typeof args.percentDurationWatched === "string") {
|
||||
args.percentDurationWatched = parseFloat(args.percentDurationWatched);
|
||||
}
|
||||
}
|
||||
|
||||
await PlayletApi.postJson(`${PlayletApi.host()}/api/queue/play`, args);
|
||||
}
|
||||
|
||||
@@ -99,6 +106,13 @@ export class PlayletApi {
|
||||
args.timestamp = parseInt(args.timestamp);
|
||||
}
|
||||
}
|
||||
|
||||
if (args.percentDurationWatched !== undefined) {
|
||||
if (typeof args.percentDurationWatched === "string") {
|
||||
args.percentDurationWatched = parseFloat(args.percentDurationWatched);
|
||||
}
|
||||
}
|
||||
|
||||
await PlayletApi.postJson(`${PlayletApi.host()}/api/queue`, args);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
export let viewCount: number | undefined = undefined;
|
||||
export let isUpcoming: boolean = undefined;
|
||||
export let premiereTimestamp: number | undefined = undefined;
|
||||
export let percentDurationWatched: number | undefined = undefined;
|
||||
|
||||
export let videoStartAtChecked;
|
||||
export let videoStartAtTimestamp;
|
||||
@@ -69,6 +70,7 @@
|
||||
liveNow,
|
||||
viewCount,
|
||||
timestamp,
|
||||
percentDurationWatched,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -103,6 +105,7 @@
|
||||
bind:isUpcoming
|
||||
bind:premiereTimestamp
|
||||
bind:invidiousInstance
|
||||
bind:percentDurationWatched
|
||||
/>
|
||||
</div>
|
||||
<div class="m-4">{title || ""}</div>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
export let lengthText: string | undefined = undefined;
|
||||
export let liveNow: boolean = undefined;
|
||||
export let lines: string[] | undefined = undefined;
|
||||
export let percentDurationWatched: number | undefined = undefined;
|
||||
|
||||
// svelte-ignore unused-export-let
|
||||
export let type: string = undefined;
|
||||
@@ -207,6 +208,7 @@
|
||||
bind:lengthText
|
||||
bind:viewCount
|
||||
bind:invidiousInstance
|
||||
bind:percentDurationWatched
|
||||
/>
|
||||
<div class="card-body">
|
||||
<h3 class="card-title text-base line-clamp-2 min-h-12">{title || ""}</h3>
|
||||
@@ -243,6 +245,7 @@
|
||||
bind:isUpcoming
|
||||
bind:premiereTimestamp
|
||||
bind:viewCount
|
||||
bind:percentDurationWatched
|
||||
videoStartAtChecked={false}
|
||||
videoStartAtTimestamp={0}
|
||||
/>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
export let viewCount: number | undefined = undefined;
|
||||
export let isUpcoming: boolean | undefined = undefined;
|
||||
export let premiereTimestamp: number | undefined = undefined;
|
||||
export let percentDurationWatched: number | undefined = undefined;
|
||||
|
||||
export let invidiousInstance;
|
||||
|
||||
@@ -92,4 +93,10 @@
|
||||
{getFormattedTime(lengthText, lengthSeconds)}
|
||||
</div>
|
||||
{/if}
|
||||
{#if percentDurationWatched}
|
||||
<div
|
||||
class="absolute left-0 bottom-0 h-1 bg-red-600 rounded-box"
|
||||
style="width: {Math.min(percentDurationWatched, 100)}%;"
|
||||
></div>
|
||||
{/if}
|
||||
</figure>
|
||||
Reference in new issue
Block a user