Screenshots!

This commit is contained in:
Brahim Hadriche committed 2022-11-25 13:52:08 -05:00
1 parent 02e44960b7
commit 7fd466fb25
8 files changed
+48 -5

No files matched your search

+5 -3
View File
@@ -6,15 +6,17 @@
Unofficial Youtube client for Roku 📺
<img src="screenshot.jpg" alt="Screenshot of Playlet" width="350"/>
## Features
- 🔥 No Ads (Not now, not ever)
- 🕵️ No Tracking
- 🛡️ Privacy driven (uses Invidious backend)
- ⚔️ SponsorBlock integration (skips undesirable sections in videos)
## Screenshots
<img src="screenshot1.jpg" alt="Screenshot of Playlet" width="350"/>
<img src="screenshot2.jpg" alt="Screenshot of Playlet" width="350"/>
<img src="screenshot3.jpg" alt="Screenshot of Playlet" width="350"/>
## Installation
### Enable Roku Developer Mode
+18 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet",
"version": "0.3.0",
"version": "0.4.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet",
"version": "0.3.0",
"version": "0.4.0",
"hasInstallScript": true,
"dependencies": {
"bslib": "npm:@rokucommunity/bslib@^0.1.1",
@@ -19,6 +19,7 @@
"brighterscript": "^0.60.6",
"brighterscript-formatter": "^1.6.19",
"convert-svg-to-png": "^0.6.4",
"dotenv": "^16.0.3",
"roku-log-bsc-plugin": "^0.6.1",
"ropm": "^0.10.10",
"semver": "^7.3.8"
@@ -1266,6 +1267,15 @@
"url": "https://github.com/fb55/domutils?sponsor=1"
}
},
"node_modules/dotenv": {
"version": "16.0.3",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz",
"integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==",
"dev": true,
"engines": {
"node": ">=12"
}
},
"node_modules/ecc-jsbn": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
@@ -4563,6 +4573,12 @@
"domhandler": "^5.0.1"
}
},
"dotenv": {
"version": "16.0.3",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz",
"integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==",
"dev": true
},
"ecc-jsbn": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
+2
View File
@@ -13,6 +13,7 @@
"brighterscript": "^0.60.6",
"brighterscript-formatter": "^1.6.19",
"convert-svg-to-png": "^0.6.4",
"dotenv": "^16.0.3",
"roku-log-bsc-plugin": "^0.6.1",
"ropm": "^0.10.10",
"semver": "^7.3.8"
@@ -37,6 +38,7 @@
"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",
"postinstall": "npx ropm copy"
}
}
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 599 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

+23
View File
@@ -0,0 +1,23 @@
const rokuDeploy = require('roku-deploy');
const dotenv = require('dotenv')
const fs = require('fs');
const { exit } = require('process');
if(process.argv.length !== 3) {
console.error("Invalid usage! usage: npm run screenshot -- filename")
exit(-1)
}
const filename = process.argv[2]
const config = dotenv.parse(fs.readFileSync('.vscode/.env'))
rokuDeploy.takeScreenshot({
host: config.ROKU_DEV_TARGET,
password: config.ROKU_DEVPASSWORD,
outDir: '.',
outFile: filename
}).then(function(filename){
console.log(`${filename} created`)
}, function(error) {
console.error(error);
});