1 parent
beeb21283d
commit
cbb34d45fc
15 files changed
+43
-28
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ 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).
|
||||
|
||||
## [Unreleased]
|
||||
## [0.37.0] - 2025-05-16
|
||||
|
||||
### Added
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ openapi: 3.0.0
|
||||
|
||||
info:
|
||||
title: Playlet Web API
|
||||
version: 0.36.7
|
||||
version: 0.37.0
|
||||
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.36.7",
|
||||
"version": "0.37.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet",
|
||||
"version": "0.36.7",
|
||||
"version": "0.37.0",
|
||||
"hasInstallScript": true,
|
||||
"devDependencies": {
|
||||
"@rokucommunity/bslint": "^0.8.30",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet",
|
||||
"version": "0.36.7",
|
||||
"version": "0.37.0",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"devDependencies": {
|
||||
"@rokucommunity/bslint": "^0.8.30",
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet-app",
|
||||
"version": "0.36.7",
|
||||
"version": "0.37.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-app",
|
||||
"version": "0.36.7"
|
||||
"version": "0.37.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-app",
|
||||
"version": "0.36.7",
|
||||
"version": "0.37.0",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"scripts": {
|
||||
"prebuild": "rm -rf ../build/playlet-app",
|
||||
|
||||
@@ -2,8 +2,8 @@ title=Playlet
|
||||
|
||||
# Do not update version manually, it is auto updated from package.json
|
||||
major_version=0
|
||||
minor_version=36
|
||||
build_version=00007
|
||||
minor_version=37
|
||||
build_version=00000
|
||||
|
||||
ui_resolutions=hd
|
||||
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet-lib",
|
||||
"version": "0.36.7",
|
||||
"version": "0.37.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-lib",
|
||||
"version": "0.36.7"
|
||||
"version": "0.37.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-lib",
|
||||
"version": "0.36.7",
|
||||
"version": "0.37.0",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"scripts": {
|
||||
"prebuild": "rm -rf ../build/playlet-lib",
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ namespace Http
|
||||
response = context.response
|
||||
|
||||
response.Json({
|
||||
"error": "Playlet built-in Invidious backend is not a real Invidious instance, and does not support accounts."
|
||||
"error": "Playlet built-in Invidious backend is not a real Invidious instance, and does not support accounts. Please use the login with YouTube option instead."
|
||||
})
|
||||
response.http_code = 400
|
||||
return true
|
||||
|
||||
@@ -2,8 +2,8 @@ title=PlayletLib
|
||||
|
||||
# Do not update version manually, it is auto updated from package.json
|
||||
major_version=0
|
||||
minor_version=36
|
||||
build_version=00007
|
||||
minor_version=37
|
||||
build_version=00000
|
||||
|
||||
ui_resolutions=hd
|
||||
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet-web",
|
||||
"version": "0.36.7",
|
||||
"version": "0.37.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-web",
|
||||
"version": "0.36.7",
|
||||
"version": "0.37.0",
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-web",
|
||||
"version": "0.36.7",
|
||||
"version": "0.37.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -67,7 +67,11 @@
|
||||
<ThemeSelect />
|
||||
{#if currentProfile && currentProfile.username}
|
||||
<div class="badge badge-outline">
|
||||
<span>{currentProfile.username}</span>
|
||||
<span>
|
||||
{currentProfile.username.length > 5
|
||||
? `${currentProfile.username.slice(0, 5)}…`
|
||||
: currentProfile.username}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
<button
|
||||
|
||||
@@ -67,13 +67,17 @@
|
||||
refreshProfiles();
|
||||
}
|
||||
|
||||
function login() {
|
||||
function loginToInvidious() {
|
||||
if (!authUrl) {
|
||||
alert("Error with login, please refresh the page.");
|
||||
return;
|
||||
}
|
||||
window.location = authUrl;
|
||||
}
|
||||
|
||||
function loginToYoutube() {
|
||||
alert("Please use your Roku device to login to YouTube.");
|
||||
}
|
||||
</script>
|
||||
|
||||
<dialog bind:this={modal} class="modal" on:close={onClose}>
|
||||
@@ -141,13 +145,20 @@
|
||||
</div>
|
||||
{/each}
|
||||
<div class="flex items-center">
|
||||
<button class="btn btn-primary" on:click={login}>
|
||||
<div class="">
|
||||
<div class="text-m">{$translate("Login to Invidious")}</div>
|
||||
<div class="text-xs font-light">{currentInstanceName}</div>
|
||||
</div>
|
||||
</button>
|
||||
<button class="btn m-6">{$translate("Close")}</button>
|
||||
<div class="flex flex-col">
|
||||
<button class="btn btn-primary m-2" on:click={loginToYoutube}>
|
||||
<div class="">
|
||||
<div class="text-m">{$translate("Login to YouTube")}</div>
|
||||
</div>
|
||||
</button>
|
||||
<button class="btn btn-primary m-2" on:click={loginToInvidious}>
|
||||
<div class="">
|
||||
<div class="text-m">{$translate("Login to Invidious")}</div>
|
||||
<div class="text-xs font-light">{currentInstanceName}</div>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
<button class="btn m-2">{$translate("Close")}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user