Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46c7f3ebf6 | ||
|
|
f4ebb9068a | ||
|
|
d43d807f11 | ||
|
|
d41d4d990b | ||
|
|
20faa017fd | ||
|
|
e7234c38cd | ||
|
|
77314aaf30 | ||
|
|
432f87ca52 | ||
|
|
e0338a5c05 | ||
|
|
2c46319b31 | ||
|
|
43bce072da | ||
|
|
b6bd3b52a6 | ||
|
|
b464c40f20 | ||
|
|
10b82159d5 | ||
|
|
cb9cdb8112 | ||
|
|
6eedeb375b | ||
|
|
dc5913883b | ||
|
|
0c386cda02 | ||
|
|
feebf2b229 | ||
|
|
7d6f7f6314 | ||
|
|
088377fd82 | ||
|
|
825b9e567b | ||
|
|
585ab135ea | ||
|
|
a42210ddfc | ||
|
|
6683392a78 | ||
|
|
b33136360d | ||
|
|
4af500bec0 | ||
|
|
d967fa11bb | ||
|
|
767f5250c9 | ||
|
|
68cb92aa9c | ||
|
|
7e08b3b4cd | ||
|
|
ad8f787137 | ||
|
|
e4b426b888 | ||
|
|
36c67b97b2 | ||
|
|
4f32f0f70f | ||
|
|
93d23235c9 |
No files matched your search
+52
-1
@@ -5,9 +5,58 @@ 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.25.5] - 2024-09-06
|
||||
|
||||
### Fixed
|
||||
|
||||
- A bug where channel view infinitely tries to load a `Topic` channel
|
||||
|
||||
### Changed
|
||||
|
||||
- Removed announcement
|
||||
|
||||
## [0.25.4] - 2024-08-24
|
||||
|
||||
### Added
|
||||
|
||||
- Portuguese (Brazil) translations (Thanks to davbrasan)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Rare crash related to NavBar
|
||||
- Crash related to web server
|
||||
|
||||
## [0.25.3] - 2024-08-14
|
||||
|
||||
### Fixed
|
||||
|
||||
- a bug where the web app qrcode doesn't show up
|
||||
- added `uri_resolution_autosub` to manifest (needed to fix 720p UI)
|
||||
|
||||
## [0.25.2] - 2024-08-05
|
||||
|
||||
### Added
|
||||
|
||||
- An announcement for the `This helps protect our community` error message
|
||||
|
||||
### Fixed
|
||||
|
||||
- Few optimizations with texture loading to improve memory usage
|
||||
- A rare crash in DIAL server
|
||||
|
||||
## [0.25.1] - 2024-08-03
|
||||
|
||||
### Added
|
||||
|
||||
- Partial Spanish translations (Thanks to gallegonovato)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Issue with focus in the video queue view
|
||||
|
||||
## [0.25.0] - 2024-07-22
|
||||
|
||||
## Added
|
||||
### Added
|
||||
|
||||
- Sort options to channel live streams
|
||||
- Video width and height to DASH manifest
|
||||
@@ -21,6 +70,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [0.24.5] - 2024-07-03
|
||||
|
||||
### Added
|
||||
|
||||
- Additional Spanish (Mexico) translations (Thanks to Jean Carton)
|
||||
|
||||
## [0.24.4] - 2024-06-24
|
||||
|
||||
+1
-1
@@ -47,6 +47,6 @@ LeanBack, also known as Lounge API, also known as "cast from phone". Is a featur
|
||||
When this feature is used, all traffic related to the videos being watched, added to the queue, and the video player state is routed through YouTube servers.
|
||||
|
||||
Playlet tries to preserve user privacy, to the best of its ability, by implementing several techniques, such as randomizing device id, using a fresh session on each start, and only providing necessary fields for the feature to function.
|
||||
Additionally, Playlet does not join a session/lounge, until a device is attempting to connect using DIAL (**DI**scovery **A**nd **L**aunch spec) also know sa "Connect with Wi-Fi", or when a `Link with TV code` is generated, by visiting the appropriate settings page.
|
||||
Additionally, Playlet does not join a session/lounge, until a device is attempting to connect using DIAL (**DI**scovery **A**nd **L**aunch spec) also known as "Connect with Wi-Fi", or when a `Link with TV code` is generated, by visiting the appropriate settings page.
|
||||
|
||||
If you have privacy concerns and do not wish to use this functionality, simply do not connect from a local network using the YouTube app or the browser, and do not visit the `Link with TV code` tab.
|
||||
@@ -15,7 +15,7 @@
|
||||
<a href="/LICENSE">
|
||||
<img alt="AGPL-3.0 license" src="https://img.shields.io/github/license/iBicha/playlet.svg"/>
|
||||
</a>
|
||||
<a href="https://channelstore.roku.com/en-ca/details/840aec36f51bfe6d96cf6db9055a372a/playlet">
|
||||
<a href="https://channelstore.roku.com/details/840aec36f51bfe6d96cf6db9055a372a/playlet">
|
||||
<img alt="Roku Channel Store" src="https://img.shields.io/badge/Roku%20Store-Install-blueviolet?logo=roku&logoColor=blueviolet&labelColor=white"/>
|
||||
</a>
|
||||
<a href="https://github.com/iBicha/playlet/wiki">
|
||||
@@ -40,7 +40,9 @@ More under [Screenshots](./docs/screenshots/README.md)
|
||||
|
||||
## Installation
|
||||
|
||||
[Playlet on Roku channel store](https://channelstore.roku.com/en-ca/details/840aec36f51bfe6d96cf6db9055a372a/playlet)
|
||||
[Playlet on Roku channel store](https://channelstore.roku.com/details/840aec36f51bfe6d96cf6db9055a372a/playlet)
|
||||
|
||||
Note: sometimes a bug in Roku channel store redirects to a random app instead of Playlet. If this happens to you, you can install Playlet from your Roku TV directly, by searching "Playlet" in the store.
|
||||
|
||||
## Features
|
||||
|
||||
|
||||
+12
-6
@@ -26,7 +26,8 @@ This document contains various kinds of information related to Playlet developme
|
||||
- [Playlet Web App](#playlet-web-app)
|
||||
- [Svelte development](#svelte-development)
|
||||
- [Tailwind/Daisy UI](#tailwinddaisy-ui)
|
||||
- [API calls (proxy authenticated)](#api-calls-proxy-authenticated)
|
||||
- [API calls](#api-calls)
|
||||
- [API calls (proxy authenticated)](#api-calls-proxy-authenticated)
|
||||
- [Developer settings](#developer-settings)
|
||||
- [In case of a softlock](#in-case-of-a-softlock)
|
||||
- [CI/CD](#cicd)
|
||||
@@ -144,7 +145,7 @@ There are a few reasons we made this separation:
|
||||
|
||||
- Playlet relies on [Invidious](https://github.com/iv-org/invidious). Invidious tries to keep up with YouTube making changes to their platform, but sometimes, a breaking change happens that requires Playlet to react quickly. Releasing through the Roku Channel store can take days, or a week. During this time, Playlet would be not functional, and that's not acceptable.
|
||||
- The ability to roll back: Sometimes an app breaking bug gets released. Allowing users to choose a seperate version is a flexible way to keep things working. For example, it's possible to choose a different verrsion from the developer settings in the web app.
|
||||
- It is simply easier to release: Releasing Playlet Lib on Github, and everyone receives the latest version immediately, is very conveninct and less of a hassle, than going through the Roku Channel store.
|
||||
- It is simply easier to release: Releasing Playlet Lib on Github, and everyone receives the latest version immediately, is very convenient and less of a hassle, than going through the Roku Channel store.
|
||||
- I've had instances where I was trying to pass the certfication for Playlet to publish it. One of the criterias is to pass a some automated tests. But the tests were failing because their system could not connect to their Roku test devices (connection keeps timing out). My only option was to keep trying over and over until it worked.
|
||||
- It might sound that Playlet Lib is just a workaround for the Roku Channel release process. But phrased differently, Roku Channel release process is not good enough of what we need for Playlet.
|
||||
- Canary builds: The latest version of Playlet can be tested as soon as it lands in the main branch. This is a great way to test newer features in production, without affecting the stability of the released version. Roku has the concept of "beta" channels, but they are more cumbersome.
|
||||
@@ -181,7 +182,8 @@ These are useful to see if the files and caching are working as expected.
|
||||
|
||||
### Releases from Github
|
||||
|
||||
Since Component Libraries are simply zip files hosted at some https endpoint, Github releases are used to host and deliver Playet Lib to users. By default, Playlet grabs `https://github.com/iBicha/playlet/releases/latest/download/playlet-lib.zip` and loads it, but this can be pointed to somewhere else, if for some reason the Github repository becomes unavailable.
|
||||
Since Component Libraries are simply zip/squashfs files hosted at some HTTPS endpoint, Github releases are used to host and deliver Playet Lib to users. By default, Playlet grabs `https://github.com/iBicha/playlet/releases/latest/download/playlet-lib.squashfs.pkg` and loads it, but this can be pointed to somewhere else, if for some reason the Github repository becomes unavailable.
|
||||
Squashfs files are faster to load, but they require signing. Zip files can be used without signing if they are served from an HTTPS endpoint.
|
||||
|
||||
### Dev library hosted by VS Code Extension
|
||||
|
||||
@@ -272,7 +274,11 @@ For debugging, choose the compound target `Playlet Web (Debug)`.
|
||||
|
||||
The Playlet web app uses [Tailwind CSS](https://tailwindcss.com/) as its base styling library. Additionally, it uses [DaisyUI](https://daisyui.com/) as it offers a versatile set of components, and has built-in supports for themes.
|
||||
|
||||
### API calls (proxy authenticated)
|
||||
### API calls
|
||||
|
||||
The Playlet web app communicates with the Playlet Roku app using web APIs. Most of the APIs used are described in the OpenAPI spec [playlet-web-api.yml](./playlet-web-api.yml). The web app also uses Invidious apis documented at [https://docs.invidious.io/api](https://docs.invidious.io/api)
|
||||
|
||||
#### API calls (proxy authenticated)
|
||||
|
||||
When making authenticated calls to Invidious (for example to fetch the user Subscription feed) the Bearer token is needed.
|
||||
|
||||
@@ -286,9 +292,9 @@ For API calls that don't require authentication, the web app fetches data from I
|
||||
|
||||
### Developer settings
|
||||
|
||||
The developer settings are only visible through the web app. They are found at the buttom of the settings page.
|
||||
The developer settings are found at the buttom of the settings page.
|
||||
|
||||
For now, it allows you to point to a different Github release other than the default `latest`.
|
||||
One setting that is only available in the web app is `Playlet Library version`. It allows you to point to a different Github release other than the default `latest`.
|
||||
|
||||
This is mostly useful to QA the `canary` release (see [Canary release](https://en.wikipedia.org/wiki/Feature_toggle#Canary_release)) in a "production" setting before making it available to all users as the official "latest" version.
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ openapi: 3.0.0
|
||||
|
||||
info:
|
||||
title: Playlet Web API
|
||||
version: 0.25.0
|
||||
version: 0.25.5
|
||||
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
+37
-33
@@ -1,22 +1,22 @@
|
||||
{
|
||||
"name": "playlet",
|
||||
"version": "0.25.0",
|
||||
"version": "0.25.5",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet",
|
||||
"version": "0.25.0",
|
||||
"version": "0.25.5",
|
||||
"hasInstallScript": true,
|
||||
"devDependencies": {
|
||||
"@rokucommunity/bslint": "^0.8.21",
|
||||
"@rokucommunity/bslint": "^0.8.24",
|
||||
"@types/crypto-js": "^4.2.2",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/node": "^20.14.11",
|
||||
"@types/node": "^22.5.1",
|
||||
"@types/xml2js": "^0.4.14",
|
||||
"argparse": "^2.0.1",
|
||||
"brighterscript": "0.67.3",
|
||||
"brighterscript-formatter": "^1.7.3",
|
||||
"brighterscript": "0.67.5",
|
||||
"brighterscript-formatter": "^1.7.4",
|
||||
"convert-svg-to-png": "^0.6.4",
|
||||
"cross-fetch": "^4.0.0",
|
||||
"crypto-js": "^4.2.0",
|
||||
@@ -34,9 +34,9 @@
|
||||
"semver": "^7.6.3",
|
||||
"shelljs": "^0.8.5",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.5.3",
|
||||
"typescript": "^5.5.4",
|
||||
"xml2js": "^0.6.2",
|
||||
"yaml": "^2.4.5"
|
||||
"yaml": "^2.5.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "20"
|
||||
@@ -289,10 +289,11 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@rokucommunity/bslint": {
|
||||
"version": "0.8.21",
|
||||
"resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.21.tgz",
|
||||
"integrity": "sha512-gPLddRR/MKoyKoy4sNo/q7HgWrn9AquV9XC66+SwtiepMThjltNk59teJFfX5D0/jqrDnmY/XuXoOLXhvLp/Eg==",
|
||||
"version": "0.8.24",
|
||||
"resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.24.tgz",
|
||||
"integrity": "sha512-1EbA6VeW3QC2QQ/Tqf9qTTcCdZ2ZP9q7H9ZvkeN9gzWYiXFSpJo9AnS41LzEsjRKUtC95UXxIhNhIt4Y+x5szg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"fs-extra": "^10.0.0",
|
||||
"jsonc-parser": "^2.3.0",
|
||||
@@ -514,12 +515,13 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "20.14.11",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.11.tgz",
|
||||
"integrity": "sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA==",
|
||||
"version": "22.5.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.1.tgz",
|
||||
"integrity": "sha512-KkHsxej0j9IW1KKOOAA/XBA0z08UFSrRQHErzEfA3Vgq57eXIMYboIlHJuYIfd+lwCQjtKqUu3UnmKbtUc9yRw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~5.26.4"
|
||||
"undici-types": "~6.19.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/xml2js": {
|
||||
@@ -887,10 +889,11 @@
|
||||
}
|
||||
},
|
||||
"node_modules/brighterscript": {
|
||||
"version": "0.67.3",
|
||||
"resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.67.3.tgz",
|
||||
"integrity": "sha512-uuAIvDmIENA+HdeuRiC1KM+n250m0J9k0Cdiwpby4cBZiFAHRkYoynEqmL8kwAaPtxdXI5RcZU4JqInCd1avlA==",
|
||||
"version": "0.67.5",
|
||||
"resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.67.5.tgz",
|
||||
"integrity": "sha512-OUJ5xLymzKXir8/RdWKamRIYbcqFy2JgqSp6eu2F+wdlCp3rlKCrP83pjEJ9kuqwJCo/V2pjTUcilcNBLkvuIg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@rokucommunity/bslib": "^0.1.1",
|
||||
"@rokucommunity/logger": "^0.3.9",
|
||||
@@ -915,7 +918,7 @@
|
||||
"parse-ms": "^2.1.0",
|
||||
"readline": "^1.3.0",
|
||||
"require-relative": "^0.8.7",
|
||||
"roku-deploy": "^3.12.0",
|
||||
"roku-deploy": "^3.12.1",
|
||||
"serialize-error": "^7.0.1",
|
||||
"source-map": "^0.7.4",
|
||||
"vscode-languageserver": "^9.0.1",
|
||||
@@ -931,12 +934,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/brighterscript-formatter": {
|
||||
"version": "1.7.3",
|
||||
"resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.7.3.tgz",
|
||||
"integrity": "sha512-UkxUcqlOvwdkFCel0lsHFmOk0qtb+bK9emIWtGLHW9s6/K8RA+yLEdcGKLqGwgrcnnuK2famP+V718yIvk1Sug==",
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.7.4.tgz",
|
||||
"integrity": "sha512-a9RWMbCADBHLwaVirf5NuXPxZaRSraSf3Zm8/ecf5qx51gEU4DbwqpLE+d4ncnHn2/Y5M3mf0fJeQGfWlqo6Kg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"brighterscript": "^0.67.2",
|
||||
"brighterscript": "^0.67.4",
|
||||
"glob-all": "^3.3.0",
|
||||
"jsonc-parser": "^3.0.0",
|
||||
"source-map": "^0.7.3",
|
||||
@@ -5120,9 +5123,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.5.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz",
|
||||
"integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==",
|
||||
"version": "5.5.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz",
|
||||
"integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
@@ -5168,10 +5171,11 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/undici-types": {
|
||||
"version": "5.26.5",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
|
||||
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
|
||||
"dev": true
|
||||
"version": "6.19.6",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.6.tgz",
|
||||
"integrity": "sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/universalify": {
|
||||
"version": "2.0.0",
|
||||
@@ -5533,9 +5537,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/yaml": {
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz",
|
||||
"integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==",
|
||||
"version": "2.5.0",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.0.tgz",
|
||||
"integrity": "sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"yaml": "bin.mjs"
|
||||
|
||||
+7
-7
@@ -1,16 +1,16 @@
|
||||
{
|
||||
"name": "playlet",
|
||||
"version": "0.25.0",
|
||||
"version": "0.25.5",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"devDependencies": {
|
||||
"@rokucommunity/bslint": "^0.8.21",
|
||||
"@rokucommunity/bslint": "^0.8.24",
|
||||
"@types/crypto-js": "^4.2.2",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/node": "^20.14.11",
|
||||
"@types/node": "^22.5.1",
|
||||
"@types/xml2js": "^0.4.14",
|
||||
"argparse": "^2.0.1",
|
||||
"brighterscript": "0.67.3",
|
||||
"brighterscript-formatter": "^1.7.3",
|
||||
"brighterscript": "0.67.5",
|
||||
"brighterscript-formatter": "^1.7.4",
|
||||
"convert-svg-to-png": "^0.6.4",
|
||||
"cross-fetch": "^4.0.0",
|
||||
"crypto-js": "^4.2.0",
|
||||
@@ -28,9 +28,9 @@
|
||||
"semver": "^7.6.3",
|
||||
"shelljs": "^0.8.5",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.5.3",
|
||||
"typescript": "^5.5.4",
|
||||
"xml2js": "^0.6.2",
|
||||
"yaml": "^2.4.5"
|
||||
"yaml": "^2.5.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "20"
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet-app",
|
||||
"version": "0.25.0",
|
||||
"version": "0.25.5",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-app",
|
||||
"version": "0.25.0"
|
||||
"version": "0.25.5"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-app",
|
||||
"version": "0.25.0",
|
||||
"version": "0.25.5",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"scripts": {
|
||||
"prebuild": "rm -rf ../build/playlet-app",
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
function Init()
|
||||
m.busySpinner = m.top.findNode("busySpinner")
|
||||
m.busyspinner.poster.width = 150
|
||||
m.busyspinner.poster.height = 150
|
||||
poster = m.busyspinner.poster
|
||||
poster.width = 150
|
||||
poster.height = 150
|
||||
poster.loadWidth = 150
|
||||
poster.loadHeight = 150
|
||||
poster.loadDisplayMode = "limitSize"
|
||||
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
|
||||
m.busyspinner.poster.observeField("loadStatus", "PositionSpinner")
|
||||
m.busySpinner.poster.uri = "pkg:/images/spinner.png"
|
||||
poster.observeField("loadStatus", "PositionSpinner")
|
||||
poster.uri = "pkg:/images/spinner.png"
|
||||
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
|
||||
m.top.observeField("visible", "OnVisibleChange")
|
||||
end function
|
||||
|
||||
@@ -3,9 +3,10 @@ title=Playlet
|
||||
# Do not update version manually, it is auto updated from package.json
|
||||
major_version=0
|
||||
minor_version=25
|
||||
build_version=00000
|
||||
build_version=00005
|
||||
|
||||
ui_resolutions=hd
|
||||
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
||||
|
||||
## Channel Assets
|
||||
### Main Menu Icons / Channel Poster Artwork
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "playlet-lib",
|
||||
"version": "0.25.0",
|
||||
"version": "0.25.5",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "playlet-lib",
|
||||
"version": "0.25.0"
|
||||
"version": "0.25.5"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-lib",
|
||||
"version": "0.25.0",
|
||||
"version": "0.25.5",
|
||||
"description": "Unofficial YouTube client for Roku",
|
||||
"scripts": {
|
||||
"prebuild": "rm -rf ../build/playlet-lib",
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
<Poster
|
||||
id="banner"
|
||||
width="1280"
|
||||
loadWidth="1280"
|
||||
loadHeight="500"
|
||||
loadDisplayMode="limitSize"
|
||||
visible="false" />
|
||||
|
||||
<Group id="container">
|
||||
|
||||
@@ -7,13 +7,13 @@ import "pkg:/source/utils/Locale.bs"
|
||||
import "pkg:/source/utils/Logging.bs"
|
||||
|
||||
function LoadChannel(invidiousNode as object) as void
|
||||
if m.contentTask <> invalid
|
||||
m.contentTask.cancel = true
|
||||
loadState = m.top.loadState
|
||||
if loadState = FeedLoadState.Loading or loadState = FeedLoadState.Loaded or loadState = FeedLoadState.Error
|
||||
return
|
||||
end if
|
||||
|
||||
loadState = m.top.loadState
|
||||
if loadState = FeedLoadState.Loading or loadState = FeedLoadState.Loaded
|
||||
return
|
||||
if m.contentTask <> invalid
|
||||
m.contentTask.cancel = true
|
||||
end if
|
||||
|
||||
m.top.loadState = FeedLoadState.Loading
|
||||
|
||||
@@ -1,27 +1,20 @@
|
||||
function Init()
|
||||
m.titleLabel = m.top.findNode("TitleLabel")
|
||||
m.titleLabelFocused = m.top.findNode("TitleLabelFocused")
|
||||
m.iconPoster = m.top.findNode("IconPoster")
|
||||
m.profileIcon = m.top.findNode("ProfileIcon")
|
||||
end function
|
||||
|
||||
function OnContentSet() as void
|
||||
content = m.top.itemContent
|
||||
if content = invalid
|
||||
return
|
||||
end if
|
||||
|
||||
m.titleLabel.text = content.text
|
||||
m.titleLabelFocused.text = content.text
|
||||
m.top.titleLabelText = content.text
|
||||
m.top.titleLabelFocusedText = content.text
|
||||
|
||||
isProfile = content.isProfile
|
||||
if isProfile
|
||||
m.iconPoster.visible = false
|
||||
m.profileIcon.visible = true
|
||||
m.top.iconPosterVisible = false
|
||||
m.top.profileIconVisible = true
|
||||
else
|
||||
m.iconPoster.visible = true
|
||||
m.profileIcon.visible = false
|
||||
m.iconPoster.uri = content.icon
|
||||
m.top.iconPosterVisible = true
|
||||
m.top.profileIconVisible = false
|
||||
m.top.iconPosterUri = content.icon
|
||||
end if
|
||||
|
||||
OnListHasFocusChange()
|
||||
@@ -29,15 +22,15 @@ end function
|
||||
|
||||
function OnItemHasFocusChange() as void
|
||||
itemHasFocus = m.top.itemHasFocus
|
||||
m.titleLabelFocused.visible = itemHasFocus
|
||||
m.titleLabel.visible = not itemHasFocus
|
||||
m.top.titleLabelFocusedVisible = itemHasFocus
|
||||
m.top.titleLabelVisible = not itemHasFocus
|
||||
end function
|
||||
|
||||
function OnListHasFocusChange()
|
||||
listHasFocus = m.top.listHasFocus
|
||||
if not listHasFocus
|
||||
m.titleLabelFocused.visible = false
|
||||
m.titleLabel.visible = false
|
||||
m.top.titleLabelFocusedVisible = false
|
||||
m.top.titleLabelVisible = false
|
||||
m.top.opacity = 0.8
|
||||
else
|
||||
OnItemHasFocusChange()
|
||||
|
||||
@@ -3,6 +3,14 @@
|
||||
<field id="itemContent" type="node" onChange="OnContentSet" />
|
||||
<field id="itemHasFocus" type="boolean" onChange="OnItemHasFocusChange" />
|
||||
<field id="listHasFocus" type="boolean" onChange="OnListHasFocusChange" />
|
||||
|
||||
<field id="titleLabelText" type="string" alias="TitleLabel.text" />
|
||||
<field id="titleLabelFocusedText" type="string" alias="TitleLabelFocused.text" />
|
||||
<field id="titleLabelVisible" type="boolean" alias="TitleLabel.visible" />
|
||||
<field id="titleLabelFocusedVisible" type="boolean" alias="TitleLabelFocused.visible" />
|
||||
<field id="iconPosterVisible" type="boolean" alias="IconPoster.visible" />
|
||||
<field id="iconPosterUri" type="uri" alias="IconPoster.uri" />
|
||||
<field id="profileIconVisible" type="boolean" alias="ProfileIcon.visible" />
|
||||
</interface>
|
||||
|
||||
<children>
|
||||
|
||||
@@ -1,29 +1,49 @@
|
||||
import "pkg:/source/AsyncTask/AsyncTask.bs"
|
||||
import "pkg:/source/AsyncTask/Tasks.bs"
|
||||
import "pkg:/source/utils/Logging.bs"
|
||||
import "pkg:/source/utils/StringUtils.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
|
||||
function Init()
|
||||
m.busySpinner = m.top.findNode("busySpinner")
|
||||
m.busySpinnerPoster = m.busySpinner.poster
|
||||
|
||||
m.busySpinnerPoster.uri = "pkg:/images/spinner.png"
|
||||
m.busySpinnerPoster.loadDisplayMode = "limitSize"
|
||||
|
||||
m.top.observeField("width", FuncName(OnSizeChange))
|
||||
m.top.observeField("height", FuncName(OnSizeChange))
|
||||
OnSizeChange()
|
||||
|
||||
m.busySpinnerPoster.uri = "pkg:/images/spinner.png"
|
||||
|
||||
m.top.observeField("loadStatus", FuncName(OnLoadStatusChange))
|
||||
end function
|
||||
|
||||
function OnSizeChange()
|
||||
width = m.top.width
|
||||
height = m.top.height
|
||||
|
||||
m.busySpinnerPoster.width = width / 2
|
||||
m.busySpinnerPoster.height = height / 2
|
||||
m.busySpinner.translation = [width / 4, height / 4]
|
||||
spinnerWidth = m.top.width / 2
|
||||
spinnerHeight = m.top.height / 2
|
||||
m.busySpinnerPoster.width = spinnerWidth
|
||||
m.busySpinnerPoster.height = spinnerHeight
|
||||
m.busySpinnerPoster.loadWidth = spinnerWidth
|
||||
m.busySpinnerPoster.loadHeight = spinnerHeight
|
||||
m.busySpinner.translation = [spinnerWidth / 2, spinnerHeight / 2]
|
||||
end function
|
||||
|
||||
function OnTextChange() as void
|
||||
GenerateQrCode()
|
||||
end function
|
||||
|
||||
function OnLoadStatusChange() as void
|
||||
if m.top.loadStatus <> "failed"
|
||||
return
|
||||
end if
|
||||
|
||||
' If the image failed to load, it might have been deleted from cachefs:
|
||||
' Try to generate it again
|
||||
LogInfo("QrCode image failed to load, trying to generate it again")
|
||||
GenerateQrCode()
|
||||
end function
|
||||
|
||||
function GenerateQrCode() as void
|
||||
if m.qrCodeGenTask <> invalid
|
||||
m.qrCodeGenTask.cancel = true
|
||||
end if
|
||||
|
||||
+2
@@ -103,7 +103,9 @@ end function
|
||||
function OnEditButtonSelected()
|
||||
keyboardDialog = createObject("roSGNode", "StandardKeyboardDialog")
|
||||
SetPalette(keyboardDialog)
|
||||
' TODO:P2 localize
|
||||
keyboardDialog.title = "Edit Instance"
|
||||
' TODO:P2 localize
|
||||
keyboardDialog.message = [`Enter the instance url (e.g. ${Invidious.DEFAULT_INSTANCE})`]
|
||||
keyboardDialog.text = m.top.text
|
||||
keyboardDialog.buttons = [Tr(Locale.Buttons.OK), Tr(Locale.Buttons.Cancel)]
|
||||
|
||||
@@ -44,6 +44,7 @@ const FIELD_VIDEO_ID = "videoId"
|
||||
const FIELD_VIDEO_IDS = "videoIds"
|
||||
const FIELD_EVENT_DETAILS = "eventDetails"
|
||||
const FIELD_LIST_ID = "listId"
|
||||
const FIELD_MDX_EXPANDED_RECEIVER_VIDEO_ID_LIST = "mdxExpandedReceiverVideoIdList"
|
||||
const FIELD_CURRENT_TIME = "currentTime"
|
||||
const FIELD_DURATION = "duration"
|
||||
const FIELD_VOLUME = "volume"
|
||||
|
||||
@@ -49,12 +49,14 @@ function OnContentSet() as void
|
||||
end if
|
||||
|
||||
index = content.index
|
||||
videoCount = content.getChildCount()
|
||||
if IsInt(index) and index <> -1
|
||||
m.queueLabel.text = Tr(Locale.VideoQueue.Queue) + ` (${index + 1}/${content.getChildCount()})`
|
||||
m.queueLabel.text = Tr(Locale.VideoQueue.Queue) + ` (${index + 1}/${videoCount})`
|
||||
else
|
||||
m.queueLabel.text = Tr(Locale.VideoQueue.Queue) + ` (${content.getChildCount()})`
|
||||
m.queueLabel.text = Tr(Locale.VideoQueue.Queue) + ` (${videoCount})`
|
||||
end if
|
||||
|
||||
AdjustFocus(videoCount)
|
||||
LoadVideoDetailsIfNeeded()
|
||||
end function
|
||||
|
||||
@@ -146,6 +148,14 @@ function LoadVideoDetailsIfNeeded() as void
|
||||
})
|
||||
end function
|
||||
|
||||
function AdjustFocus(videoCount as integer)
|
||||
hasVideos = videoCount > 0
|
||||
if not hasVideos and m.queueList.hasFocus()
|
||||
NodeSetFocus(m.clearButton, true)
|
||||
end if
|
||||
m.queueList.focusable = hasVideos
|
||||
end function
|
||||
|
||||
function OnDispose()
|
||||
m.queueList.content = invalid
|
||||
DisposeObservers()
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace Http
|
||||
m.SetState(Http.HttpConnectionState.RECV_REQUEST)
|
||||
m.client = m.socket.getReceivedFromAddress().getAddress()
|
||||
|
||||
LogInfo("accepted connection @" + m.client)
|
||||
LogDebug("accepted connection @" + m.client)
|
||||
|
||||
' try to read right away rather than going through another iteration
|
||||
' of the poll loop.
|
||||
@@ -162,7 +162,7 @@ namespace Http
|
||||
'info(m,op + " would have blocked @"+m.client)
|
||||
else
|
||||
if m.socket.eSuccess()
|
||||
LogInfo(op + " peer closed @" + m.client)
|
||||
LogDebug(op + " peer closed @" + m.client)
|
||||
else
|
||||
LogError(op + " transfer error @" + m.client, m.socket.status())
|
||||
end if
|
||||
|
||||
@@ -121,7 +121,8 @@ ${m.GeneratedBy()}
|
||||
buf_pos = m.start + m.sent - m.buf_start
|
||||
buf_remaining = m.body_buffer.count() - buf_pos
|
||||
if buf_remaining = 0
|
||||
LogInfo("source buffer is empty")
|
||||
' This is expected if there's an ETag cache hit
|
||||
LogDebug("source buffer is empty")
|
||||
end if
|
||||
req_remaining = m.body_buffer_length - m.sent
|
||||
if buf_remaining > req_remaining
|
||||
|
||||
@@ -6,7 +6,14 @@ namespace Http
|
||||
function MimeType(uri = "" as string) as string
|
||||
map = m.MimeTypes
|
||||
if map = invalid
|
||||
map = ParseJson(ReadAsciiFile("libpkg:/config/mime-types.json5"))
|
||||
json = ReadAsciiFile("libpkg:/config/mime-types.json5")
|
||||
if StringUtils.IsNullOrEmpty(json)
|
||||
return "application/octet-stream"
|
||||
end if
|
||||
map = ParseJson(json)
|
||||
if not IsAssociativeArray(map)
|
||||
return "application/octet-stream"
|
||||
end if
|
||||
m.MimeTypes = map
|
||||
end if
|
||||
ext = m.GetExtension(uri)
|
||||
@@ -29,7 +36,14 @@ namespace Http
|
||||
function HttpTitle(code = 0 as integer) as string
|
||||
map = m.httpCodesMap
|
||||
if map = invalid
|
||||
map = ParseJson(ReadAsciiFile("libpkg:/config/http-codes.json5"))
|
||||
json = ReadAsciiFile("libpkg:/config/http-codes.json5")
|
||||
if StringUtils.IsNullOrEmpty(json)
|
||||
return ""
|
||||
end if
|
||||
map = ParseJson(json)
|
||||
if not IsAssociativeArray(map)
|
||||
return ""
|
||||
end if
|
||||
m.httpCodesMap = map
|
||||
end if
|
||||
return ValidString(map[`${code}`])
|
||||
|
||||
@@ -1,8 +1,404 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.0" language="es_ES" sourcelanguage="en_US">
|
||||
<defaultcodec>UTF-8</defaultcodec>
|
||||
<context>
|
||||
<name>default</name>
|
||||
</context>
|
||||
</TS>
|
||||
<defaultcodec>UTF-8</defaultcodec>
|
||||
<context>
|
||||
<name>default</name>
|
||||
<message>
|
||||
<source>Profile</source>
|
||||
<translation>Perfil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Search</source>
|
||||
<translation>Buscar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Home</source>
|
||||
<translation>Inicio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bookmarks</source>
|
||||
<translation>Marcadores</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Settings</source>
|
||||
<translation>Ajustes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remote</source>
|
||||
<translation>Remoto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Info</source>
|
||||
<translation>Información</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>OK</source>
|
||||
<translation>De acuerdo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Activate</source>
|
||||
<translation>Activar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In Use</source>
|
||||
<translation>En uso</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Login</source>
|
||||
<translation>Inicio de sesión</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Logout</source>
|
||||
<translation>Cerrar sesión</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Close</source>
|
||||
<translation>Cerrar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Exit</source>
|
||||
<translation>Salir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation>Cancelar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Filters</source>
|
||||
<translation>Filtros</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Subscriptions</source>
|
||||
<translation>Suscripciones</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Playlists</source>
|
||||
<translation>Listas de reproducción</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Watch history</source>
|
||||
<translation>Ver el historial</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending</source>
|
||||
<translation>Tendencias</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending - Movies</source>
|
||||
<translation>Tendencias - Películas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending - Music</source>
|
||||
<translation>Tendencias - Música</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending - Gaming</source>
|
||||
<translation>Tendencias - Juegos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Popular</source>
|
||||
<translation>Popular</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Videos</source>
|
||||
<translation>Vídeos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Shorts</source>
|
||||
<translation>Vídeos cortos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Live</source>
|
||||
<translation>Directos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Releases</source>
|
||||
<translation>Publicaciones</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Podcasts</source>
|
||||
<translation>Podcasts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>Editar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Save</source>
|
||||
<translation>Guardar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Test instance</source>
|
||||
<translation>Probar instancia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Subscribe</source>
|
||||
<translation>Suscribirte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unsubscribe</source>
|
||||
<translation>Cancelar suscripción</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Login to Invidious</source>
|
||||
<translation>Conectarse a Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>IP address not available</source>
|
||||
<translation>Dirección IP no disponible</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Scan the QR code</source>
|
||||
<translation>Escanear el código QR</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please note that an Invidious account is different from a YouTube account.</source>
|
||||
<translation>Por favor, ten en cuenta que una cuenta de Invidious es diferente de una cuenta de YouTube.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Do you want to exit Playlet?</source>
|
||||
<translation>¿Quieres salir de Playlet?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sort %1 by</source>
|
||||
<translation>Ordenar %1 por</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Latest</source>
|
||||
<translation>Más reciente</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Oldest</source>
|
||||
<translation>Más antiguo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Date added (newest)</source>
|
||||
<translation>Fecha en que se añadió (más reciente)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Last video added</source>
|
||||
<translation>Último vídeo añadido</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Channel load error</source>
|
||||
<translation>Error al cargar el canal</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to load channel %1</source>
|
||||
<translation>Error al cargar el canal %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Playlist load error</source>
|
||||
<translation>Error al carga la lista de reproducción</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to load playlist %1</source>
|
||||
<translation>Error al cargar la lista de reproducción %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No results found</source>
|
||||
<translation>Sin resultados</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>We didn't find any results for your search. Please try again with a different query or different filters.</source>
|
||||
<translation>No hemos encontrado ningún resultado para tu búsqueda. Por favor, inténtalo de nuevo con una consulta diferente o filtros diferentes.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Invidious public instances load error</source>
|
||||
<translation>Error deal carga las instancias públicas de Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to load Invidious public instances</source>
|
||||
<translation>Error al cargar instancias públicas de Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to load feed</source>
|
||||
<translation>Fallo al cargar el feed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>User logged out</source>
|
||||
<translation>Usuario desconectado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Lounge service setup error</source>
|
||||
<translation>Error de configuración del servicio Lounge</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to get screen ID. Please restart Playlet to use the cast function.</source>
|
||||
<translation>No se pudo obtener el ID de tu pantalla. Por favor reinicia Playlet para usar la función de transmitir.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Not a valid screen id: %1</source>
|
||||
<translation>Id de pantalla no válida: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to get lounge token. Please restart Playlet to use the cast function.</source>
|
||||
<translation>No se ha podido obtener el token dela sala. Por favor, reinicia Playlet para utilizar la función de la transmisión.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to get session data. Please restart Playlet to use the cast function.</source>
|
||||
<translation>No se han podido obtener los datos de la sesión. Por favor, reinicia Playlet para utilizar la función de transmisión.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Invalid response: %1</source>
|
||||
<translation>Respuesta no válida: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Invidious custom instance</source>
|
||||
<translation>Instancia personalizada de Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Or</source>
|
||||
<translation>O</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Invidious public instances</source>
|
||||
<translation>Instancias públicas de Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move up</source>
|
||||
<translation>Subir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move down</source>
|
||||
<translation>Bajar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>name</source>
|
||||
<translation>nombre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>version</source>
|
||||
<translation>versión</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>users</source>
|
||||
<translation>usuarios</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>signup</source>
|
||||
<translation>inscríbete</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>location</source>
|
||||
<translation>ubicación</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>health</source>
|
||||
<translation>salud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Yes</source>
|
||||
<translation>Sí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No</source>
|
||||
<translation>No</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Success</source>
|
||||
<translation>Éxito</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Play next video</source>
|
||||
<translation>Reproducir el siguiente vídeo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clear</source>
|
||||
<translation>Limpiar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Test</source>
|
||||
<translation>Prueba</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Testing %1</source>
|
||||
<translation>Probando %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Status</source>
|
||||
<translation>Estado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Test duration</source>
|
||||
<translation>Duración de la prueba</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Details</source>
|
||||
<translation>Detalles</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Valid URL</source>
|
||||
<translation>URL verificada</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Fetch video details</source>
|
||||
<translation>Obtener detalles del vídeo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Instance reachable</source>
|
||||
<translation>Instancia accesible</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Fetch video comments</source>
|
||||
<translation>Obtener comentarios del video</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Fetch video captions</source>
|
||||
<translation>Obtener subtítulos del video</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Fetch video thumbnails</source>
|
||||
<translation>Obtener miniaturas del video</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Url must start with http:// or https://</source>
|
||||
<translation>La URL debe comenzar con http:// o https://</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Press 'OK' for details</source>
|
||||
<translation>Presiona 'De acuerdo' para más detalles</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The url seems to be of a valid format</source>
|
||||
<translation>La URL parece tener un formato válido</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Invalid JSON from %1 (couldn't read %2)</source>
|
||||
<translation>JSON no válido para %1 (no se pudo leer %2)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>It looks like you are logged in to Invidious, but do not have the required permissions.\nFor that reason, we have logged you out from the following profiles: %1\nPlease log in again.\nThis can happen when Playlet is updated with new features.\nWe apologize for the inconvenience.</source>
|
||||
<translation>Parece que has iniciado sesión en Invidious, pero no tienes los permisos necesarios.\nPor este motivo, hemos cerrado tu sesión en los siguientes perfiles: %1\nPor favor, inicia sesión de nuevo.\nEsto puede suceder cuando Playlet se actualiza con nuevas características.\nDisculpa las molestias.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Refresh</source>
|
||||
<translation>Recargar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history.</source>
|
||||
<translation>Inicia sesión en Invidious para ver las suscripciones, las listas de reproducción y utilizar el historial.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Fetch with CORS</source>
|
||||
<translation>Obtener con CORS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Url must not end with /</source>
|
||||
<translation>La URL no debe terminar con /</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Invalid JSON from %1</source>
|
||||
<translation>JSON no válido para %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The instance is reachable and running %1 version %2</source>
|
||||
<translation>La instancia es accesible y está utilizando %1 versión %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The instance can fetch video details for ID %1 (%2)</source>
|
||||
<translation>La instancia puede obtener detalles del video para ID %1 (%2)</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -3,9 +3,10 @@ title=PlayletLib
|
||||
# Do not update version manually, it is auto updated from package.json
|
||||
major_version=0
|
||||
minor_version=25
|
||||
build_version=00000
|
||||
build_version=00005
|
||||
|
||||
ui_resolutions=hd
|
||||
uri_resolution_autosub=$$RES$$,480p,720p,1080p
|
||||
|
||||
sg_component_libs_provided=PlayletLib
|
||||
hidden=1
|
||||
|
||||
@@ -11,9 +11,9 @@ namespace QrCode
|
||||
function Generate(text as string, size as integer, padding as integer, mode = QrCode.QrMode.Byte as QrCode.QrMode) as string
|
||||
fileName = m.GetFileName(text, mode, size, padding)
|
||||
|
||||
#if DEBUG
|
||||
#if DISABLE_CACHE
|
||||
#else
|
||||
#if DISABLE_CACHE
|
||||
#if DEBUG
|
||||
#else
|
||||
fs = CreateObject("roFileSystem")
|
||||
if fs.exists(fileName)
|
||||
|
||||
@@ -87,18 +87,42 @@ class ApplicationInfo
|
||||
|
||||
function GetLibVersion() as string
|
||||
values = m.GetLibManifestValues()
|
||||
if values = invalid
|
||||
return "0.0.0"
|
||||
end if
|
||||
|
||||
Major = values["major_version"].toInt()
|
||||
Minor = values["minor_version"].toInt()
|
||||
Build = values["build_version"].toInt()
|
||||
major = 0
|
||||
minor = 0
|
||||
build = 0
|
||||
|
||||
return `${Major}.${Minor}.${Build}`
|
||||
if values.DoesExist("major_version")
|
||||
value = values["major_version"]
|
||||
if IsString(value)
|
||||
major = value.toInt()
|
||||
end if
|
||||
end if
|
||||
|
||||
if values.DoesExist("minor_version")
|
||||
value = values["minor_version"]
|
||||
if IsString(value)
|
||||
minor = value.toInt()
|
||||
end if
|
||||
end if
|
||||
|
||||
if values.DoesExist("build_version")
|
||||
value = values["build_version"]
|
||||
if IsString(value)
|
||||
build = value.toInt()
|
||||
end if
|
||||
end if
|
||||
|
||||
return `${major}.${minor}.${build}`
|
||||
end function
|
||||
|
||||
function GetLibGitCommitHash() as string
|
||||
values = m.GetLibManifestValues()
|
||||
|
||||
if values.doesexist("git_commit_sha")
|
||||
if values.DoesExist("git_commit_sha")
|
||||
return values["git_commit_sha"]
|
||||
end if
|
||||
return ""
|
||||
|
||||
Generated
+896
-689
File diff suppressed because it is too large.
Load diff
+14
-14
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "playlet-web",
|
||||
"version": "0.25.0",
|
||||
"version": "0.25.5",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
@@ -9,23 +9,23 @@
|
||||
"check": "svelte-check --tsconfig ./tsconfig.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^3.1.1",
|
||||
"@tailwindcss/typography": "^0.5.13",
|
||||
"@sveltejs/vite-plugin-svelte": "^3.1.2",
|
||||
"@tailwindcss/typography": "^0.5.15",
|
||||
"@tsconfig/svelte": "^5.0.4",
|
||||
"@vitejs/plugin-legacy": "^5.4.1",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"@vitejs/plugin-legacy": "^5.4.2",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"daisyui": "^4.12.10",
|
||||
"dotenv": "^16.4.5",
|
||||
"ip": "^2.0.1",
|
||||
"postcss": "^8.4.39",
|
||||
"svelte": "^4.2.18",
|
||||
"svelte-check": "^3.8.4",
|
||||
"postcss": "^8.4.41",
|
||||
"svelte": "^4.2.19",
|
||||
"svelte-check": "^3.8.6",
|
||||
"svelte-preprocess": "^6.0.2",
|
||||
"tailwindcss": "^3.4.6",
|
||||
"terser": "^5.31.3",
|
||||
"tslib": "^2.6.3",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.3.4",
|
||||
"vite-tsconfig-paths": "^4.3.2"
|
||||
"tailwindcss": "^3.4.10",
|
||||
"terser": "^5.31.6",
|
||||
"tslib": "^2.7.0",
|
||||
"typescript": "^5.5.4",
|
||||
"vite": "^5.4.2",
|
||||
"vite-tsconfig-paths": "^5.0.1"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user