-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from webosbrew/main
possibility to choose which codec and bitrate to use
- Loading branch information
Showing
47 changed files
with
13,802 additions
and
8,173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# WAM uses WebKit on webOS 1 and 2 | ||
chrome 38 # webOS 3.x | ||
chrome 53 # webOS 4.x | ||
chrome 68 # webOS 5 | ||
chrome 79 # webOS 6 | ||
chrome 87 # webOS 7 (22) | ||
chrome 94 # webOS 8 (23) | ||
chrome 108 # webOS 9 (24) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
* text=auto | ||
|
||
*.css text | ||
*.html text | ||
*.js text | ||
*.json text | ||
*.md text | ||
*.mjs text | ||
*.svg text | ||
*.yml text | ||
|
||
.browserslistrc text | ||
.editorconfig text | ||
.eslintignore text | ||
.gitattributes text | ||
.gitignore text | ||
.prettierignore text | ||
LICENSE text | ||
|
||
*.sh text eol=lf | ||
|
||
*.jpg binary | ||
*.png binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github: [informatic, throwaway96] | ||
ko_fi: throwaway96 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- | ||
name: Bug report | ||
about: Report a bug/issue | ||
title: 'Bug: <title>' | ||
labels: bug, needs triage | ||
--- | ||
|
||
<!-- | ||
WARNING: Please read this carefully to avoid submitting useless bug reports that will be ignored. | ||
If you do not include at least the YTAF version and enough information to determine your webOS version, your issue may be closed without a response. | ||
Check existing issues to see if there is already one covering your problem. | ||
The more information you include, the better. | ||
However, you must include *at least* the YTAF (YouTube Ad-Free) version and: | ||
- webOS version, or | ||
- firmware version (sometimes referred to as "software version" on TV) *and* either OTAID (preferred) or SoC | ||
--> | ||
|
||
## YTAF information | ||
|
||
<!-- | ||
Example: | ||
- YTAF version: 0.3.3 | ||
--> | ||
|
||
- YTAF version: | ||
|
||
## TV information | ||
|
||
<!-- | ||
Example: | ||
- webOS version: 6.3.2 | ||
- Firmware version: 03.34.65 | ||
- OTAID: HE_DTV_W21P_AFADATAA | ||
- SoC: k7lp | ||
- Model: 50UP7670PUC | ||
--> | ||
|
||
- webOS version: | ||
- Firmware version: | ||
- OTAID: | ||
- SoC: | ||
- Model: | ||
|
||
<!-- | ||
This information can all be found in /var/run/nyx/device_info.json and /var/run/nyx/os_info.json. | ||
In `device_info.json`: | ||
* SoC: `device_name` | ||
* OTAID: `hardware_id` | ||
* model: `product_id` | ||
In `os_info.json`: | ||
* webOS version: `core_os_release` | ||
* firmware version: `webos_manufacturing_version` | ||
If you do not have access to those files, the webOS version can always be found somewhere in the settings menu. | ||
--> | ||
|
||
## Issue description | ||
|
||
<!-- | ||
Describe the bug/issue and how to reproduce it. Provide as much information as possible. For example, include screenshots or links to videos that trigger the problem. | ||
Please also check whether you are able to open the YTAF options panel using the green button and include that information here. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build & Test | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
cache: npm | ||
|
||
- run: npm ci | ||
- run: npm run build | ||
- run: npm run package | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: youtube_adfree_ipk | ||
path: | | ||
${{github.workspace}}/youtube.leanback.v4_*_all.ipk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build & Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- '!*' | ||
tags: | ||
- 'v*.*' | ||
|
||
jobs: | ||
build-and-release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
cache: npm | ||
|
||
- run: npm ci | ||
- run: npm run build | ||
- run: npm run package | ||
- run: npm run manifest | ||
|
||
- name: Create release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
name: 'Release ${{ github.ref }}' | ||
prerelease: true | ||
draft: false | ||
allowUpdates: true | ||
omitNameDuringUpdate: true | ||
omitBodyDuringUpdate: true | ||
omitDraftDuringUpdate: true | ||
omitPrereleaseDuringUpdate: true | ||
artifacts: '*.ipk,*.manifest.json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
*.ipk | ||
node_modules | ||
dist | ||
/node_modules/ | ||
/dist/ | ||
.DS_Store | ||
/.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pre-commit text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist | ||
*-polyfill.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** @type {import('prettier').Config} */ | ||
const config = { | ||
trailingComma: 'none', | ||
singleQuote: true, | ||
endOfLine: 'auto', | ||
overrides: [ | ||
{ | ||
files: ['tsconfig.json', 'jsconfig.json', 'tsconfig.*.json'], | ||
options: { | ||
parser: 'jsonc' | ||
} | ||
} | ||
] | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"editorconfig.editorconfig", | ||
"esbenp.prettier-vscode", | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"javascript.preferences.quoteStyle": "single", | ||
"prettier.requireConfig": true, | ||
"prettier.useEditorConfig": true, | ||
"editor.formatOnSave": true, | ||
"prettier.ignorePath": ".prettierignore", | ||
"typescript.tsdk": "node_modules\\typescript\\lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
# Changelog | ||
|
||
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/). | ||
|
||
## [0.3.4] - 2024/04/23 | ||
|
||
### Added | ||
|
||
- [#164](https://github.com/webosbrew/youtube-webos/pull/164): Added an issue template for bugs (@throwaway96) | ||
|
||
### Changed | ||
|
||
- [#146](https://github.com/webosbrew/youtube-webos/pull/146): Updated a bunch of dev stuff (@fire332) | ||
- [#150](https://github.com/webosbrew/youtube-webos/pull/150): Added myself to FUNDING.yml (@throwaway96) | ||
|
||
## [0.3.3] - 2024/03/31 | ||
|
||
### Added | ||
|
||
- [#142](https://github.com/webosbrew/youtube-webos/pull/141): Blocked some additional ads (@throwaway96) | ||
- [#144](https://github.com/webosbrew/youtube-webos/pull/144): Added support for config change listeners (@throwaway96) | ||
- [#149](https://github.com/webosbrew/youtube-webos/pull/149): Added ability to hide YouTube logo (@throwaway96; thanks to @fire332 and @tomikaka22) | ||
|
||
### Fixed | ||
|
||
- [#103](https://github.com/webosbrew/youtube-webos/pull/103): Fixed SponsorBlock on videos with chapters (@alyyousuf7) | ||
- [#131](https://github.com/webosbrew/youtube-webos/pull/131): Fixed minor README issue (@ANewDawn) | ||
- [#141](https://github.com/webosbrew/youtube-webos/pull/141): Fixed black background behind video menu (@throwaway96; thanks to @reisxd) | ||
- [#143](https://github.com/webosbrew/youtube-webos/pull/143): Fixed duplicate click bug (@throwaway96) | ||
|
||
### Changed | ||
|
||
- [#128](https://github.com/webosbrew/youtube-webos/pull/128): Updated workflows and dependencies (@throwaway96) | ||
- [#133](https://github.com/webosbrew/youtube-webos/pull/133): Changed various dev stuff (@throwaway96) | ||
- [#134](https://github.com/webosbrew/youtube-webos/pull/134): Refactored config/UI code (@throwaway96) | ||
- [#138](https://github.com/webosbrew/youtube-webos/pull/138): Changed webpack to production mode by default (@throwaway96) | ||
- [#145](https://github.com/webosbrew/youtube-webos/pull/145): Made observing attributes optional in waitForChildAdd() (@throwaway96) | ||
|
||
## [0.3.2] - 2024/03/07 | ||
|
||
### Added | ||
|
||
- [#100](https://github.com/webosbrew/youtube-webos/pull/100): Blocked "Sponsored" tiles (@alyyousuf7) | ||
|
||
### Fixed | ||
|
||
- [#95](https://github.com/webosbrew/youtube-webos/pull/95): Fixed the appearance of YouTube in the app (@0xBADEAFFE) | ||
- [#96](https://github.com/webosbrew/youtube-webos/pull/96): Fixed launch functionality broken by #95 (@fire332) | ||
- [#102](https://github.com/webosbrew/youtube-webos/pull/102): Fixed minor dev-related stuff (@alyyousuf7) | ||
- [#106](https://github.com/webosbrew/youtube-webos/pull/106), [#120](https://github.com/webosbrew/youtube-webos/pull/120): Updated outdated documentation (@throwaway96) | ||
|
||
## [0.3.1] - 2022/01/27 | ||
|
||
### Fixed | ||
|
||
- [#24](https://github.com/webosbrew/youtube-webos/pull/24): Fixed playback time | ||
tracking again | ||
|
||
## [0.3.0] - 2022/01/15 | ||
|
||
### Fixed | ||
|
||
- [#14](https://github.com/webosbrew/youtube-webos/pull/14): Fixed voice search | ||
on certain TV models | ||
- [#21](https://github.com/webosbrew/youtube-webos/pull/21): Fixed screensaver | ||
kicking in during non-16:9 videos playback | ||
|
||
### Changed | ||
|
||
- [#19](https://github.com/webosbrew/youtube-webos/pull/19): Updated internal | ||
dependencies, cleaned up build setup | ||
|
||
## [0.2.1] - 2021/12/26 | ||
|
||
## Fixed | ||
|
||
- Fixed rendering on 720p TVs | ||
- Disabled update prompt on startup | ||
|
||
## [0.2.0] - 2021/12/23 | ||
|
||
### Added | ||
|
||
- Added support for autostart (requires manual setup, see | ||
[README](README.md#autostart)) | ||
|
||
### Fixed | ||
|
||
- Fixed deeplinking from voice search results | ||
- Fixed in-app voice search button on webOS 5.x | ||
- Fixed screensaver kicking in on sponsor segment skips | ||
- Fixed playback time tracking | ||
|
||
## [0.1.1] - 2021/11/21 | ||
|
||
### Fixed | ||
|
||
- Use alternative SponsorBlock API URL to work around untrusted Let's Encrypt | ||
certificates | ||
- Increase initial notification delay | ||
|
||
## [0.1.0] - 2021/11/14 | ||
|
||
### Added | ||
|
||
- [#10](https://github.com/FriedChickenButt/youtube-webos/issues/1): Added SponsorBlock integration | ||
- Added configuration UI activated by pressing green button | ||
|
||
## [0.0.2] | ||
|
||
### Added | ||
|
||
- [#2](https://github.com/FriedChickenButt/youtube-webos/issues/2): Added DIAL startup support. | ||
- [#3](https://github.com/FriedChickenButt/youtube-webos/issues/3): Added webOS 3.x support. | ||
- Enabled quick start. | ||
- Disabled default splash screen | ||
|
||
### Fixed | ||
|
||
- Disabled back button behaviour to open the Home deck. | ||
|
||
## [0.0.1] | ||
|
||
### Added | ||
|
||
- Created basic web app which launches YouTube TV. | ||
|
||
[Unreleased]: https://github.com/webosbrew/youtube-webos/compare/v0.3.1...HEAD | ||
[0.3.1]: https://github.com/webosbrew/youtube-webos/compare/v0.3.0...v0.3.1 | ||
[0.3.0]: https://github.com/webosbrew/youtube-webos/compare/v0.2.1...v0.3.0 | ||
[0.2.1]: https://github.com/webosbrew/youtube-webos/compare/v0.2.0...v0.2.1 | ||
[0.2.0]: https://github.com/webosbrew/youtube-webos/compare/v0.1.1...v0.2.0 | ||
[0.1.1]: https://github.com/webosbrew/youtube-webos/compare/v0.1.0...v0.1.1 | ||
[0.1.0]: https://github.com/webosbrew/youtube-webos/compare/0.0.2...v0.1.0 | ||
[0.0.2]: https://github.com/webosbrew/youtube-webos/compare/0.0.1...0.0.2 | ||
[0.0.1]: https://github.com/webosbrew/youtube-webos/releases/tag/0.0.1 |
Oops, something went wrong.