Skip to content

Commit

Permalink
Merge pull request #10 from Informatic/sponsorblock-integration
Browse files Browse the repository at this point in the history
SponsorBlock integration, a bunch of bug fixes
  • Loading branch information
FriedChickenButt authored Jun 26, 2021
2 parents fc1ddd5 + 4f8fc37 commit 2c52bb0
Show file tree
Hide file tree
Showing 24 changed files with 6,603 additions and 1,106 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.ipk
node_modules
dist
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ Youtube App without ADs

## Building
* Clone the repository
```
```sh
git clone https://github.com/FriedChickenButt/youtube-webos.git
```
* Enter the folder and build the App, this will generate a `*.ipk` file.
```
```sh
cd youtube-webos

# Optionally, if you haven't installed full SDK:
# Install dependencies (need to do this only when updating local repository / package.json is changed)
npm install

npm run package
npm run build && npm run package
```

## Installation
Expand All @@ -28,6 +28,11 @@ npm run deploy

## Launching
* The app will be available in the TV's app list or launch it using ares-cli.
```
```sh
npm run launch
```

To jump immediately into some specific video use:
```sh
npm run launch -- -p '{"contentTarget":"v=F8PGWLvn1mQ"}'
```
11 changes: 6 additions & 5 deletions appinfo.json → assets/appinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@
"vendor": "My Company",
"type": "web",
"main": "index.html",
"title": "Youtube Without ADs",
"title": "YouTube AdFree",
"icon": "icon.png",
"largeIcon": "largeIcon.png",
"iconColor": "#ff0000",
"support360Content": true,
"accessibility": {
"supportsAudioGuidance": true
},
"vendorExtension": {
"userAgent": "$browserName$/$browserVersion$ ($platformName$-$platformVersion$), _TV_$chipSetName$/$firmwareVersion$ (LG, $modelName$, $networkMode$)"
"userAgent": "$browserName$/$browserVersion$ ($platformName$-$platformVersion$), _TV_$chipSetName$/$firmwareVersion$ (LG, $modelName$, $networkMode$)",
"allowCrossDomain": true
},
"trustLevel": "netcast",
"privilegedJail": true,
"supportQuickStart": true,
"dialAppName": "YouTube",
"disableBackHistoryAPI": true,
"noSplashOnLaunch": true
}
"disableBackHistoryAPI": true
}
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions assets/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/largeIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"plugins": [
],
"presets": [
[
"@babel/preset-env",
{
"targets": {
"chrome": "38"
},
"useBuiltIns": "entry",
"corejs": "3.0"
}
]
]
}
Binary file removed icon.png
Binary file not shown.
30 changes: 0 additions & 30 deletions index.js

This file was deleted.

Binary file removed largeIcon.png
Binary file not shown.
Loading

0 comments on commit 2c52bb0

Please sign in to comment.