Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4489cd2cb | ||
|
|
aea2cb39d7 | ||
|
|
98e07877e3 | ||
|
|
a4970b3e14 | ||
|
|
0bd05cdba6 | ||
|
|
9dcfd20c57 | ||
|
|
757bd50701 | ||
|
|
ae37623756 | ||
|
|
2cffe72d7b | ||
|
|
3f85d609d8 | ||
|
|
1faec073f0 | ||
|
|
5aac07d36c | ||
|
|
d91411b740 | ||
|
|
d14c729c91 | ||
|
|
9d8a3d1cea | ||
|
|
90df81df4b | ||
|
|
fa1bc29220 | ||
|
|
1366284453 | ||
|
|
a38c6ebf7f | ||
|
|
ee29d7a4b3 | ||
|
|
9848c2a31a | ||
|
|
2ff73c3bc7 | ||
|
|
4926965daf | ||
|
|
7045386901 | ||
|
|
cc8ab757cf | ||
|
|
c9e9e34b42 | ||
|
|
7a155c689e | ||
|
|
4640a34863 |
No files matched your search
+3
-1
@@ -3,5 +3,7 @@ out/
|
||||
node_modules
|
||||
.vscode/.env
|
||||
**/roku_modules/**
|
||||
playlet-lib/src/www
|
||||
playlet/src/lib/playlet-lib.zip
|
||||
release/playlet.zip
|
||||
src/www
|
||||
release/playlet.pkg
|
||||
Vendored
+27
-3
@@ -10,10 +10,27 @@
|
||||
"stopOnEntry": false,
|
||||
"enableDebuggerAutoRecovery": false,
|
||||
"stopDebuggerOnAppExit": false,
|
||||
"rootDir": "${workspaceFolder}/dist/build",
|
||||
"rootDir": "${workspaceFolder}/dist/build/playlet",
|
||||
"sourceDirs": [
|
||||
"${workspaceFolder}/playlet/src"
|
||||
],
|
||||
"files": [
|
||||
"**/*"
|
||||
],
|
||||
"componentLibraries": [
|
||||
{
|
||||
"rootDir": "${workspaceFolder}/dist/build/playlet-lib",
|
||||
"outFile": "playlet-lib.zip",
|
||||
"files": [
|
||||
"**/*"
|
||||
]
|
||||
}
|
||||
],
|
||||
"preLaunchTask": "build-dev",
|
||||
"name": "Playlet (dev)",
|
||||
"injectRdbOnDeviceComponent": true
|
||||
"injectRdbOnDeviceComponent": true,
|
||||
"injectRaleTrackerTask": true,
|
||||
"raleTrackerTaskFileLocation": "${workspaceFolder}/tools/RALE/TrackerTask.xml"
|
||||
},
|
||||
{
|
||||
"type": "brightscript",
|
||||
@@ -24,7 +41,14 @@
|
||||
"stopOnEntry": false,
|
||||
"enableDebuggerAutoRecovery": false,
|
||||
"stopDebuggerOnAppExit": false,
|
||||
"rootDir": "${workspaceFolder}/dist/build",
|
||||
"rootDir": "${workspaceFolder}/dist/build/playlet",
|
||||
"sourceDirs": [
|
||||
"${workspaceFolder}/playlet/src",
|
||||
"${workspaceFolder}/playlet-lib/src"
|
||||
],
|
||||
"files": [
|
||||
"**/*",
|
||||
],
|
||||
"preLaunchTask": "build-prod",
|
||||
"name": "Playlet (prod)"
|
||||
},
|
||||
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"brightscript.output.clearConsoleOnChannelStart": false
|
||||
}
|
||||
Vendored
+42
-13
@@ -3,22 +3,51 @@
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build-dev",
|
||||
"presentation": {
|
||||
"close": true,
|
||||
"reveal": "silent",
|
||||
"revealProblems": "onProblem"
|
||||
},
|
||||
"script": "build:dev",
|
||||
"type": "npm"
|
||||
"dependsOn": [
|
||||
"build-app-dev"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "build-app-dev",
|
||||
"script": "build:app:dev",
|
||||
"type": "npm",
|
||||
"dependsOn": [
|
||||
"build-lib-dev"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "build-lib-dev",
|
||||
"script": "build:lib:dev",
|
||||
"type": "npm",
|
||||
"dependsOn": [
|
||||
"build-web"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "build-prod",
|
||||
"presentation": {
|
||||
"close": true,
|
||||
"reveal": "silent",
|
||||
"revealProblems": "onProblem"
|
||||
},
|
||||
"script": "build:prod",
|
||||
"dependsOn": [
|
||||
"build-app-prod"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "build-app-prod",
|
||||
"script": "build:app:prod",
|
||||
"type": "npm",
|
||||
"dependsOn": [
|
||||
"build-lib-prod"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "build-lib-prod",
|
||||
"script": "build:lib:prod",
|
||||
"type": "npm",
|
||||
"dependsOn": [
|
||||
"build-web"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "build-web",
|
||||
"script": "build:web",
|
||||
"type": "npm"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -4,6 +4,15 @@ 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.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.7.0] - 2023-02-04
|
||||
### Added
|
||||
- A script to sync between Youtube profile and and Invidious profile
|
||||
- Moved most of Playlet logic to Playlet Lib
|
||||
- Support for multiple caption languages
|
||||
|
||||
#### Fixed
|
||||
- Issue where auto-play keeps playing the same videos in a loop
|
||||
|
||||
## [0.6.0] - 2023-01-10
|
||||
### Added
|
||||
- Ability to clear search history from web app
|
||||
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
# PRIVACY POLICY
|
||||
|
||||
## Playlet
|
||||
Playlet, the Roku app, does not collect any user information whatsoever.
|
||||
In fact, it does not have any servers capable of collecting any form of data.
|
||||
|
||||
Playlet does not show advertising, whether personalized or non personalized.
|
||||
|
||||
## Invidious
|
||||
Playlet may request information from one or more [Invidious](https://invidious.io/)
|
||||
servers, depending on user configuration. With these requests, absolutely no
|
||||
user data is collected, and only the bare minimum and necessary information
|
||||
is sent, which is used to enable the viewing of content.
|
||||
|
||||
Please note that some of the [Invidious](https://invidious.io/) servers used
|
||||
could be public instances hosted by volenteers. These instances are available
|
||||
[here](https://api.invidious.io/).
|
||||
|
||||
While invidious does no data collection by default, and it is in fact built to
|
||||
be privacy driven, but in theory, from a playlet request it is possible to
|
||||
know the IP address of a user, the identifiers of watched video, and search
|
||||
keywords. In case the user is unreasonably paranoid, they can host their own
|
||||
Invidious instance and use it from Playlet.
|
||||
|
||||
## SponsorBlock
|
||||
Playlet may request information from a [SponsorBlock](https://github.com/ajayyy/SponsorBlock)
|
||||
server, in order to get sponsor sections for requested videos to watch.
|
||||
With these requests, absolutely no
|
||||
user data is collected, and only the bare minimum and necessary information
|
||||
is sent, which is used to enable the viewing of content.
|
||||
|
||||
Playlet uses hashing when requesting video metadata, which obfuscates
|
||||
the video id requested. This is a SponsorBlock privacy feature that protects
|
||||
user privacy.
|
||||
|
||||
Additionally, Playlet may send a "skipped" event to SponsorBlock, to indicate
|
||||
that a section of a video has been skipped. This event does not have any
|
||||
tracking information attached to it, and it is anonymous. It is merely to
|
||||
indicate to contributers how much their contributions are being used in the wild.
|
||||
@@ -35,8 +35,11 @@ Unofficial Youtube client for Roku 📺
|
||||
<img src="screenshot3.jpg" alt="Screenshot of Playlet" width="350"/>
|
||||
|
||||
## Installation
|
||||
### Roku Store (Published app)
|
||||
Search for "Playlet" in the Roku Store, or use the link https://my.roku.com/account/add?channel=PLAYLET
|
||||
|
||||
### Enable Roku Developer Mode
|
||||
### Sideloaded (Dev app)
|
||||
#### Enable Roku Developer Mode
|
||||
First, you need to enable developer mode on your Roku TV (if you have not done that already).
|
||||
|
||||
Using your Roku remote, enter the following sequence:
|
||||
@@ -47,13 +50,13 @@ For full instructions, see [Set up your Roku device to enable Developer Settings
|
||||
|
||||
Make sure to remember the password you set during this step, you will need it later.
|
||||
|
||||
### Gather your info
|
||||
#### Gather your info
|
||||
By now, you should have the following
|
||||
- Your Roku Dev password (setup in the previous step)
|
||||
- Your Roku TV local IP address
|
||||
- You can find this information in your TV network settings. It should look like 192.168.X.X or so
|
||||
|
||||
### Install Playlet (command line)
|
||||
#### Install Playlet (command line)
|
||||
|
||||
Install Playlet as a dev channel using this command, and replace:
|
||||
- `REPLACE_PASSWORD_HERE` : with your Roku Dev password
|
||||
@@ -69,7 +72,7 @@ curl https://raw.githubusercontent.com/iBicha/playlet/main/install.sh | ROKU_DEV
|
||||
|
||||
If successful, you should see some output on your terminal, with `Status: 200`.
|
||||
|
||||
### Install Playlet (Manual)
|
||||
#### Install Playlet (Manual)
|
||||
1. Go to `https://github.com/iBicha/playlet/releases` and download `playlet.zip`
|
||||
2. Open `http://REPLACE_IP_ADDRESS_HERE/` (e.g. http://192.168.1.2/) in your browser
|
||||
3. If prompted for username and password
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"extends": "config/bsconfig.base.json",
|
||||
"host": "If your Roku IP is static, you can set it here and remove the host entry from .vscode/launch.json",
|
||||
"password": ""
|
||||
}
|
||||
@@ -12,16 +12,19 @@
|
||||
"source/**/*",
|
||||
"components/**/*",
|
||||
"images/**/*",
|
||||
"!images/vector/**/*",
|
||||
"fonts/**/*",
|
||||
"config/**/*",
|
||||
"lib/**/*",
|
||||
"www/**/*.*",
|
||||
"manifest"
|
||||
],
|
||||
"lintConfig": "config/bslint.jsonc",
|
||||
"lintConfig": "./config/bslint.jsonc",
|
||||
"plugins": [
|
||||
"roku-log-bsc-plugin",
|
||||
"@rokucommunity/bslint",
|
||||
"../scripts/asynctask-plugin.ts"
|
||||
"../tools/asynctask-plugin.ts",
|
||||
"../tools/manifest-bsconst-debug-plugin.ts"
|
||||
],
|
||||
"retainStagingDir": true,
|
||||
"require": [
|
||||
@@ -32,7 +35,5 @@
|
||||
"removeComments": false,
|
||||
"strip": false
|
||||
},
|
||||
"rootDir": "../src/",
|
||||
"sourceMap": true,
|
||||
"stagingDir": "dist/build"
|
||||
"sourceMap": true
|
||||
}
|
||||
Generated
+907
-3157
File diff suppressed because it is too large.
Load diff
+32
-21
@@ -1,27 +1,33 @@
|
||||
{
|
||||
"name": "playlet",
|
||||
"version": "0.6.0",
|
||||
"version": "0.7.0",
|
||||
"description": "Unofficial Youtube client for Roku",
|
||||
"dependencies": {
|
||||
"bslib": "npm:@rokucommunity/bslib@^0.1.1",
|
||||
"log": "npm:roku-log@^0.8.0",
|
||||
"roku-requests": "^0.2.0"
|
||||
"log": "npm:roku-log@^0.9.3",
|
||||
"roku-requests": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rokucommunity/bslint": "^0.7.5",
|
||||
"@rokucommunity/bslint": "^0.8.1",
|
||||
"@types/node": "^18.11.18",
|
||||
"brighterscript": "^0.60.6",
|
||||
"brighterscript-formatter": "^1.6.19",
|
||||
"argparse": "^2.0.1",
|
||||
"brighterscript": "^0.61.3",
|
||||
"brighterscript-formatter": "^1.6.23",
|
||||
"convert-svg-to-png": "^0.6.4",
|
||||
"dotenv": "^16.0.3",
|
||||
"roku-log-bsc-plugin": "^0.6.1",
|
||||
"ropm": "^0.10.10",
|
||||
"express": "^4.18.2",
|
||||
"ip": "^1.1.8",
|
||||
"roku-log-bsc-plugin": "^0.7.0",
|
||||
"ropm": "^0.10.11",
|
||||
"semver": "^7.3.8",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.9.4"
|
||||
"typescript": "^4.9.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": "<19.0.0"
|
||||
},
|
||||
"ropm": {
|
||||
"rootDir": "src",
|
||||
"rootDir": "playlet-lib/src",
|
||||
"noprefix": [
|
||||
"roku-requests"
|
||||
]
|
||||
@@ -29,21 +35,26 @@
|
||||
"scripts": {
|
||||
"dev:web": "cd playlet-web && npm run dev",
|
||||
"prebuild": "rm -rf dist",
|
||||
"build:dev": "npm run build:web && npm run build:lib:dev && npm run build:app:dev",
|
||||
"build:prod": "npm run build:web && npm run build:lib:prod && npm run build:app:prod",
|
||||
"build:release": "npm run format:fix && npm run lint:fix && npm run manifest-version && npm run generate-images && npm run build:prod && npm run sign-package",
|
||||
"build:app": "cd playlet && bsc --create-package --lintConfig ../config/bslint.jsonc",
|
||||
"build:app:dev": "npm run build:app -- --debug=true",
|
||||
"build:app:prod": "npm run build:app -- --debug=false --sourceMap=false",
|
||||
"build:lib": "cd playlet-lib && bsc --create-package --lintConfig ../config/bslint.jsonc",
|
||||
"build:lib:dev": "npm run build:lib -- --debug=true",
|
||||
"build:lib:prod": "npm run build:lib -- --debug=false --sourceMap=false",
|
||||
"build:web": "cd playlet-web && npm run build",
|
||||
"build": "npm run build:web && bsc",
|
||||
"build:dev": "npm run manifest-symbols -- DEBUG=true && npm run build",
|
||||
"build:prod": "npm run manifest-symbols -- DEBUG=false && npm run build -- --sourceMap=false",
|
||||
"build:release": "npm run format:fix && npm run lint:fix && npm run manifest-version && npm run generate-images && npm run build:prod && npm run zip-package",
|
||||
"lint": "bslint --project config/bsconfig.lint.json --lintConfig config/bslint.jsonc",
|
||||
"lint": "bslint --project playlet-lib/bsconfig.lint.json --lintConfig config/bslint.jsonc && bslint --project playlet/bsconfig.lint.json --lintConfig config/bslint.jsonc",
|
||||
"lint:fix": "npm run lint -- --fix",
|
||||
"format:base": "bsfmt \"src/**/*.brs\" \"src/**/*.bs\" \"!src/components/lib/**/*\" \"!src/source/lib/**/*\" \"!**/bslib.brs\" \"!**/roku_modules/**/*\" --bsfmt-path \"config/bsfmt.jsonc\"",
|
||||
"format:base": "bsfmt \"playlet/src/**/*.brs\" \"playlet/src/**/*.bs\" \"!playlet/src/components/lib/**/*\" \"!playlet/src/source/lib/**/*\" \"!**/bslib.brs\" \"!**/roku_modules/**/*\" \"playlet-lib/src/**/*.brs\" \"playlet-lib/src/**/*.bs\" \"!playlet-lib/src/components/lib/**/*\" \"!playlet-lib/src/source/lib/**/*\" \"!**/bslib.brs\" \"!**/roku_modules/**/*\" --bsfmt-path \"config/bsfmt.jsonc\"",
|
||||
"format": "npm run format:base -- --check",
|
||||
"format:fix": "npm run format:base -- --write",
|
||||
"generate-images": "node scripts/generate-images.js",
|
||||
"manifest-version": "node scripts/update-manifest-version.js",
|
||||
"zip-package": "node scripts/zip-package.js",
|
||||
"screenshot": "node scripts/screenshot.js",
|
||||
"manifest-symbols": "node scripts/update-manifest-symbols.js",
|
||||
"generate-images": "node tools/generate-images.js",
|
||||
"manifest-version": "node tools/update-manifest-version.js",
|
||||
"sign-package": "node tools/sign-package.js",
|
||||
"screenshot": "node tools/screenshot.js",
|
||||
"profile-sync": "node tools/profile-sync.js",
|
||||
"postinstall": "npx ropm copy && cd playlet-web && npm install"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "../config/bsconfig.base.json",
|
||||
"rootDir": "src/",
|
||||
"stagingDir": "../dist/build/playlet-lib",
|
||||
"outFile": "../playlet/src/lib/playlet-lib.zip"
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"createPackage": false,
|
||||
"deploy": false,
|
||||
"extends": "bsconfig.base.json",
|
||||
"extends": "bsconfig.json",
|
||||
"retainStagingDir": false,
|
||||
"sourceMap": false
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-3
@@ -8,8 +8,6 @@ function Init()
|
||||
m.top.ObserveField("focus", "OnFocusChange")
|
||||
m.top.ObserveField("refresh", "OnRefresh")
|
||||
|
||||
m.top.focus = true
|
||||
|
||||
InitContent()
|
||||
end function
|
||||
|
||||
@@ -32,7 +30,7 @@ function InitContent()
|
||||
}, true)
|
||||
m.top.content = contentNode
|
||||
|
||||
m.defaultLayout = ParseJson(ReadAsciiFile("pkg:/config/default_home_layout.json"))
|
||||
m.defaultLayout = ParseJson(ReadAsciiFile("libpkg:/config/default_home_layout.json"))
|
||||
|
||||
if m.defaultLayout.Count() > 0
|
||||
m.currentLoadingIndex = 0
|
||||
File renamed without changes.
File renamed without changes.
@@ -4,20 +4,15 @@ import "pkg:/components/VideoPlayer/Video.bs"
|
||||
function Init()
|
||||
log.initializeLogManager(["log_PrintTransport"], 2)
|
||||
|
||||
m.top.backgroundColor = "0x242424FF"
|
||||
m.top.backgroundURI = ""
|
||||
|
||||
m.loadingIndicator = m.top.findNode("LoadingIndicator")
|
||||
m.videoContainer = m.top.findNode("VideoContainer")
|
||||
m.global.addFields({
|
||||
loadingIndicator: m.loadingIndicator,
|
||||
videoContainer: m.videoContainer
|
||||
})
|
||||
m.loadingIndicator.visible = true
|
||||
|
||||
m.homeGridScreen = m.top.findNode("HomeGridScreen")
|
||||
m.homeGridScreen.ObserveField("escape", "OnHomeGridScreenEscape")
|
||||
m.homeGridScreen.SetFocus(true)
|
||||
m.currentFocued = m.homeGridScreen
|
||||
|
||||
m.settingsScreen = m.top.findNode("SettingsScreen")
|
||||
|
||||
@@ -28,9 +23,13 @@ function Init()
|
||||
m.navBar.ObserveField("escapeIndex", "OnNavBarEscape")
|
||||
m.navBar.ObserveField("focusIndex", "OnNavIndexChange")
|
||||
|
||||
m.currentFocued = m.homeGridScreen
|
||||
|
||||
InitWebServer()
|
||||
|
||||
LaunchArgumentsReceived()
|
||||
|
||||
scene = m.top.getScene()
|
||||
scene.ObserveField("inputArgs", "InputArgumentsReceived")
|
||||
scene.signalBeacon("AppLaunchComplete")
|
||||
end function
|
||||
|
||||
function InitWebServer()
|
||||
@@ -97,29 +96,25 @@ function OnWebServerCommand()
|
||||
end if
|
||||
end function
|
||||
|
||||
function GetIndexOfChild(parent as object, childId as string) as integer
|
||||
count = parent.getChildCount()
|
||||
for i = 0 to count - 1
|
||||
child = parent.getChild(i)
|
||||
if child.id = childId
|
||||
return i
|
||||
end if
|
||||
end for
|
||||
return -1
|
||||
function LaunchArgumentsReceived() as void
|
||||
scene = m.top.getScene()
|
||||
launchArgs = scene.launchArgs
|
||||
? "LaunchArgumentsReceived " launchArgs
|
||||
PlayVideoFromArgs(launchArgs)
|
||||
end function
|
||||
|
||||
function LaunchArgumentsReceived()
|
||||
? "LaunchArgumentsReceived" m.top.launchArgs
|
||||
if m.top.launchArgs <> invalid and m.top.launchArgs.contentId <> invalid
|
||||
sender = m.videoContainer.sender ?? m.currentFocued
|
||||
PlayVideo(m.top.launchArgs.contentId, { sender: sender })
|
||||
end if
|
||||
function InputArgumentsReceived() as void
|
||||
scene = m.top.getScene()
|
||||
inputArgs = scene.inputArgs
|
||||
? "InputArgumentsReceived " inputArgs
|
||||
PlayVideoFromArgs(inputArgs)
|
||||
end function
|
||||
|
||||
function InputArgumentsReceived()
|
||||
? "InputArgumentsReceived" m.top.inputArgs
|
||||
if m.top.inputArgs <> invalid and m.top.inputArgs.contentId <> invalid
|
||||
sender = m.videoContainer.sender ?? m.currentFocued
|
||||
PlayVideo(m.top.inputArgs.contentId, { sender: sender })
|
||||
function PlayVideoFromArgs(args as object) as void
|
||||
if args = invalid or args.contentId = invalid
|
||||
return
|
||||
end if
|
||||
|
||||
sender = m.videoContainer.sender ?? m.currentFocued
|
||||
PlayVideo(args.contentId, { sender: sender })
|
||||
end function
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<component name="MainScene" extends="Group">
|
||||
<children>
|
||||
<SearchScreen id="SearchScreen" visible="false" />
|
||||
<HomeGridScreen id="HomeGridScreen" />
|
||||
<SettingsScreen id="SettingsScreen" visible="false" />
|
||||
<NavBar id="NavBar" />
|
||||
<VideoContainer id="VideoContainer" />
|
||||
</children>
|
||||
</component>
|
||||
File renamed without changes.
File renamed without changes.
@@ -51,7 +51,7 @@ function OnExitDialog(event as object)
|
||||
buttonIndex = event.GetData()
|
||||
if buttonIndex = 0 ' Exit
|
||||
? "EXITING APP"
|
||||
m.top.GetScene().exitChannel = true
|
||||
m.top.getScene().exitChannel = true
|
||||
end if
|
||||
end function
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+4
-1
@@ -4,7 +4,10 @@ import "pkg:/source/roku_modules/rokurequests/Requests.brs"
|
||||
@asynctask
|
||||
function AppVersionTask() as object
|
||||
latest = "N/A"
|
||||
response = Requests().request("HEAD", "https://github.com/iBicha/playlet/releases/latest", invalid)
|
||||
args = {
|
||||
parseJson: false
|
||||
}
|
||||
response = Requests().request("HEAD", "https://github.com/iBicha/playlet/releases/latest", args)
|
||||
|
||||
if response.statusCode = 200
|
||||
if response.headers.location <> invalid
|
||||
+18
-5
@@ -1,13 +1,22 @@
|
||||
import "pkg:/source/utils/General.bs"
|
||||
import "pkg:/source/utils/StringUtils.bs"
|
||||
import "pkg:/source/asyncTask/asyncTask.bs"
|
||||
import "pkg:/components/SettingsScreen/AppVersionTask.bs"
|
||||
|
||||
function Init()
|
||||
m.versionLabel = m.top.findNode("VersionLabel")
|
||||
m.playletLibUrlLabel = m.top.findNode("PlayletLibUrlLabel")
|
||||
|
||||
m.top.url = `http://${GetLocalIpAddress()}:8888`
|
||||
|
||||
appInfo = GetAppInfo()
|
||||
m.currentVersion = appInfo.version
|
||||
SetVersionLabel(m.currentVersion, "N/A")
|
||||
m.top.appVersion = appInfo.version
|
||||
m.top.libVersion = appInfo.lib_version
|
||||
|
||||
scene = m.top.getScene()
|
||||
if scene.playletLibLoadedUrl <> invalid
|
||||
m.top.libUrl = `[${scene.playletLibLoadedUrl.type}|${scene.playletLibLoadedUrl.link}]`
|
||||
end if
|
||||
GetLatestVersion()
|
||||
end function
|
||||
|
||||
@@ -24,11 +33,15 @@ end function
|
||||
function GetLatestVersion()
|
||||
StartAsyncTask(AppVersionTask, {}, function(output as object) as void
|
||||
if output.result.latest <> invalid
|
||||
SetVersionLabel(m.currentVersion, output.result.latest)
|
||||
m.top.latestVersion = output.result.latest
|
||||
end if
|
||||
end function)
|
||||
end function
|
||||
|
||||
function SetVersionLabel(current as string, latest as string)
|
||||
m.versionLabel.text = `Version: ${current} | Latest: ${latest}`
|
||||
function SetVersionLabel()
|
||||
m.versionLabel.text = `Playlet: ${m.top.appVersion} | Playlet-Lib: ${m.top.libVersion} | Latest: ${m.top.latestVersion}`
|
||||
end function
|
||||
|
||||
function SetPlayletLibUrlLabel()
|
||||
m.playletLibUrlLabel.text = `Playlet-Lib: ${m.top.libUrl}`
|
||||
end function
|
||||
+14
-2
@@ -2,16 +2,28 @@
|
||||
|
||||
<component name="SettingsScreen" extends="Group">
|
||||
<interface>
|
||||
<field id="appVersion" type="string" value="N/A" onChange="SetVersionLabel" />
|
||||
<field id="libVersion" type="string" value="N/A" onChange="SetVersionLabel" />
|
||||
<field id="latestVersion" type="string" value="N/A" onChange="SetVersionLabel" />
|
||||
<field id="libUrl" type="string" value="N/A" onChange="SetPlayletLibUrlLabel" />
|
||||
<field id="url" type="string" onChange="OnUrlSet" />
|
||||
</interface>
|
||||
<children>
|
||||
<Label
|
||||
id='VersionLabel'
|
||||
height='50'
|
||||
height='60'
|
||||
width='1280'
|
||||
font='font:MediumBoldSystemFont'
|
||||
horizAlign="center"
|
||||
translation="[0,100]"
|
||||
translation="[0,80]"
|
||||
/>
|
||||
<Label
|
||||
id='PlayletLibUrlLabel'
|
||||
height='60'
|
||||
width='1280'
|
||||
font='font:SmallestBoldSystemFont'
|
||||
horizAlign="center"
|
||||
translation="[0,120]"
|
||||
/>
|
||||
<QRPoster
|
||||
id='SettingsQRPoster'
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,20 @@
|
||||
import "pkg:/source/utils/RingBuffer.bs"
|
||||
|
||||
function Init()
|
||||
m.watchedVideos = new RingBuffer(100)
|
||||
end function
|
||||
|
||||
function watchedVideosContain(videoId as string) as boolean
|
||||
return m.watchedVideos.Contains(videoId)
|
||||
end function
|
||||
|
||||
function watchedVideosAdd(videoId as string)
|
||||
if not watchedVideosContain(videoId)
|
||||
m.watchedVideos.Push(videoId)
|
||||
end if
|
||||
end function
|
||||
|
||||
' watchedVideosClear needs at least one arg https://github.com/rokucommunity/brighterscript/blob/master/docs/callfunc-operator.md#callfunc-evaluation-with-no-arguments
|
||||
function watchedVideosClear(unused as dynamic)
|
||||
m.watchedVideos = new RingBuffer(100)
|
||||
end function
|
||||
+3
@@ -5,5 +5,8 @@
|
||||
<field id="videoPlayer" type="node" />
|
||||
<field id="sender" type="node" />
|
||||
<field id="fullscreen" type="boolean" value="true" />
|
||||
<function name="watchedVideosContain" />
|
||||
<function name="watchedVideosAdd" />
|
||||
<function name="watchedVideosClear" />
|
||||
</interface>
|
||||
</component>
|
||||
File renamed without changes.
+24
-5
@@ -38,6 +38,7 @@ function OnkeyEvent(key as string, press as boolean) as boolean
|
||||
end if
|
||||
end if
|
||||
if key = "back"
|
||||
m.videoContainer@.watchedVideosClear()
|
||||
CloseVideo()
|
||||
return true
|
||||
end if
|
||||
@@ -156,6 +157,8 @@ function OnVideoDetailsTaskResults(output as object) as void
|
||||
m.busySpinner.control = "stop"
|
||||
m.top.content = contentNode
|
||||
m.top.control = "play"
|
||||
|
||||
m.videoContainer@.watchedVideosAdd(videoId)
|
||||
end function
|
||||
|
||||
function FindChildNodeOfType(node as object, nodeType as string) as object
|
||||
@@ -277,11 +280,8 @@ function OnVideoPlayerStateChange() as void
|
||||
|
||||
if state = "finished"
|
||||
metadata = m.top.content?.metadata
|
||||
metadata = metadata?.recommendedVideos?.GetEntry(0)
|
||||
videoId = metadata?.videoId
|
||||
if videoId <> invalid
|
||||
PlayVideo(videoId, { metadata: metadata })
|
||||
else
|
||||
|
||||
if not PlayNextRecommendedVideo(metadata?.recommendedVideos)
|
||||
CloseVideo()
|
||||
end if
|
||||
end if
|
||||
@@ -297,6 +297,25 @@ function OnVideoPlayerStateChange() as void
|
||||
end if
|
||||
end function
|
||||
|
||||
function PlayNextRecommendedVideo(recommendedVideos as object) as boolean
|
||||
if recommendedVideos = invalid or recommendedVideos.Count() = 0
|
||||
return false
|
||||
end if
|
||||
|
||||
for each metadata in recommendedVideos
|
||||
videoId = metadata?.videoId
|
||||
if videoId = invalid
|
||||
continue for
|
||||
end if
|
||||
if not m.videoContainer@.watchedVideosContain(videoId)
|
||||
PlayVideo(videoId, { metadata: metadata })
|
||||
return true
|
||||
end if
|
||||
end for
|
||||
|
||||
return false
|
||||
end function
|
||||
|
||||
function SetupAnimation()
|
||||
m.widthAnimation = m.top.findNode("widthAnimation")
|
||||
m.widthAnimationInterpolator = m.top.findNode("widthAnimationInterpolator")
|
||||
File renamed without changes.
@@ -0,0 +1,19 @@
|
||||
function SetCaptions(metadata as object, videoPlayer as object, contentNode as object) as void
|
||||
if metadata.captions.Count() = 0
|
||||
return
|
||||
end if
|
||||
isoLanguageList = ParseJson(ReadAsciiFile("libpkg:/config/ISO-639-1-to-ISO-639-2T.json"))
|
||||
instance = InvidiousSettings.GetSelectedInstance()
|
||||
|
||||
subtitleTracks = []
|
||||
|
||||
for each caption in metadata.captions
|
||||
subtitleTracks.Push({
|
||||
Description: caption.label,
|
||||
Language: isoLanguageList[caption.language_code] ?? caption.language_code,
|
||||
TrackName: instance + caption.url
|
||||
})
|
||||
end for
|
||||
contentNode.ClosedCaptions = True
|
||||
contentNode.SubtitleTracks = subtitleTracks
|
||||
end function
|
||||
File renamed without changes.
+34
-31
@@ -1,42 +1,45 @@
|
||||
import "pkg:/source/utils/TimeUtils.bs"
|
||||
|
||||
function OnContentSet()
|
||||
function OnContentSet() as void
|
||||
content = m.top.itemContent
|
||||
|
||||
if content <> invalid
|
||||
m.top.FindNode("titleLabel").text = content.title
|
||||
m.top.FindNode("authorLabel").text = content.author
|
||||
if content = invalid
|
||||
return
|
||||
end if
|
||||
|
||||
if IsVideoUpcoming(content)
|
||||
m.top.FindNode("viewCountDateLabel").text = `Premeres in ${TimeUtils.GetFormattedTimeLeft(content.premiereTimestamp)}`
|
||||
m.top.FindNode("titleLabel").text = content.title
|
||||
m.top.FindNode("authorLabel").text = content.author
|
||||
|
||||
if IsVideoUpcoming(content)
|
||||
m.top.FindNode("viewCountDateLabel").text = `Premeres in ${TimeUtils.GetFormattedTimeLeft(content.premiereTimestamp)}`
|
||||
else
|
||||
publishedText = validstr(content.publishedText)
|
||||
viewCount = FormatViewCount(content.viewCount)
|
||||
if publishedText = "" and viewCount = ""
|
||||
m.top.FindNode("viewCountDateLabel").text = ""
|
||||
else
|
||||
publishedText = validstr(content.publishedText)
|
||||
viewCount = FormatViewCount(content.viewCount)
|
||||
if publishedText = "" and viewCount = ""
|
||||
m.top.FindNode("viewCountDateLabel").text = ""
|
||||
else
|
||||
m.top.FindNode("viewCountDateLabel").text = `${publishedText} • ${viewCount}`
|
||||
end if
|
||||
end if
|
||||
|
||||
m.thumbnail = m.top.FindNode("thumbnail")
|
||||
m.thumbnail.observeField("loadStatus", "OnThumbnailLoadFailed")
|
||||
m.thumbnail.uri = GetThumbnailUrl(content.videoThumbnails)
|
||||
m.thumbnail.id = `thumbnail-${content.videoId}`
|
||||
|
||||
if IsVideoLive(content)
|
||||
m.top.FindNode("liveRect").visible = true
|
||||
m.top.FindNode("durationRect").visible = false
|
||||
else
|
||||
m.top.FindNode("liveRect").visible = false
|
||||
if content.lengthSeconds <> invalid and content.lengthSeconds <> 0
|
||||
m.top.FindNode("durationLabel").text = TimeUtils.GetFormattedTime(content.lengthSeconds)
|
||||
m.top.FindNode("durationRect").visible = true
|
||||
else
|
||||
m.top.FindNode("durationRect").visible = false
|
||||
end if
|
||||
m.top.FindNode("viewCountDateLabel").text = `${publishedText} • ${viewCount}`
|
||||
end if
|
||||
end if
|
||||
|
||||
m.thumbnail = m.top.FindNode("thumbnail")
|
||||
m.thumbnail.observeField("loadStatus", "OnThumbnailLoadFailed")
|
||||
m.thumbnail.uri = GetThumbnailUrl(content.videoThumbnails)
|
||||
m.thumbnail.id = `thumbnail-${content.videoId}`
|
||||
|
||||
if IsVideoLive(content)
|
||||
m.top.FindNode("liveRect").visible = true
|
||||
m.top.FindNode("durationRect").visible = false
|
||||
else
|
||||
m.top.FindNode("liveRect").visible = false
|
||||
if content.lengthSeconds <> invalid and content.lengthSeconds <> 0
|
||||
m.top.FindNode("durationLabel").text = TimeUtils.GetFormattedTime(content.lengthSeconds)
|
||||
m.top.FindNode("durationRect").visible = true
|
||||
else
|
||||
m.top.FindNode("durationRect").visible = false
|
||||
end if
|
||||
end if
|
||||
|
||||
end function
|
||||
|
||||
function OnThumbnailLoadFailed() as void
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+7
-1
@@ -72,7 +72,7 @@ namespace Http
|
||||
m.source = Http.HttpResponseSource.GENERATED
|
||||
end function
|
||||
|
||||
function Redirect(where as string, code = 301 as integer)
|
||||
function Redirect(where as string, code = 302 as integer)
|
||||
m.headers["Location"] = where
|
||||
message = "Moved to: <a href=" + Quote() + where + Quote() + ">" + where + "</a>"
|
||||
m.Default(code, message)
|
||||
@@ -88,6 +88,12 @@ namespace Http
|
||||
m.source = Http.HttpResponseSource.GENERATED
|
||||
end function
|
||||
|
||||
function SetBodyDataBuffer(buffer as object)
|
||||
m.body_buffer = buffer
|
||||
m.body_buffer_length = m.body_buffer.count()
|
||||
m.ContentLength(m.body_buffer_length)
|
||||
end function
|
||||
|
||||
function SetBodyDataString(data as string)
|
||||
m.body_buffer.fromasciistring(data)
|
||||
m.body_buffer_length = m.body_buffer.count()
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+3
-2
@@ -22,7 +22,7 @@ namespace Http
|
||||
dashUrl = `${instance}/api/manifest/dash/id/${v}`
|
||||
|
||||
if metadata = invalid and local = invalid
|
||||
response.Redirect(dashUrl, 302)
|
||||
response.Redirect(dashUrl)
|
||||
return true
|
||||
end if
|
||||
|
||||
@@ -30,9 +30,10 @@ namespace Http
|
||||
dashUrl = `${dashUrl}?local=${local}`
|
||||
end if
|
||||
|
||||
resp = Requests().get(dashUrl)
|
||||
resp = Requests().get(dashUrl, { parseJson: false })
|
||||
text = resp.text ?? ""
|
||||
if resp.statuscode = 200 and local = "true"
|
||||
' TODO: no longer needed, remove after 6 months of https://github.com/iv-org/invidious/pull/3554
|
||||
text = text.Replace("<BaseURL>/videoplayback", `<BaseURL>${instance}/videoplayback`)
|
||||
end if
|
||||
|
||||
File renamed without changes.
+18
-3
@@ -7,8 +7,9 @@ namespace Http
|
||||
private route
|
||||
private showDirectories
|
||||
private showHidden
|
||||
private fsCheck
|
||||
|
||||
function new(route as string, root as string, showDirectories = false as boolean, showHidden = false as boolean)
|
||||
function new(route as string, root as string, showDirectories = false as boolean, showHidden = false as boolean, fsCheck = true as boolean)
|
||||
super()
|
||||
m.log = new log.Logger("HttpStaticFilesRouter")
|
||||
|
||||
@@ -16,6 +17,7 @@ namespace Http
|
||||
m.route = route
|
||||
m.showDirectories = showDirectories
|
||||
m.showHidden = showHidden
|
||||
m.fsCheck = fsCheck
|
||||
|
||||
m.Get("*", function(context as object) as boolean
|
||||
router = context.router
|
||||
@@ -28,9 +30,22 @@ namespace Http
|
||||
|
||||
path_in_route = request.route.Mid(router.route.Len())
|
||||
|
||||
decoded_path = WebUtils.UrlUnescape(path_in_route)
|
||||
decoded_path = path_in_route.DecodeUri()
|
||||
full_path = PathJoin(router.root, decoded_path)
|
||||
|
||||
if not router.fsCheck
|
||||
' libpkg:/ does not work with roFilesystem...
|
||||
buffer = createObject("roByteArray")
|
||||
if buffer.ReadFile(full_path) and buffer.count() > 0
|
||||
mimetype = WebUtils.MimeType(decoded_path)
|
||||
response.SetBodyDataBuffer(buffer)
|
||||
response.ContentType(mimetype)
|
||||
response.http_code = 200
|
||||
response.source = Http.HttpResponseSource.GENERATED
|
||||
return true
|
||||
end if
|
||||
end if
|
||||
|
||||
path = CreateObject("roPath", full_path)
|
||||
fs = CreateObject("roFilesystem")
|
||||
|
||||
@@ -142,7 +157,7 @@ namespace Http
|
||||
listing = listing + "<title>" + response.settings.ServerName + "</title>" + UnixNL()
|
||||
listing = listing + "</head>" + UnixNL()
|
||||
listing = listing + "<body>" + UnixNL()
|
||||
listing = listing + "<h1>" + WebUtils.URLUnescape(request.uri) + "</h1>" + UnixNL()
|
||||
listing = listing + "<h1>" + request.uri.DecodeUri() + "</h1>" + UnixNL()
|
||||
listing = listing + "<tt><pre>" + UnixNL()
|
||||
|
||||
dir = path.getString()
|
||||
+4
-4
@@ -32,14 +32,14 @@ namespace Http
|
||||
response = context.response
|
||||
server = context.server
|
||||
|
||||
if request.query["token"] <> invalid and request.query["referer"] <> invalid
|
||||
if request.query["token"] <> invalid and request.query["ref"] <> invalid
|
||||
' Token is encoded twice for some reason
|
||||
token = WebUtils.UrlUnescape(request.query["token"]).DecodeUriComponent()
|
||||
referer = WebUtils.UrlUnescape(request.query["referer"])
|
||||
token = request.query["token"].DecodeUri().DecodeUriComponent()
|
||||
referer = request.query["ref"].DecodeUri()
|
||||
InvidiousSettings.SetAuthToken(token, referer)
|
||||
server.task.top.login = true
|
||||
end if
|
||||
response.Redirect("/", 302)
|
||||
response.Redirect("/")
|
||||
return true
|
||||
end function)
|
||||
end function
|
||||
File renamed without changes.
File renamed without changes.
+10
-8
@@ -21,7 +21,7 @@ function WebServerLoop()
|
||||
|
||||
m.settings = new Http.HttpSettings(m.webServerPort)
|
||||
' Root at www to get http://IP_ADDRESS:PORT/index.html
|
||||
m.settings.WwwRoot = "pkg:/www"
|
||||
m.settings.WwwRoot = "libpkg:/www"
|
||||
' Short interval to keep polling on web socket messages
|
||||
m.settings.Timeout = 500
|
||||
m.server = new Http.HttpServer(m.settings, m)
|
||||
@@ -39,15 +39,15 @@ function WebServerLoop()
|
||||
homeRouter = new Http.HttpRouter()
|
||||
homeRouter.Get("/", function(context as object) as boolean
|
||||
response = context.response
|
||||
response.Redirect("/index.v1.html", 302)
|
||||
response.Redirect("/index.v1.html")
|
||||
return true
|
||||
end function)
|
||||
|
||||
#if DEBUG
|
||||
if IsDebugMode()
|
||||
allowedOrigin = "*"
|
||||
#else
|
||||
else
|
||||
allowedOrigin = `http://${GetLocalIpAddress()}:8888`
|
||||
#end if
|
||||
end if
|
||||
m.server.UseRouter(new Http.CorsMiddleware(allowedOrigin))
|
||||
#if WEB_SOCKETS
|
||||
m.server.UseRouter(new Http.WebSocketMiddleware())
|
||||
@@ -57,12 +57,14 @@ function WebServerLoop()
|
||||
m.server.UseRouter(new Http.CommandsApiRouter())
|
||||
m.server.UseRouter(new Http.StateApiRouter())
|
||||
m.server.UseRouter(new Http.InvidiousRouter())
|
||||
m.server.UseRouter(new Http.HttpStaticFilesRouter("/", m.settings.WwwRoot))
|
||||
#if DEBUG
|
||||
m.server.UseRouter(new Http.HttpStaticFilesRouter("/", m.settings.WwwRoot, false, false, false))
|
||||
if IsDebugMode()
|
||||
m.server.UseRouter(new Http.HttpStaticFilesRouter("/debug/libpkg", "libpkg:/", true, true, false))
|
||||
m.server.UseRouter(new Http.HttpStaticFilesRouter("/debug/pkg", "pkg:/", true, true))
|
||||
m.server.UseRouter(new Http.HttpStaticFilesRouter("/debug/tmp", "tmp:/", true, true))
|
||||
m.server.UseRouter(new Http.HttpStaticFilesRouter("/debug/cachefs", "cachefs:/", true, true))
|
||||
#end if
|
||||
m.server.UseRouter(new Http.HttpStaticFilesRouter("/debug/common", "common:/", true, true))
|
||||
end if
|
||||
#if WEB_SERVER_BASIC_AUTH
|
||||
m.server.UseRouter(new Http.BasicAuthMiddleware())
|
||||
#end if
|
||||
+1
@@ -5,4 +5,5 @@
|
||||
<field id="login" type="boolean" alwaysNotify="true" />
|
||||
<field id="command" type="string" alwaysNotify="true" />
|
||||
</interface>
|
||||
<script type="text/brightscript" uri="pkg:/source/utils/Debug.bs" />
|
||||
</component>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,186 @@
|
||||
{
|
||||
"aa": "aar",
|
||||
"ab": "abk",
|
||||
"af": "afr",
|
||||
"ak": "aka",
|
||||
"sq": "alb",
|
||||
"am": "amh",
|
||||
"ar": "ara",
|
||||
"an": "arg",
|
||||
"hy": "hye",
|
||||
"as": "asm",
|
||||
"av": "ava",
|
||||
"ae": "ave",
|
||||
"ay": "aym",
|
||||
"az": "aze",
|
||||
"ba": "bak",
|
||||
"bm": "bam",
|
||||
"eu": "eus",
|
||||
"be": "bel",
|
||||
"bn": "ben",
|
||||
"bh": "bih",
|
||||
"bi": "bis",
|
||||
"bo": "tib",
|
||||
"bs": "bos",
|
||||
"br": "bre",
|
||||
"bg": "bul",
|
||||
"my": "mya",
|
||||
"ca": "cat",
|
||||
"cs": "cze",
|
||||
"ch": "cha",
|
||||
"ce": "che",
|
||||
"zh": "zho",
|
||||
"cu": "chu",
|
||||
"cv": "chv",
|
||||
"kw": "cor",
|
||||
"co": "cos",
|
||||
"cr": "cre",
|
||||
"cy": "wel",
|
||||
"da": "dan",
|
||||
"de": "ger",
|
||||
"dv": "div",
|
||||
"nl": "dut",
|
||||
"dz": "dzo",
|
||||
"el": "gre",
|
||||
"en": "eng",
|
||||
"eo": "epo",
|
||||
"et": "est",
|
||||
"ee": "ewe",
|
||||
"fo": "fao",
|
||||
"fa": "per",
|
||||
"fj": "fij",
|
||||
"fi": "fin",
|
||||
"fr": "fra",
|
||||
"fy": "fry",
|
||||
"ff": "ful",
|
||||
"ka": "geo",
|
||||
"gd": "gla",
|
||||
"ga": "gle",
|
||||
"gl": "glg",
|
||||
"gv": "glv",
|
||||
"gn": "grn",
|
||||
"gu": "guj",
|
||||
"ht": "hat",
|
||||
"ha": "hau",
|
||||
"he": "heb",
|
||||
"hz": "her",
|
||||
"hi": "hin",
|
||||
"ho": "hmo",
|
||||
"hr": "hrv",
|
||||
"hu": "hun",
|
||||
"ig": "ibo",
|
||||
"is": "ice",
|
||||
"io": "ido",
|
||||
"ii": "iii",
|
||||
"iu": "iku",
|
||||
"ie": "ile",
|
||||
"ia": "ina",
|
||||
"id": "ind",
|
||||
"ik": "ipk",
|
||||
"it": "ita",
|
||||
"jv": "jav",
|
||||
"ja": "jpn",
|
||||
"kl": "kal",
|
||||
"kn": "kan",
|
||||
"ks": "kas",
|
||||
"kr": "kau",
|
||||
"kk": "kaz",
|
||||
"km": "khm",
|
||||
"ki": "kik",
|
||||
"rw": "kin",
|
||||
"ky": "kir",
|
||||
"kv": "kom",
|
||||
"kg": "kon",
|
||||
"ko": "kor",
|
||||
"kj": "kua",
|
||||
"ku": "kur",
|
||||
"lo": "lao",
|
||||
"la": "lat",
|
||||
"lv": "lav",
|
||||
"li": "lim",
|
||||
"ln": "lin",
|
||||
"lt": "lit",
|
||||
"lb": "ltz",
|
||||
"lu": "lub",
|
||||
"lg": "lug",
|
||||
"mk": "mkd",
|
||||
"mh": "mah",
|
||||
"ml": "mal",
|
||||
"mi": "mri",
|
||||
"mr": "mar",
|
||||
"ms": "may",
|
||||
"mg": "mlg",
|
||||
"mt": "mlt",
|
||||
"mn": "mon",
|
||||
"na": "nau",
|
||||
"nv": "nav",
|
||||
"nr": "nbl",
|
||||
"nd": "nde",
|
||||
"ng": "ndo",
|
||||
"ne": "nep",
|
||||
"nn": "nno",
|
||||
"nb": "nob",
|
||||
"no": "nor",
|
||||
"ny": "nya",
|
||||
"oc": "oci",
|
||||
"oj": "oji",
|
||||
"or": "ori",
|
||||
"om": "orm",
|
||||
"os": "oss",
|
||||
"pa": "pan",
|
||||
"pi": "pli",
|
||||
"pl": "pol",
|
||||
"pt": "por",
|
||||
"ps": "pus",
|
||||
"qu": "que",
|
||||
"rm": "roh",
|
||||
"ro": "ron",
|
||||
"rn": "run",
|
||||
"ru": "rus",
|
||||
"sg": "sag",
|
||||
"sa": "san",
|
||||
"si": "sin",
|
||||
"sk": "slk",
|
||||
"sl": "slv",
|
||||
"se": "sme",
|
||||
"sm": "smo",
|
||||
"sn": "sna",
|
||||
"sd": "snd",
|
||||
"so": "som",
|
||||
"st": "sot",
|
||||
"es": "spa",
|
||||
"sc": "srd",
|
||||
"sr": "srp",
|
||||
"ss": "ssw",
|
||||
"su": "sun",
|
||||
"sw": "swa",
|
||||
"sv": "swe",
|
||||
"ty": "tah",
|
||||
"ta": "tam",
|
||||
"tt": "tat",
|
||||
"te": "tel",
|
||||
"tg": "tgk",
|
||||
"tl": "tgl",
|
||||
"th": "tha",
|
||||
"ti": "tir",
|
||||
"to": "ton",
|
||||
"tn": "tsn",
|
||||
"ts": "tso",
|
||||
"tk": "tuk",
|
||||
"tr": "tur",
|
||||
"tw": "twi",
|
||||
"ug": "uig",
|
||||
"uk": "ukr",
|
||||
"ur": "urd",
|
||||
"uz": "uzb",
|
||||
"ve": "ven",
|
||||
"vi": "vie",
|
||||
"vo": "vol",
|
||||
"wa": "wln",
|
||||
"wo": "wol",
|
||||
"xh": "xho",
|
||||
"yi": "yid",
|
||||
"yo": "yor",
|
||||
"za": "zha",
|
||||
"zu": "zul"
|
||||
}
|
||||
File renamed without changes.
Loaded 100 of 168 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user