Enhance game hub with media captures and session metadata#197
Closed
Jayian1890 wants to merge 6 commits intoOpenCloudGaming:devfrom
Closed
Enhance game hub with media captures and session metadata#197Jayian1890 wants to merge 6 commits intoOpenCloudGaming:devfrom
Jayian1890 wants to merge 6 commits intoOpenCloudGaming:devfrom
Conversation
…ate logic; update styles for responsiveness
- Implemented media export API in preload and shared interfaces. - Added media export handling in ControllerLibraryPage for revealing, exporting, and deleting media. - Enhanced game hub UI with session snapshots, action buttons for media management, and improved styling.
Collaborator
|
any screenshots that you can post about it? |
Collaborator
Author
- Implemented `getMediaDataUrl` in OpenNowApi for resolving media data URLs for in-app playback/viewing. - Updated IPC channels to include `MEDIA_DATA_URL` for media data URL requests. - Enhanced media handling in the App component to manage media previews for screenshots and recordings. - Added functionality to open media assets and handle media export and deletion in the ControllerLibraryPage. - Improved UI components for media detail display and export browser interactions. - Styled media viewer and loading states for better user experience.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This pull request introduces comprehensive improvements to media (screenshots and recordings) metadata handling, adds support for exporting media files, and enhances controller input handling and game switching UX in the renderer. The key changes are grouped below:
Media Metadata and Listing Enhancements
gameTitleand session statistics) alongside media files. This metadata is now persisted in.jsonfiles and associated with both screenshots and recordings. (opennow-stable/src/main/index.ts) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]opennow-stable/src/main/index.ts) [1] [2]opennow-stable/src/main/index.ts)Media Export Feature
opennow-stable/src/main/index.ts,opennow-stable/src/preload/index.ts) [1] [2] [3] [4]Renderer/UI Improvements
opennow-stable/src/renderer/src/App.tsx) [1] [2]opennow-stable/src/renderer/src/App.tsx) [1] [2] [3]These changes collectively improve the fidelity and usability of media management in the app, and lay groundwork for richer media-related features in the UI.