Skip to content

Move screenshot fallback path handling to the main process#6945

Merged
FreeTubeBot merged 1 commit intoFreeTubeApp:developmentfrom
absidue:screenshot-fallback-ipc
Mar 2, 2025
Merged

Move screenshot fallback path handling to the main process#6945
FreeTubeBot merged 1 commit intoFreeTubeApp:developmentfrom
absidue:screenshot-fallback-ipc

Conversation

@absidue
Copy link
Member

@absidue absidue commented Feb 27, 2025

Move screenshot fallback path handling to the main process

Pull Request Type

  • Other

Description

This pull request moves the screenshot fallback path handling into the main process, that allows us to remove a use of a Node.js API in the renderer process. After this pull request the only remaining Node.js API uses in the renderer process is the video/audio/subtitle download logic.

Testing

  1. In the dev data location (Electron folder instead of the FreeTube one), check that screenshotFolderPath doesn't exist in the settings.db file, if it does remove that line.
  2. Start FreeTube
  3. Open the player settings
  4. Make sure taking screenshots is enable and ask for path is disabled.
  5. Check that it shows the correct path (should be the pictures folder in your user profile + Freetube).

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 68ec1e1

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Feb 27, 2025
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) February 27, 2025 22:24
@FreeTubeBot FreeTubeBot merged commit feba04a into FreeTubeApp:development Mar 2, 2025
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Mar 2, 2025
@absidue absidue deleted the screenshot-fallback-ipc branch March 2, 2025 16:10
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Mar 5, 2025
* fix-legacy-alone:
  Allow legacy formats to be used even when dash and audio-only are unavailable
  Fix search not working on mobile because of undefined ref (FreeTubeApp#6706)
  Bump bgutils-js from 3.1.3 to 3.2.0 (FreeTubeApp#6960)
  Bump copy-webpack-plugin from 12.0.2 to 13.0.0 (FreeTubeApp#6964)
  Bump babel-loader from 9.2.1 to 10.0.0 in the babel group (FreeTubeApp#6957)
  Bump yaml-eslint-parser from 1.2.3 to 1.3.0 in the eslint group (FreeTubeApp#6958)
  Bump lefthook from 1.11.0 to 1.11.2 (FreeTubeApp#6961)
  Bump sass from 1.85.0 to 1.85.1 (FreeTubeApp#6965)
  Bump stylelint from 16.14.1 to 16.15.0 in the stylelint group (FreeTubeApp#6959)
  Bump electron from 34.2.0 to 34.3.0 (FreeTubeApp#6962)
  Bump shaka-player from 4.13.4 to 4.13.6 (FreeTubeApp#6963)
  Translated using Weblate (Welsh)
  Fix search suggestions error for long search queries (FreeTubeApp#6955)
  Fix ctrl+click to reset playback rate not working (FreeTubeApp#6943)
  Translated using Weblate (Romanian)
  IV RSS Subscriptions: properly detect `error channels` (FreeTubeApp#4407)
  Translated using Weblate (Romanian)
  Move screenshot fallback path handling to the main process (FreeTubeApp#6945)
  Translated using Weblate (Romanian)
doublecrow pushed a commit to doublecrow/FreeTube that referenced this pull request Mar 28, 2025
OothecaPickle added a commit to OothecaPickle/FreeTube that referenced this pull request Apr 29, 2025
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