Skip to content
项目

RF1705/youtube-webos-cobalt-adfree

在 GitHub 查看

关于

Unofficial Cobalt-based YouTube client for webOS with ad blocking and SponsorBlock support.

安全与隐私

这些数字如何统计

可以做什么

  • YouTube for LG webOS TVs
  • Advertisement blocking
  • Return YouTube Dislike support
  • Automatic account selection on startup

实测星标增长

24小时
+1
7天
+9
15天
+18
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

YouTube webOS Cobalt AdFree

CI Latest release Downloads

Unofficial Cobalt-based YouTube modification for LG webOS TVs with ad blocking and SponsorBlock support.

The v2.0.2 stable release improves playback at increased speeds by removing fixed frame-rate hints from the native Starfish media pipeline, building on the playback speed switching, seeking and HD quality improvements in v2.0.1. See the v2.0.2 release for details. Version 2.0.0 introduced the starterless Cobalt 2.x architecture; see the v2.0.0 release notes for background.

This project is unofficial and is not affiliated with YouTube, Google, LG or webOS.

YouTube webOS Cobalt AdFree settings

YouTube playback with SponsorBlock segments and dislike counts

Features

  • YouTube for LG webOS TVs
  • Advertisement blocking
  • SponsorBlock support
  • Return YouTube Dislike support
  • Automatic account selection on startup
  • Smooth playback speed switching, including pause/resume and seeking
  • Optional playback quality preference (Auto, highest available, or a 2160p/1440p/1080p cap)
  • Optional Shorts visibility
  • Optional autostart integration
  • Native starterless Cobalt runtime without the legacy LG Cobalt starter binary
  • LG Magic Remote scroll wheel integration
  • Improved webOS launch/DIAL handling and bundled AAC decoder for livestreams
  • Installable .ipk package

The configuration screen can be opened with the GREEN button on the LG remote. While a video is playing, press 1 to decrease playback speed or 3 to increase it. Press 0 to toggle subtitles.

Installation

Download the stable .ipk from the GitHub releases page and install it using Homebrew Channel, webOS Device Manager, ares-cli, or the webOS app install service on rooted devices.

For v2.0.2, the package filename is youtube.leanback.v4_2.0.2_arm.ipk.

The package uses the original youtube.leanback.v4 application id to preserve YouTube sign-in and phone pairing compatibility. Installing it replaces the official YouTube application.

Homebrew Channel repository

Add the following custom repository in Homebrew Channel:

https://raw.githubusercontent.com/RF1705/youtube-webos-cobalt-adfree/main/repo.json

The stable Homebrew Channel entry is automatically synchronized when a new stable release is published. Do not install this package alongside another Homebrew package using the same youtube.leanback.v4 application id.

Autostart

The package declares supportGIP in its appinfo.json, which lets webOS register it as an input source. To start YouTube automatically with the TV, register it from a shell with Luna access (for example over SSH on a rooted TV):

# enable
luna-send-pub -n 1 'luna://com.webos.service.eim/addDevice' '{"appId":"youtube.leanback.v4","pigImage":"","mvpdIcon":""}'
# disable
luna-send-pub -n 1 'luna://com.webos.service.eim/deleteDevice' '{"appId":"youtube.leanback.v4"}'

If YouTube was registered before updating, run the disable command first, then the enable command again, and reboot the TV.

Building

Clone the repository:

git clone https://github.com/RF1705/youtube-webos-cobalt-adfree.git
cd youtube-webos-cobalt-adfree

The current Cobalt runtime is built directly for webOS and packaged without an LG Cobalt starter binary. Build helpers and platform patches are contained in cobalt-platform/ and scripts/.

Relevant build scripts include:

  • scripts/build-starterless-cobalt-docker.sh — builds Cobalt for webOS
  • scripts/package-starterless-cobalt.sh — creates the application package
  • scripts/build-sdl-webos-docker.sh — builds the SDL webOS platform dependency

Development

The web application sources are in webapp/.

Run the webapp tests with:

cd webapp
npm install
npm test

Compatibility

Compatibility depends on the webOS version, TV platform, firmware and Cobalt/Starboard runtime. Please use the issue tracker for current device reports and compatibility problems.

License

This is a multi-license project. The webapp is GPL-3.0-only; project-owned native Starboard/webOS integration uses BSD-3-Clause; upstream Cobalt, SDL-webOS, GCC runtimes, and other dependencies keep their respective terms. See license scope and third-party notices. Redistributed IPKs include the relevant license texts in content/licenses/.

探索相关项目

加载中…