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/),
|
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.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
|
## [0.38.0] - 2025-05-19
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ openapi: 3.0.0
|
|||||||
|
|
||||||
info:
|
info:
|
||||||
title: Playlet Web API
|
title: Playlet Web API
|
||||||
version: 0.38.0
|
version: 0.38.1
|
||||||
description:
|
description:
|
||||||
Playlet Web API is a RESTful API for controlling the Playlet app on
|
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
|
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",
|
"name": "playlet",
|
||||||
"version": "0.38.0",
|
"version": "0.38.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.38.0",
|
"version": "0.38.1",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rokucommunity/bslint": "^0.8.31",
|
"@rokucommunity/bslint": "^0.8.31",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet",
|
"name": "playlet",
|
||||||
"version": "0.38.0",
|
"version": "0.38.1",
|
||||||
"description": "Unofficial YouTube client for Roku",
|
"description": "Unofficial YouTube client for Roku",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rokucommunity/bslint": "^0.8.31",
|
"@rokucommunity/bslint": "^0.8.31",
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.38.0",
|
"version": "0.38.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.38.0"
|
"version": "0.38.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-app",
|
"name": "playlet-app",
|
||||||
"version": "0.38.0",
|
"version": "0.38.1",
|
||||||
"description": "Unofficial YouTube client for Roku",
|
"description": "Unofficial YouTube client for Roku",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rm -rf ../build/playlet-app",
|
"prebuild": "rm -rf ../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=38
|
minor_version=38
|
||||||
build_version=00000
|
build_version=00001
|
||||||
|
|
||||||
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.38.0",
|
"version": "0.38.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.38.0"
|
"version": "0.38.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-lib",
|
"name": "playlet-lib",
|
||||||
"version": "0.38.0",
|
"version": "0.38.1",
|
||||||
"description": "Unofficial YouTube client for Roku",
|
"description": "Unofficial YouTube client for Roku",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rm -rf ../build/playlet-lib",
|
"prebuild": "rm -rf ../build/playlet-lib",
|
||||||
|
|||||||
@@ -471,7 +471,6 @@ function SeekToPercentOfDuration() as void
|
|||||||
if seekToPercent = invalid
|
if seekToPercent = invalid
|
||||||
return
|
return
|
||||||
end if
|
end if
|
||||||
m.seekToPercent = invalid
|
|
||||||
|
|
||||||
duration = m.top.duration
|
duration = m.top.duration
|
||||||
if duration = 0
|
if duration = 0
|
||||||
@@ -485,6 +484,7 @@ function SeekToPercentOfDuration() as void
|
|||||||
return
|
return
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
m.seekToPercent = invalid
|
||||||
seek = (MathUtils.Clamp(seekToPercent, 0, 100) / 100.0) * duration
|
seek = (MathUtils.Clamp(seekToPercent, 0, 100) / 100.0) * duration
|
||||||
if seek > 0
|
if seek > 0
|
||||||
LogInfo("Seeking to percent duration watched", seek)
|
LogInfo("Seeking to percent duration watched", seek)
|
||||||
|
|||||||
-4
@@ -219,10 +219,6 @@ namespace Http
|
|||||||
|
|
||||||
response.Json(result.feeds[0])
|
response.Json(result.feeds[0])
|
||||||
|
|
||||||
if result.DoesExist("cache-control")
|
|
||||||
response.headers["cache-control"] = result["cache-control"]
|
|
||||||
end if
|
|
||||||
|
|
||||||
return true
|
return true
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,12 @@ namespace Http
|
|||||||
return true
|
return true
|
||||||
end if
|
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()
|
instance = m.invidiousService.GetInstance()
|
||||||
|
|
||||||
contentNode = InvidiousContent.ToRowCellContentNode(payload, instance)
|
contentNode = InvidiousContent.ToRowCellContentNode(payload, instance)
|
||||||
@@ -79,6 +85,8 @@ namespace Http
|
|||||||
|
|
||||||
if IsString(payload.timestamp)
|
if IsString(payload.timestamp)
|
||||||
payload.timestamp = payload.timestamp.toInt()
|
payload.timestamp = payload.timestamp.toInt()
|
||||||
|
else if IsString(payload.percentDurationWatched)
|
||||||
|
payload.percentDurationWatched = payload.percentDurationWatched.toFloat()
|
||||||
end if
|
end if
|
||||||
|
|
||||||
instance = m.invidiousService.GetInstance()
|
instance = m.invidiousService.GetInstance()
|
||||||
|
|||||||
@@ -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=38
|
minor_version=38
|
||||||
build_version=00000
|
build_version=00001
|
||||||
|
|
||||||
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.38.0",
|
"version": "0.38.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "playlet-web",
|
"name": "playlet-web",
|
||||||
"version": "0.38.0",
|
"version": "0.38.1",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
||||||
"@tailwindcss/typography": "^0.5.16",
|
"@tailwindcss/typography": "^0.5.16",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "playlet-web",
|
"name": "playlet-web",
|
||||||
"version": "0.38.0",
|
"version": "0.38.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -78,6 +78,13 @@ export class PlayletApi {
|
|||||||
args.timestamp = parseInt(args.timestamp);
|
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);
|
await PlayletApi.postJson(`${PlayletApi.host()}/api/queue/play`, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -99,6 +106,13 @@ export class PlayletApi {
|
|||||||
args.timestamp = parseInt(args.timestamp);
|
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);
|
await PlayletApi.postJson(`${PlayletApi.host()}/api/queue`, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
export let viewCount: number | undefined = undefined;
|
export let viewCount: number | undefined = undefined;
|
||||||
export let isUpcoming: boolean = undefined;
|
export let isUpcoming: boolean = undefined;
|
||||||
export let premiereTimestamp: number | undefined = undefined;
|
export let premiereTimestamp: number | undefined = undefined;
|
||||||
|
export let percentDurationWatched: number | undefined = undefined;
|
||||||
|
|
||||||
export let videoStartAtChecked;
|
export let videoStartAtChecked;
|
||||||
export let videoStartAtTimestamp;
|
export let videoStartAtTimestamp;
|
||||||
@@ -69,6 +70,7 @@
|
|||||||
liveNow,
|
liveNow,
|
||||||
viewCount,
|
viewCount,
|
||||||
timestamp,
|
timestamp,
|
||||||
|
percentDurationWatched,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -103,6 +105,7 @@
|
|||||||
bind:isUpcoming
|
bind:isUpcoming
|
||||||
bind:premiereTimestamp
|
bind:premiereTimestamp
|
||||||
bind:invidiousInstance
|
bind:invidiousInstance
|
||||||
|
bind:percentDurationWatched
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="m-4">{title || ""}</div>
|
<div class="m-4">{title || ""}</div>
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
export let lengthText: string | undefined = undefined;
|
export let lengthText: string | undefined = undefined;
|
||||||
export let liveNow: boolean = undefined;
|
export let liveNow: boolean = undefined;
|
||||||
export let lines: string[] | undefined = undefined;
|
export let lines: string[] | undefined = undefined;
|
||||||
|
export let percentDurationWatched: number | undefined = undefined;
|
||||||
|
|
||||||
// svelte-ignore unused-export-let
|
// svelte-ignore unused-export-let
|
||||||
export let type: string = undefined;
|
export let type: string = undefined;
|
||||||
@@ -207,6 +208,7 @@
|
|||||||
bind:lengthText
|
bind:lengthText
|
||||||
bind:viewCount
|
bind:viewCount
|
||||||
bind:invidiousInstance
|
bind:invidiousInstance
|
||||||
|
bind:percentDurationWatched
|
||||||
/>
|
/>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h3 class="card-title text-base line-clamp-2 min-h-12">{title || ""}</h3>
|
<h3 class="card-title text-base line-clamp-2 min-h-12">{title || ""}</h3>
|
||||||
@@ -243,6 +245,7 @@
|
|||||||
bind:isUpcoming
|
bind:isUpcoming
|
||||||
bind:premiereTimestamp
|
bind:premiereTimestamp
|
||||||
bind:viewCount
|
bind:viewCount
|
||||||
|
bind:percentDurationWatched
|
||||||
videoStartAtChecked={false}
|
videoStartAtChecked={false}
|
||||||
videoStartAtTimestamp={0}
|
videoStartAtTimestamp={0}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
export let viewCount: number | undefined = undefined;
|
export let viewCount: number | undefined = undefined;
|
||||||
export let isUpcoming: boolean | undefined = undefined;
|
export let isUpcoming: boolean | undefined = undefined;
|
||||||
export let premiereTimestamp: number | undefined = undefined;
|
export let premiereTimestamp: number | undefined = undefined;
|
||||||
|
export let percentDurationWatched: number | undefined = undefined;
|
||||||
|
|
||||||
export let invidiousInstance;
|
export let invidiousInstance;
|
||||||
|
|
||||||
@@ -92,4 +93,10 @@
|
|||||||
{getFormattedTime(lengthText, lengthSeconds)}
|
{getFormattedTime(lengthText, lengthSeconds)}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/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>
|
</figure>
|
||||||
Reference in new issue
Block a user