Commit Graph

36 Commits

Author SHA1 Message Date
a0f315be51 feature/hls: Add HLS playback support, and refactors documentation for better usability and maintainability. (#1)
All checks were successful
git-sync-with-mirror / git-sync (push) Successful in 32s
CI / test (push) Successful in 46s
## Overview
This PR introduces HLS playback support, improves the player experience, and refactors documentation for better usability and maintainability.

## Key Features

### HLS Playback Support
- Add HLS integration via new JavaScript assets:
  - `hls.min.js`
  - `plyr.hls.start.js`
  - `watch.hls.js`
- Separate DASH and HLS logic:
  - `plyr-start.js` → `plyr.dash.start.js`
  - `watch.js` → `watch.dash.js`
- Update templates (`embed.html`, `watch.html`) for conditional player loading

### Native Storyboard Preview
- Add `native_player_storyboard` setting in `settings.py`
- Implement hover thumbnail preview for native player modes
- Add `storyboard-preview.js`

### UI and Player Adjustments
- Update templates and styles (`custom_plyr.css`)
- Modify backend modules to support new player modes:
  - `watch.py`, `channel.py`, `util.py`, and related components

### Internationalization
- Update translation files:
  - `messages.po`
  - `messages.pot`

### Testing and CI
- Add and update tests:
  - `test_shorts.py`
  - `test_util.py`
- Minor CI and release script improvements

## Documentation

### OpenRC Service Guide Rewrite
- Restructure `docs/basic-script-openrc/README.md` into:
  - Prerequisites
  - Installation
  - Service Management
  - Verification
  - Troubleshooting
- Add admonition blocks:
  - `[!NOTE]`, `[!TIP]`, `[!IMPORTANT]`, `[!WARNING]`, `[!CAUTION]`
- Fix log inspection command:
  ```bash
  doas tail -f /var/log/ytlocal.log
  ````

* Add path placeholders and clarify permission requirements
* Remove legacy and duplicate content

Reviewed-on: #1
Co-authored-by: Astounds <kirito@disroot.org>
Co-committed-by: Astounds <kirito@disroot.org>
2026-04-20 01:22:55 -04:00
Jesus E
beca545951 GO to cideo with url 2023-05-28 20:42:47 -04:00
Jesus E
a9a68e7df3 go ti video with url 2023-05-28 20:42:00 -04:00
Jesús
06315e3e02 [opensearch]: improve 2021-08-14 18:36:17 -05:00
Jesús
49d823e135 Fix request search when is empty 2021-07-04 12:08:21 -05:00
James Taylor
acfa31ff59 Change search url path to match the YouTube path
Fixes #67

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-07-01 21:04:33 -05:00
Jesús
b9a3082e7c pep8 2020-12-15 21:52:04 -05:00
James Taylor
6f28d959f0 Fix FileNotFound error when trying to download search plugin when the working directory is not the directory of the program 2020-02-06 22:17:58 -08:00
James Taylor
d1d908d5b1 Extraction: Move html post processing stuff from yt_data_extract to util 2019-12-19 19:48:53 -08:00
James Taylor
98777ee825 Extraction: Rewrite item_extraction for better error handling and readability, rename extracted names for more consistency 2019-12-18 19:39:16 -08:00
James Taylor
9abb83fdbc Extraction: Fix did_you_mean and showing_results_for 2019-09-27 19:27:19 -07:00
James Taylor
dc6c370152 Extraction: refactor response extraction to work with both mobile & desktop respones, also improve errors 2019-09-19 11:06:34 -07:00
James Taylor
c362a5e834 Extraction: Move search extraction to yt_data_extract 2019-09-08 18:06:30 -07:00
James Taylor
3c9a6dd8e6 Search: Fix advertisements for google products like home/stadia breaking search results 2019-09-08 10:32:52 -07:00
James Taylor
e00c3cf99f Remove ad-hoc response saving from code, create a debug setting for fetch_url 2019-07-23 23:57:45 -07:00
James Taylor
86382706fe Add flask Firefox search engine route 2019-07-21 22:28:57 -07:00
James Taylor
1c724f4f28 Search: fix corrections not working 2019-06-21 22:29:25 -07:00
James Taylor
1156b09987 Refactor search page 2019-06-21 21:41:41 -07:00
James Taylor
b32330be4f refactor common.py into 3 files 2019-02-21 21:32:31 -08:00
James Taylor
36e0409db4 Add newline to end of files 2019-01-06 18:20:29 -08:00
James Taylor
bb2d40ac83 rename env['fields'] to env['parameters'] and rename fields to parameters in general 2019-01-06 01:33:52 -08:00
James Taylor
ec2fb71a37 WSGI for search 2019-01-04 03:33:07 -08:00
James Taylor
316dce9f03 Fix regression: autocorrect/did-you-mean causing failure on search 2018-10-30 14:54:20 -07:00
James Taylor
cdf89465cc fix search filters not being applied to next pages in results 2018-10-27 02:09:05 -07:00
James Taylor
23dfb97309 Support for search filters: upload date, type, duration 2018-10-18 01:41:53 -07:00
James Taylor
dd800485f0 add latency/readtime reporting for more things, round the numbers by reasonable amount 2018-10-01 18:01:05 -07:00
James Taylor
1dc2cb0ab6 Return blank page for searching when visiting just localhost/youtube.com 2018-07-31 17:03:47 -07:00
James Taylor
0dc5f41105 . 2018-07-27 18:55:35 -07:00
James Taylor
f65ebef2eb fix 502 bad gateway when searching 2018-07-27 18:54:55 -07:00
James Taylor
182a2f3bdb options for sorting when searching 2018-07-25 22:43:55 -07:00
James Taylor
ce6fb753a7 correctly handle 'search instead for' 2018-07-23 18:29:37 -07:00
James Taylor
1fa66ffb0f fix search box not having query searched for in results page 2018-07-09 03:01:33 -07:00
James Taylor
26620cbac8 front-end support for adding to playlists 2018-07-08 16:22:23 -07:00
James Taylor
20d9f07cb7 search: removed obsolete code 2018-07-06 17:49:00 -07:00
James Taylor
79937c1c82 fix line endings 2018-07-02 17:45:25 -07:00
James Taylor
98157bf1bf initial commit 2018-06-30 23:34:46 -07:00