Proto commits in ftde0/yt2009

These 29 commits are when the Protocol Buffers files have changed:

Commit:b5badb7
Author:ftde0

SABR playback fix, web feature updates, deprecation updates - [!] fixed SABR playback. (rel: #395 - thanks, sh20000sh!) - yt2009m (v6-v11) has been marked as deprecated. - removed autoapk after a long deprecation period. - fixed loading of channelpages with specific characters that were mistakenly used to attempt pchelper parsing. (thanks, quobe!) - added faststart flag for sabr downloader. (tracking #393) - html5player with `watch_modern_features` now implements `0-9` keyboard shortcuts. - fixed comment continuation on fresh video loads when `exp_turbocharge` is used. - fixed a last update regression restoring an `exp_turbocharge` bug with incorrect audio selection. - yt2009 will warn when ffmpeg and magick binaries were incorrectly placed **literally** in the same path as yt2009. - fixed non-sabr 360p media not playing in full on Goanna-based browsers. (thanks, quobe!) - fixed `iv_load_policy` for flash annotations. (thanks, imino!) - enabled SABR for windows XP (node v5) hosts. (also unlocks qualities beyond 360p on those) - improved quality of performing comment actions with pchelper. (ratings, replies) - fixed `exp_turbocharge` comments not showing hearts and pinned notifications with `watch_modern_features` - a `enable_comment_avatars` watchpage flag was added. (thanks, Gracesion!) - fixed `exp_turbocharge_sabr_hfr` wrongly covering volume with a non-functional HD button for videos with very specific quality selection. - added a /my_profile redirect to work with original userpage HTML. (thanks, RF64!) a few things were meant to be tested and added as well (like #381) but playback breakage turned this into a high-priority ASAP release. happens. //priority: high //marker: 1.30

The documentation is generated from this commit.

Commit:80a8302
Author:ftde0

quick playback fixes and updates - sabr will automatically be enabled on XL html5 player when available. add a sabr=0 param to the url to disable. - livestreams use SABR now. (fixes infinite loading) - applied #383 (thanks, JimboGio!) //priority: low //marker: 1.29.1.1

Commit:b362c97
Author:ftde0

date, channel extractor fixes - fixed viewmodel channel extraction. (viewcounts, members-only videos filtering, dates. thanks, RF64, sh20000sh!) - fixed relative date formatting for search and non-pchelper recommended sections. - fixed individual channel loading on subscriptions tab. - fixed a longtime CSS bug causing thumbnails to go off borders on userpages (subscriptions, history, favorites, ...) (thanks, RF64 for both!) - removed a broken video from precoded homepage list. other reported bugs have been acknowledged and will be fixed at a later time. //priority: high //marker: 1.29.0.1

Commit:c1fc254
Author:ftde0

hype for modern homepage, html5player enhancements, bugfixes - a `use_hype_for_homepage` flag was added, enabling modern videos for the "Featured Videos" and "Most Popular" homepage tabs. location of content can then be also changed with the footer's location change link. - html5player with `watch_modern_features` now implements common keyboard shortcuts (j, k, l, <, >). - html5player with `watch_modern_features` now has a speed adjustment panel, available in the context menu. - a "Most replayed" chart is now visible under Statistics & Data for `watch_modern_features` users. (thanks, yolandapz!) ! usage may cause cache refreshes ! - pchelper users can now navigate to their channel just by clicking on their login username. (thanks, stardust657!) - fixed auto-dubbed audio tracks being selected by default for some videos when `exp_turbocharge` is used. - data api is now used to reverse auto-translations of titles on playlist pages. (#303 - thanks, sh20000sh!) - updated video uploading code to better handle large files. as a reminder, the default 10MB limit can be increased with `config.file_limit` (or `YT2009_FILE_LIMIT` env) (thanks, RF64!) - removed an arbitrary restriction in sabr quality picker where 1080p and beyond couldn't be selected without the `hd_1080` flag. this makes the onboarding picker's "**default** HD to 1080p" text correct now. - upgraded internal security of pchelper logins. no action needs to be taken from users with connected accounts. - fixed flag tooltips not changing on flag labels on language changes. (#378 - thanks, QtKaitly!) //priority: low ///marker: 1.29

Commit:e586abb
Author:ftde0

video filter, watchpage comment sorts, pchelper channel preview - `video_filter` and `videochannel_filter` global flags were added. - improved performance of seeking across the video using arrow keys on sabr. - watchpage replies can now be collapsed. - auto-scrolling to current playlist video on watchpage is now more reliable. - watchpage "Text Comments" options menu was added, mixing options available back in 2009 youtube with current options. (thanks, RF64, sh20000sh!) - pchelper channel setups can now be previewed live on sane web browsers. (thanks, RF64!) - html5player now features a "copy video url with time" to co-exist with the current "copy video url" option. (thanks, rlego!) - saving and importing flags is now possible to be saved to your pchelper session. (thanks, stardust657!) - sabr-enabled with_pchelper=1 watchpages now feature full quality selection. - miniResponse watch data now offloads banner processing to clientside. (adds /minibanner endpoint) - streamlined sabr /player processing - improved sabr redirect-only response behavior - added preparation code for more enforcing config validation - fixed comment replies on continuations. - added support for pchelper viewmodel playlists. (thanks, RF64!) - fixed pchelper owned video list request fail, causing `/account` and `/my_videos` pages to load infinitely. (thanks, stardust657!) - mobilehelper FEchannels request will no longer hang on failures. (tracking: #369) //priority: low //marker: 1.28

Commit:408a337
Author:ftde0

[np] small edge case fixes, enablable html5 context menu - fixed a friendtivity oversight on homepage. - added protoShortcut extractor for broken notifications innertube responses. (thanks yolandapz for both!) - failed data api response no longer break searches. (#354 - thanks, sh20000sh!) - fixed livestream watch loads (last update regression) - added a html5 context menu available for watch_modern_features users. //priority: low //marker: 1.27.0.1

Commit:6ea4fa1
Author:ftde0

address sabr enforcement - [!] a sabr downloader was implemented to address a (early?) test removing adaptiveFormats urls previously used to download videos in higher qualities. this also means ffmpeg is now **required** to download videos in qualities other than 360p. a technical limitation of current sabr downloads is that they will take significantly longer. if possible, this will be improved upon in the future, but this has to do for now. additionally: - fixed auto-generated captions taking priority on certain setups. actual feature update some day. high priority hotfix for now. //priority: high //marker: 1.26.1.1

Commit:115ca70
Author:ftde0

[np] hosting and built-in tool adjustments, bugfixes - autoapk will show a deprecation notice. you are heavily advised to follow `apk_setup.md` which covers all gdata-based versions supported by yt2009. - removed the ability for yt2009setup to generate a new prod instance config without a token requirement. - fixed an oversight with flag presets breaking the `wayback` preset button. (thanks, Skittleology!) - added better compatibility for pchelper voting on channel polls with fmode. (thanks, RF64!) - channel community tab "quizzes" are now shown. - fixed heights of pchelper homepage insight panels. (thanks, Bass Villain!) - fixed an internal conflict that could have caused playback issues after signing in (androidsignin) and not restarting yt2009. - bar image charts can now be generated. - added numerous small feature fixes for line chart generations. - added backbone code for a future feature update. (proto definitions, assets, ...) //priority: low //marker: 1.26.1

Commit:8feaaac
Author:ftde0

flags presets, channelpage enhancements, bugfixes a "flag presets" section was added to yt2009flags to allow quick settings adjustments for specific needs: - `focus_new` - all new results and videos where possible - `daily` - performance, new videos, new features - `oldvids` - old youtube experience without wayback - `wayback` - wayback machine data where possible + oldvids additionally: - watch history elements can now be deleted individually. - a `show_times` channelpage flag was added that will show timestamps of videos. - pchelper recommendations' video timestamps are now shown on `/videos?r=1`. - channelpage community section now shows polls. pchelper-enabled users will have percentages, counts, and will be able to interact with them as well. - added further tests for hosting on datacenter ip addresses. - config.fallbackMode will no longer show a notice on the homepage. - on an unsupported config combination, a message will be shown. instances running unsupported setups will not receive support. - instances with a set data api key will have sorting by date enabled in searches, following platform changes. - https can now be used in dev. - fixed channel "profile comments" overflowing on exceedingly long comments. - fixed pchelper recommended section sometimes linking to non-existent channels. - fixed a double replay button on html5 embeds with sabr. - fixed sync comments on watchpages not showing in some cases. - fixed some related videos falling back to a 1:00 timestamp, following platform changes. - homepage "recent actvity" tab will now work more reliably with a data api key set. (thanks, RF64!) //priority: low //marker: 1.26

Commit:9118d06
Author:ftde0

playback fix, general web experience improvements - [!] fixed playback. (rel: #335) ----- - hour count is properly shown on html5. - fixed progress bar going off rails when sabr seeking. - /videos previews now properly respect `autogen_thumbnails` and `thumbnail_proxy` - fixed unimplemented modules breaking moving homepage modules. - endscreen now shows 4 videos on larger player sizes. - pchelper notifications are now shown in inbox - added `unasciify_login`, which lessens restrictions on local login names. (thanks Bass Villain for all the above!!) - quotes are now escaped on homepage link title attribute. - updated .gitignore to account new assets and `node_modules`. (thanks ljcool2006 for both!) - reworked mobilehelper related requests. now load faster. also fixes "NaN views" on pchelper related without data api key in some rare cases. - `/toggle_f` is linked on yt2009flags for convenience. - `/mh_pc_manage` is linked in yt2009flags and /account if using pchelper. - addressed #329 (thanks, maxdou9613-create!) - endscreen width sizing is accurate to its flash counterpart. - html5player now supports the &t= video start param. - html5player quality picker will mark high bitrates 720p and 1080p avc (itag 214 and 216). - html5player sabr pickr now has an option to pre-enable `watch_modern_features`. - comments with `watch_modern_features` now show the full like count if using data api. (needs resetcache) //priority: high //marker: 1.25

Commit:ca78e58
Author:ftde0

[np] html5, replies hotfixes - improved responsiveness of seeking through the video on html5 when sabr is used (thanks, ljcool2006!) - fixed videos not properly restarting sometimes when using external media controls on html5 sabr. - using watchpage-cache player for livestreams - fixed replies button not showing due to a youtube-side change (thanks, RF64!) a proper feature update will need some time, so pushing some usability bugs/issues fixes for now. //priority: low //marker: 1.24.2.1

Commit:08a2c45
Author:ftde0

[np] docker maintenance, fix `comments_remove_future` added recent config settings to docker: - `dl_max_retry` as `YT2009_DLMAXRETRY` - `max_1080` as `YT2009_MAX1080` - `ipv6` as `YT2009_IPV6` additionally: - fixed the `comments_remove_future` flag. - added `config.wyjeba_typu_onesie` (bool) - fixed livestreams on extrarisk. - added sabr html5player stuck load retry happy new year ( ◕▿◕ ) //priority: low //marker: 1.24.2

Commit:6c73857
Author:ftde0

`EXTRA_RISK_BLOCK`, web playlist continuations - fixed cps2 on channelpages on ie. (#319) - added playlist continuation on channelpages. (#298) - playlists can now request more than 100th video on web (/playlist page, watchpage, channelpage) (#298) ^^ thanks, sh20000sh for those! - improved reliability of html5 popouts on specific flag configurations. - [!] added `EXTRA_RISK_BLOcK` experiment related to loading videos. shouldn't affect daily usage. enabled by default. - [!] added a config.ipv6 option, which accepts a string being your subnet you can use. (e.g. "2a01:4f8:xxxx:xxxx") - fixed showing private pchelper playlists - added `refetch_playlist_watch` on fmode. - channel community tab images will be converted to PNG on fmode, fixing them on legacy browsers. merry christmas (⁀ᗢ⁀) //priority: medium //marker: 1.24.1

Commit:e3930dd
Author:ftde0

[np] cps2 fixes, trending fix, other misc small things - fixed #306 (malformed cps2 requests) - added #307 (cps2 thumbnails with fh264) (thanks, sh20000sh for both!) - fixed yt2009m auth /next errors. - temp fixed super resolutions causing HQ playback issues for non-sabr. - added support for mobile HYPE feature. will be used when a trending request fails. (fixes #304 - thanks, htony2417!) - added a watch `old_match_exp_rel` flag that uses search only_old to match exp_related, which by default cuts off at 2010-04-01. (thanks, Skittleology!) //priority: low //marker: 1.23.3.4

Commit:f7e4367
Author:ftde0

[np] extend mobile support, prepare for further mobile updates - added redirects for standardfeeds to support 1.5.20. - added support for /proxy/ytbt, seen in 1.3 and 1.4 apps. (#106 - thanks, gohoski!) ! the apps need slight changes to work with yt2009 responses ! ! read more in apk_setup.md ! ^ both tested on android 2.1, mobilehelper untested; don't expect it to work. - fixed basic mobile streaming options. (thanks, ISM_64!) - html5 sabr will prebuffer more data in advance for videos that need it. this will reduce random stutters while watching videos. - fixed #286 (thanks, smartiphone7!) - partially cleaned up a few innertube generator protobufs. - removed protoc dependency for yt2009m. [!] this update includes a minor change related to communication with the sync server. update to keep your sync functionality properly working in the future. //marker: 1.23.2

Commit:398ca6f
Author:ftde0

pchelper channel customization, other specific additions and fixes - "Recommended for you" section now has a working "edit" button. this lets you adjust the amount of videos seen on that section on the homepage. - fixed pchelper comments having the author's name getting cached as "undefined" sometimes. (thanks, jobz_lol!) - added a `default_f` config entry. will affect new sessions that haven't set any settings. (#269 - thanks, sh20000sh!) - added proper support for mix playlists. - adjusted link line-height for some pages to better show japanese titles. (thanks, jobz_lol!) - pchelper manage page will now show a message on timeouts. - channel customization is now possible through pchelper. - fixed unavailable video reasons. - fixed #279 (thanks, sh20000sh!) - "Profile Setup" is now functional for pchelper users. properties set through it will be visible in the channel's description. yt2009 will display those as individual sections.

Commit:9f3765d
Author:ftde0

fully stream MP4s on html5 with exp_sabr -- read more below by turning on the exp_sabr flag, SABR technology can be used to enable full streaming of videos on watchpages, removing the need to download them. [!! supported on new-ish browsers only, will not work for flash !!] downloads are here to stay for compatibility. additionally: - yt2009androidsign will notify if sign-in test has failed for a different reason than requiring sign in. - a "yt2009 settings" footer button was added for homepage and watchpage that opens the flags menu. - fixed auto-generated captions taking priority over manual tracks for some videos. - fixed speech annotations tooltips sometimes not removing when anotations were turned off manually in html5player - fixed channel video switching not working sometimes - fixed channel community tabs. (thanks, RF64!) - added support for viewing multiple images within a single community post. - pchelper recommended page now supports clientside paging. (thanks, RF64!) - fixed auto-dubbed tracks playing on videos if they're set as default. (thanks, ISM_64!)

Commit:6b504f0
Author:ftde0

[np] live show hotfix - fixed autogen_thumbnails giving bad thumnails for live videos on search - html5 player's caption selector will no longer show when not enabled and hovered in a specific position.

Commit:3637ccd
Author:ftde0

autogenerated cc, livestreams, community - automatically generated captions will now be shown on videos. (#263 - thanks, ThaBluNate!) - embedded player now respects always_captions and always_annotations flags. - livestreams can now be played in html5 player on newer browsers. search page will now show them, and channels will show a "Live" tab if there's at least one stream running and fmode isn't enabled. - channel community posts will now show as bulletins under the Recent Activity tab. both additions can be disabled with `no_community` and `no_live` channel flags. channel changes may require a cache refresh to show. on any channel, add `?resetcache=1` to the URL to force a cache refresh.

Commit:c80c277
Author:ftde0

pchelper (full yt account signin) refinements - fixed search results page filters showing "This week" twice. (thanks, TechPerson389!) - a notice will be shown if trying to load the html5 player on unsupported browsers. - watchpage pchelper updates: - favoriting the same video multiple times is no longer possible. - undoing a favorite now works as expected. - /account pchelper updates: - accurate subscribers/channels videos counts will now show - avatar changes are now possible - activity sharing with bluesky is now possible - /my_videos pchelper updates: - deleting videos is now possible. - /favorites / /my_playlists pchelper updates: - removing videos is now possible. - channelpage pchelper updates: - fixed adding videos to playlists. (thanks, RF64!) - removed obsolete relay support - added position readjustments for search suggestions popout if a doodle logo is used - fixed xl related not working in some cases. (thanks, ISM_64!) - html5 embed endscreen no longer forces exp_related. - a no_doodles flag was added. (thanks, BoredWithADHD!)

Commit:e362c13
Author:ftde0

playback fix, minor pchelper enhancements - improved compatibility of pchelper pages with older browsers. - added /my_videos. (thanks, RF64 for both!) - fixed some html watchpages not loading properly as of pchelper - basic video metadata edits are now possible. - enabling insight modules on homepage can now work. - /my_videos_upload can now be tested. file_limit cfg entry is now also accepted for use with this functionality. - gdata xml search now supports paging. (thanks, NCP, VictorFilimonov!) - addressed #221 (thanks, Tanjirokamado12!) - fixed dash formats (everything other than 360p) not loading.

Commit:302e6e0
Author:ftde0

[np] under-the-hood changes - fixed and updated extractors for search and playlists. - removed obsolete ytdl-core references. (thanks, SavunOski!) - improved coverage for jsongdata. (partially fixes #202 - thanks, retrofoxxo!) - uploaded .proto files for documentation purposes. - added future use html5-related code.

Commit:c0323d5
Author:ftde0

[np] minor changes for future use - added a few files related to mobilehelper. (not out yet!) - updated security for docker instance hosting

Commit:1b8c39a
Author:ftde0

add support for yt2009mobilehelper, html5player reliability - yt2009mobilehelper will be tested on select trusted instances. - html5player will retry video load if stuck. - &fmt=18 and &fmt=22 will automatically load HQ/HD if available. - a "yt_redir" watchpage flag was added that will set youtube links in video descriptions to redirect to yt2009. - gdata full channel video count flag is now merged. - /exp_hd now supports a /lower video id suffix that will redirect to a lower quality if not available. /lower is available to use as a gdata flag (/mobile/app_connect.htm) - a gdata flag "uncrop_avatar" is now available, which will show the full avatar within the app. use only if you're facing issues with avatars not being shown in full.

Commit:26fe908
Author:ftde0

[np] junk - mini_fetch_video was added for faster video fetching. - a "fastload" config entry was added that adds experimental optimizations for watchpage and channels. accepts true/false. - a config_params.md was added that contains documentation about ALL config.json arguments. 🗑️

Commit:ed6d12d
Author:ftde0

module-ify homepage, various minor bug fixes

Commit:9ab6072
Author:ftde0

search paging + filtering, /videos paging fixes

Commit:f6ce998
Author:ftde0

comments_remove_future show old comments + get_more_comments use old

Commit:514d36a
Author:ftde0

show saved alt player settings, render backup history, /flags, use_pb config, gdata userhandles