Skip to content

fix: include user ID in cache to ensure per-user data & redirect to Browse on user change#72

Closed
999romain wants to merge 160 commits into
Moonfin-Client:deprecated-tizen-onlyfrom
999romain:quickfix/ensure-per-user-data
Closed

fix: include user ID in cache to ensure per-user data & redirect to Browse on user change#72
999romain wants to merge 160 commits into
Moonfin-Client:deprecated-tizen-onlyfrom
999romain:quickfix/ensure-per-user-data

Conversation

@999romain
Copy link
Copy Markdown
Contributor

@999romain 999romain commented Feb 15, 2026

Pull Request

Summary

Scope browse cache data per user by storing and validating "userId", ensuring each user sees their own Continue Watching for example.

Type of Change

  • Bug fix

Changes Made

  • Store "userId" alongside "serverUrl" in the browse cache payload.
  • Validate cache reads against both "serverUrl" and "userId".
  • Redirect to Browse panel on user switch by comparing previous and current userId.

Testing

  • Tested on emulator

Test Steps

  1. Switch user.
  2. Ensure “Continue Watching” matches the selected user.

Checklist

  • Code builds successfully
  • Code follows project style and conventions
  • No unnecessary commented-out code
  • No new warnings introduced

RadicalMuffinMan and others added 30 commits February 5, 2026 01:27
…ode auto-play, and improved seeking logic in Player component - Updated next episode dialog - Fixes Moonfin-Client#30, Moonfin-Client#22
…rsion and container type in deviceProfile and webosVideo services
…info.json, and update APP_VERSION import in service files
… fallbacks and improve logging for unsupported formats
… ensuring compatibility with DD+ on webOS 4+
…e config to derive the edidType for model-specific capabilities and streamline configuration retrieval in deviceProfile and webosVideo services - Related to Moonfin-Client#31
…capabilities instead of the original hard coded value - Fixes Moonfin-Client#34
…n AppContent, this will now let the app close and reopen correctly - Fixes Moonfin-Client#37
…are natively supported, allowing for HDR preservation during audio transcoding - Fixes Moonfin-Client#40
- Updated header for better alignment and spacing
- Added focused item info row
- Refined toolbar buttons
- Updated grid and item card styles
- Added badges for favorite and watched items
- Created sort and filter slide-out panel
…navigation and styling

- Removed navbar and sidebar from the playlist, artitst, and album list views
…docs

Replaced per-mount video elements with a single shared instance that gets
reused across the Player and Browse trailer previews. This stopped webOS 4
from running out of hardware decoders when navigating between views. Added a
short cooldown after each cleanup so the decoder has time to fully release
before loading new media.

Built out a three-tier fallback chain for playback: the player now tries
DirectPlay first, then falls back to a native HEVC transcode through
Starfish, and if that also fails it switches to hls.js with H.264+AAC
through MSE. Added a runtime check that detects whether Starfish is
actually present (real TV vs emulator) and picks the right transcoding
strategy accordingly. The hls.js path waits for two fragments to buffer
before calling play(), and the whole error/seek flow got guards against
spurious events during source transitions.

Went through all of LG's AV format documentation and corrected seven
DirectPlay profiles that were wrong or incomplete:
- Pulled VC-1 out of the TS container since LG only lists it for ASF/WMV
- Added MP2 audio to MKV, TS, and AVI where it was missing
- Created a VOB profile that was completely absent
- Filled in the MPG/MPEG profile that had empty codec fields
- Made the AV1 level respond to panel resolution (15 for UHD, 19 for 8K)
- Added HEVC to the M2TS container for UHD Blu-ray content
- Filled in the ASF/WMV profile codecs (vc1 + wmav2/wmapro)

Switched DV-capable TVs to fMP4 HLS segments instead of MPEG-TS so FFmpeg
preserves the Dolby Vision RPU metadata during audio-only transcodes.
Previously the TS muxer would strip the RPU NALs and the TV would fall
back to plain HDR10.

Also moved ASS/SSA subtitles to External delivery, defaulted the subtitle
index to -1 for explicit no-selection, and temporarily disabled trailer
previews while tracking down the decoder exhaustion issue.
…ting image URLs for better consistency and performance
…gure GitHub workflows for build, linting, and auto-labeling
@RadicalMuffinMan
Copy link
Copy Markdown
Contributor

Please clone the new repo and implement your changes. I just merged webOS and Tizen codebases

@RadicalMuffinMan RadicalMuffinMan marked this pull request as draft March 1, 2026 05:16
@999romain 999romain closed this Mar 1, 2026
@999romain 999romain force-pushed the quickfix/ensure-per-user-data branch from d8c3e23 to da98696 Compare March 1, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants