Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/feed-health-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,18 @@ jobs:
- name: Check bounded saved feed preferences
run: bash scripts/test_maxd_feed_policy.sh
- name: Exercise shipping feed, recovery and library code under sanitizers
run: bash scripts/test_native.sh maxd_feed maxd_feed_paging maxd_health maxd_auto channel_block playback_recovery library_paging stream_choice maxd_experience maxd_phone_provider maxd_support storage_failure
run: bash scripts/test_native.sh maxd_reliability backup_ui maxd_viewing maxd_catchup maxd_feed maxd_feed_paging maxd_health maxd_auto channel_block playback_recovery library_paging stream_choice maxd_experience maxd_phone_provider maxd_support storage_failure
- name: Check phone page, transport and report controls
run: bash scripts/test_phone_remote.sh
- name: Check playback picker focus and Back navigation
run: python3 scripts/test_maxd_picker_navigation.py
- name: Check GitHub release notifications and saved opt-out
run: bash scripts/test_maxd_release_notice.sh
- name: Check inactivity and session sleep timers
run: bash scripts/test_sleep_timer.sh
- name: Check saved presets and rule input validation
run: bash scripts/test_maxd_features.sh
- name: Check offline backup parser and preview
run: bash scripts/test_backup.sh
- name: Check shipping Quick Switch input dispatch
run: python3 scripts/test_quick_switch.py
71 changes: 71 additions & 0 deletions .github/workflows/publish-maxd-1.6.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Publish the user-authorized 1.6.0 build with matching source and validation notes.
# Finalize the inspected draft by release ID after checking every uploaded byte.
# SPDX-License-Identifier: GPL-3.0-or-later
name: Publish Max'd 1.6.0

on:
workflow_dispatch:

permissions:
contents: write
actions: read

concurrency:
group: publish-maxd-v1.6.0
cancel-in-progress: false

jobs:
publish:
runs-on: ubuntu-24.04
timeout-minutes: 25
env:
GH_TOKEN: ${{ github.token }}
PROSPEROTUBE_UI_KIT: https://github.com/LedyBacer/ps5-homebrew-ui.git
ASAN_OPTIONS: detect_leaks=0
steps:
- name: Check out release tooling
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false

- name: Check release label replacement
run: python3 scripts/test_publish_160.py

- name: Select exact merged candidate and successful package build
id: candidate
run: python3 scripts/publish_maxd_160.py select

- name: Check out matching app source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ steps.candidate.outputs.sha }}
path: app-source
persist-credentials: false

- name: Restore unchanged dependency pins
working-directory: app-source
run: |
bash scripts/restore_submodules.sh
python3 scripts/ui_kit.py

- name: Recheck focused regressions and release identity
working-directory: app-source
run: |
bash scripts/test_maxd.sh
bash scripts/test_about.sh
bash scripts/test_maxd_release_notice.sh
python3 scripts/test_release.py
python3 scripts/test_make_build.py

- name: Download exact verified PS5 package
env:
BUILD_RUN: ${{ steps.candidate.outputs.run }}
BUILD_ARTIFACT: ${{ steps.candidate.outputs.artifact }}
run: gh run download "$BUILD_RUN" --repo "$GITHUB_REPOSITORY" --name "$BUILD_ARTIFACT" --dir downloads

- name: Package corresponding source and publish verified release assets
env:
CANDIDATE_SHA: ${{ steps.candidate.outputs.sha }}
BUILD_RUN: ${{ steps.candidate.outputs.run }}
run: python3 scripts/publish_maxd_160.py publish --source app-source --downloads downloads --candidate "$CANDIDATE_SHA" --run "$BUILD_RUN"
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

YouTube Max’d integration changes, followed by retained upstream release notes.

## 1.006.000

- Add PS5 Continue Watching and subscription catch-up queues with watched/Shorts filters and review before appending.
- Improve phone keyboard search, add scheduled/end-of-video sleep, playback presets and accessibility controls.
- Add profile-owned channel quality, speed, caption and volume-leveling preferences.
- Offer interrupted-session recovery with saved positions and queue review, without autoplay.
- Add playback diagnostics and hold-Touchpad Quick Switch while browsing.
- Add scoped cache cleanup and offline backup previews. Preserve app data and PiP off by default; credit ProsperoTube and EVO Player.

## 1.005.000

- Add profile-specific PS5 feed controls: mute title phrases, prioritize locally followed channels and manage blocked channels.
Expand Down
12 changes: 12 additions & 0 deletions MAXD_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# YouTube Max’d integration

## Next build — recovery and maintenance

- Add profile-owned channel quality/speed/caption/leveling overrides and interruption checkpoints for the saved queue.
- Add observed playback diagnostics, a long-Touchpad Quick Switch, scoped cache controls and offline backup preview counts.
- Preserve the previous everyday-viewing additions. See docs/RELIABILITY_AND_MAINTENANCE.md for behavior and limits.

## Next build — everyday viewing

- Dedicated unfinished-video history and Home shelf, subscription catch-up queues, and a clearer paired phone keyboard.
- Add elapsed-time/end-of-video sleep, profile-owned Movies/Gaming/Listening preset slots, and grouped accessibility controls.
- See docs/EVERYDAY_VIEWING.md for usage, scan limits, sharing behavior and validation. These are development changes, not in the published v1.5.0 ZIP.

## 1.5.0 — 2026-10-29

- Polish the existing phone remote: request timeouts, explicit reconnect without replay, rapid-tap/changed-video guards, stable queue focus, draft preservation and clearer session expiry.
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@
</p>

<p align="center">
<a href="https://github.com/HandshakeHackin/youtube-maxd/releases/download/v1.5.0/PPSA99991.zip"><img src="https://img.shields.io/badge/Download-PS5_App_ZIP-FF304F?style=for-the-badge" alt="Download the PS5 app ZIP"></a>
<a href="https://github.com/HandshakeHackin/youtube-maxd/releases/tag/v1.5.0"><img src="https://img.shields.io/badge/Release_Notes-%26_Source-FFFFFF?style=for-the-badge&amp;logo=github&amp;logoColor=181717" alt="Release notes and corresponding source"></a>
<a href="https://github.com/HandshakeHackin/youtube-maxd/releases/download/v1.6.0/PPSA99991.zip"><img src="https://img.shields.io/badge/Download-PS5_App_ZIP-FF304F?style=for-the-badge" alt="Download the PS5 app ZIP"></a>
<a href="https://github.com/HandshakeHackin/youtube-maxd/releases/tag/v1.6.0"><img src="https://img.shields.io/badge/Release_Notes-%26_Source-FFFFFF?style=for-the-badge&amp;logo=github&amp;logoColor=181717" alt="Release notes and corresponding source"></a>
<a href="https://ko-fi.com/handshakehackin"><img src="https://img.shields.io/badge/Ko--fi-Support-FF5E5B?style=for-the-badge&amp;logo=kofi&amp;logoColor=white" alt="Optional support on Ko-fi"></a>
<br><a href="docs/APP_GUIDE.md">Full guide</a>
</p>

**Official release · v1.5.0** — intended for **firmware 11.00 with ShadowMount+**. PS5 testing is still needed, including playback, sign-in, microphone, lighting and 4K/HDR performance.
**Official release · v1.6.0** — intended for **firmware 11.00 with ShadowMount+**. PS5 testing is still needed, including playback, sign-in, microphone, lighting and 4K/HDR performance.

**New in v1.5.0:** [Feed controls and playback rescue](docs/FEED_AND_PLAYBACK_HEALTH.md), smoother remote/bookmark controls, and [update notifications](docs/UPDATE_NOTIFICATIONS.md).
**New in v1.6.0:** Continue Watching, catch-up queues, channel preferences, session recovery and Quick Switch. [Full changelog](docs/releases/01.006.000.md).

**Viewing and maintenance:** [Everyday viewing](docs/EVERYDAY_VIEWING.md) and [recovery & maintenance](docs/RELIABILITY_AND_MAINTENANCE.md).

## How YouTube Max’d stands out

Expand Down
4 changes: 2 additions & 2 deletions UPSTREAM.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"application": "YouTube Max’d",
"version": "1.5.0",
"content_version": "01.005.000",
"version": "1.6.0",
"content_version": "01.006.000",
"title_id": "PPSA99991",
"upstream": "https://github.com/blackbearreloaded/ProsperoTube",
"commit": "3446f364172c299a17cecf29a3efcf23c8463f68",
Expand Down
2 changes: 1 addition & 1 deletion branding/brand.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "YouTube Max’d",
"slug": "youtube-maxd",
"version": "1.5.0",
"version": "1.6.0",
"palette": {
"red": "#FF304F",
"soft_red": "#FFA5AA",
Expand Down
2 changes: 1 addition & 1 deletion companion/prosperotube/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""ProsperoTube LAN companion. SPDX-License-Identifier: GPL-3.0-or-later."""
__version__ = "1.005.000"
__version__ = "1.006.000"
37 changes: 37 additions & 0 deletions docs/EVERYDAY_VIEWING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Everyday viewing improvements

Included in v1.6.0. Physical PS5 and phone testing is still required.

## Continue Watching

The Classic main menu has a dedicated **Continue Watching** list. Afterglow's existing Home shelf now reads this list, so completed history entries cannot crowd unfinished videos off the first page. Entries show saved progress and resume through the existing player path. Finished/live videos are excluded, and each profile has its own positions. Existing incognito/history-off behavior and the setting for remembering short videos are respected. This is local PS5 history, not cross-device Google history sync.

## Subscription catch-up

Open **Settings → Subscription catch-up**, create a queue, and edit its rules. Choose up to eight channels from local follows and subscription video metadata already loaded on the PS5. With no explicit selection, all subscription channels are eligible. Follow or browse a channel first if it is missing from the picker.

Rules start with unwatched videos, known Shorts hidden, live/upcoming videos excluded, and a 30-minute budget. Adjust the budget (15–120 minutes or no limit), Shorts option, and existing title/duration filters. **Open playlist** previews matches; **Append matching videos to queue** keeps existing entries and adds each new video once without starting playback. The budget covers newly selected matches, not time already in the play queue.

This reuses the signed-in subscription feed. A Google/YouTube sign-in is needed for a real subscription feed. It examines at most eight pages and 128 matches; it does not promise to scan all uploads. Shorts filtering requires an explicit Shorts marker. Channel selections, rules and queued videos remain profile-owned, including while ordinary preferences are shared. Changing profile or rules during a scan cancels its result.

## Phone keyboard

The existing Phone remote now labels its search form **Phone keyboard**, offers the phone's search/submit key, and explains the send flow. Blank and oversized UTF-8 searches get useful feedback before being sent. Drafts survive failed requests and are cleared only when their search is accepted. Newer drafts remain intact. It uses the existing opt-in, paired LAN remote and does not expose account passwords or replace arbitrary PS5 system keyboard dialogs.

## Sleep timer

Use **Settings → Sleep timer** or the R2 playback options. Choose an elapsed-time timer (15/30/45/60/90/120 minutes) or **When this video ends**. Input does not restart the elapsed-time timer. Expiry pauses playback; end-of-video sleep suppresses repeat, autoplay and the next queued video once. Changing the video cancels an end-of-video timer. Changing profile or restarting the app clears session timers. Timers do not suspend or shut down the PS5.

The existing inactivity timer remains available separately. Selecting one timer type cancels the other. **Turn sleep timer off** cancels both. The saved inactivity preference is turned off when selecting a session timer. Pausing rather than discarding playback preserves the current media and queue.

## Playback presets

**Settings → Playback presets** has Movies (up to 4K/30), Gaming (up to 1080p/60), and Listening (up to 720p/30) slots. **Save current preferences** stores quality ceiling, FPS ceiling, codec, speed, audio/caption languages, caption preferences and Auto Max. **Use this preset** applies those preferences to the next resolved video. Available formats still depend on the video; Listening is not an audio-only stream mode. Reset removes the saved override for that slot. Unsaved defaults retain current caption/language/Auto Max choices. Saved slots belong to the actual profile even with shared ordinary settings; applying a slot changes ordinary playback preferences under the existing sharing setting. The current video is not reopened automatically.

## Accessibility

**Settings → Accessibility** groups interface text size (100/115/120%), high contrast, reduced motion, caption backgrounds (transparent/translucent/opaque black) and the existing caption-size selector. Classic uses the existing scalable layout; Afterglow scales shaped text with consistent measurement, fitting and wrapping, capped at 120%. Its baked-font fallback retains its existing sizing if the text engine cannot start. Reduced motion disables Classic decorative CSS motion and uses Afterglow's existing reduced-motion path. Accessibility follows the existing separate/shared account-settings choice. Caption preferences remain adjustable independently.

## Validation

Provider regressions exercise actual progress, completion, profile isolation, preset persistence, stale actions, caption controls, subscription scanning, channel/Shorts/watched filters, bounded sessions, duplicate-free queue append and cancelled callbacks. Timer tests use a deterministic clock; phone tests execute the actual page script. Cross-compilation and package checks are separate from physical console acceptance.
49 changes: 49 additions & 0 deletions docs/RELIABILITY_AND_MAINTENANCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Recovery, channel preferences and maintenance

These additions extend the viewing features in [Everyday viewing](EVERYDAY_VIEWING.md). Included in v1.6.0. Open **Settings → Playback and maintenance** for the new controls. Family-profile PIN gates still apply.

## Channel-specific preferences

Open **Channel preferences**, then choose a channel already browsed or followed in this profile. Set its quality ceiling, playback speed, captions and volume leveling. Each choice starts at **Inherit**. Reset removes these overrides while keeping existing profile settings and legacy caption/speed memories.

Overrides belong to the actual profile, including when ordinary settings are shared. They affect future video resolves. A channel ceiling can lower, but never raise, the profile ceiling. Explicit channel caption/speed choices take precedence over the existing caption/speed memories; Inherit returns to their ordinary behavior. Volume leveling uses YouTube's loudness metadata when available and does not alter the profile's stored volume preference. It does not analyze audio or boost quiet tracks.

Up to 256 channel entries are retained. No Google/YouTube account settings are changed.

## Interrupted-session and queue recovery

The existing queue remains saved in its original order. Normal video progress now also records a profile-owned interruption checkpoint in the same atomic state file. A checkpoint left without a stop report creates a **Recover interrupted session** entry in the main menu and can be reviewed under **Interrupted session**.

Review the remaining queue or choose **Resume interrupted video**, then select the saved video to play it. Resume resolves fresh streams; it does not reuse saved signed media URLs. There is no automatic playback. The offer remains available until playback starts or you dismiss it. Dismiss keeps the queue, history and bookmarks.

Recovery uses the last successful save, ordinarily within the existing ten-second progress-save interval, with an immediate start checkpoint. Missing stop reports can result from a crash, forced close or restoring an active-session backup; the app does not claim to diagnose a crash. Normal stop reports clear the offer. History-disabled/incognito playback does not create checkpoints, and the existing short-video resume preference is respected. Live/DVR sessions are not offered as VOD resumes. Store failures are reported through the existing storage notices.

## Playback diagnostics

**Playback diagnostics** and **R2 → Playback health & rescue** show the last classified failure observed for the selected profile in the current app session: source/resolve request, video decoder, audio decoder, sustained buffering, or no supported resolved formats. The record is session-only and contains no displayed media URLs, credentials or raw resolver responses. Switching profiles does not show another profile's failure.

Suggestions distinguish retrying a source, selecting a different audio track, trying a lower quality, and using an available AVC format up to 1080p30 SDR. Actual rescue still requires reviewing and confirming the existing one-video recovery action. A category is an observation, not proof of a particular network, ISP or URL-expiry cause. Available alternatives depend on the formats already resolved.

## Quick Switch

While browsing videos, **hold Touchpad for about 0.65 seconds** to open Quick Switch. Short Touchpad taps keep their existing actions. Recording, typing, sign-in, modal and playback input keep their existing ownership; this shortcut does not replace the player's Touchpad controls.

Jump to Continue Watching, subscriptions, search, or the play queue. Afterglow opens its search screen. Classic opens recent searches; press Square there to enter a new query. Quick Switch is also available under Playback and maintenance. Family restrictions remain in force.

## Storage and cache

Storage shows the Afterglow thumbnail **RAM** footprint and ready-picture count. Clearing it releases that cache; visible artwork reloads on demand. This is not a disk thumbnail cache. It is unavailable before an Afterglow frame exists.

The separate temporary-caption control shows the size of `active.srt` and can remove that one derived file only while playback and requests are idle. It does not sweep directories. Profiles, credentials, bookmarks, queue records, backups, fonts and the voice model are kept. No device-wide storage cleanup or cache deletion outside this app is performed.

## Offline backup and restore preview

The existing **Backup and restore** page creates a dated JSON copy under `/data/youtube-maxd/backup`. The copy includes local profile preferences, family configuration, bookmarks, queue/history records, channel overrides and playback presets. The restore review now displays counts of the stored preference sets, records, favorites, queue entries, bookmarks, channel rules and presets before you choose Restore.

To move an exported backup, copy the complete dated JSON file from that folder using your normal file-transfer method. To import one, put the original, unchanged `youtube-YYYYMMDD-HHMMSS.json` file in the app's backup folder, reopen the list, review its preview, then select Restore. A safety copy of the replaced state is retained. Invalid, oversized or unsupported backups are rejected by the existing bounded parser. No upload or cloud service is involved.

Standalone YouTube sign-ins are separate and are not exported; sign in on another console as needed. A companion-based installation's full state backup includes its pairing token. Keep full backups private. The preview shows counts, not credentials or account names.

## Validation

Tests exercise real provider resolution ceilings, speed/caption selection, effective volume gain, clean-stop/interruption behavior, profile isolation, no-autoplay recovery, saved queue order, history privacy, cache controls and backup previews. The shipping Quick Switch input block is compiled and executed with UI stubs in addition to gesture tests. Menu fixtures are exported from actual provider responses. Physical PS5/phone/live YouTube acceptance remains separate from automated and build verification.
Loading
Loading