-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add toggle to suppress sending additional args to external players #4515
Conversation
Head branch was pushed to by a user without write access
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no external player, can only review code
Not sure about the naming, as it sounds like it will also ignore the users custom arguments, which is probably undesirable. |
That's exactly what it does/what was requested in the linked issue. It also disables the custom args field if enabled to make that clear. |
If that is the case, then you should add a visual indicator to the custom arguments field, so that it is clear that it is disabled/ignored too. That being said, from a user perspective I would expect that to just disable passing any extra information. If I have gone out of my way to add custom arguments, then I would want them to be used. |
It will grey out when disabled, sorry, I haven't updated the screenshot in the initial post, I added the logic to disable it afterwards. I can see where you're coming from. What would you suggest, then? Pass on custom arguments anyway and rely on the user to clear the custom argument field if they don't want them passed on for whatever reason, temporarily or otherwise? |
Head branch was pushed to by a user without write access
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hint for other reviewers: Turning on the "Hide Whitespace" option makes the diff significantly more readable.
…mark * development: (53 commits) Add dearrow support for thumbnails (FreeTubeApp#4520) Translated using Weblate (French) Fix hardware acceleration flag for Linux (FreeTubeApp#4532) Translated using Weblate (Bengali) Translated using Weblate (Czech) Translated using Weblate (Hungarian) Translated using Weblate (Turkish) Translated using Weblate (Spanish) Translated using Weblate (Arabic) Translated using Weblate (Italian) Translated using Weblate (Polish) Translated using Weblate (Russian) Translated using Weblate (French) Translated using Weblate (Chinese (Simplified)) Add toggle to suppress sending additional args to external players (FreeTubeApp#4515) Translated using Weblate (English (United Kingdom)) Translated using Weblate (Italian) Translated using Weblate (French) Translated using Weblate (Finnish) Translated using Weblate (Polish) ... # Conflicts: # src/renderer/store/modules/settings.js
…m-builds/current * feature/consistent-sharable-video-url-local: (30 commits) * Update places generating sharable YT video URLs to always return prefix https://youtu.be/ Translated using Weblate (Chinese (Traditional)) Translated using Weblate (Chinese (Simplified)) Add dearrow support for thumbnails (FreeTubeApp#4520) Translated using Weblate (French) Fix hardware acceleration flag for Linux (FreeTubeApp#4532) Translated using Weblate (Bengali) Translated using Weblate (Czech) Translated using Weblate (Hungarian) Translated using Weblate (Turkish) Translated using Weblate (Spanish) Translated using Weblate (Arabic) Translated using Weblate (Italian) Translated using Weblate (Polish) Translated using Weblate (Russian) Translated using Weblate (French) Translated using Weblate (Chinese (Simplified)) Add toggle to suppress sending additional args to external players (FreeTubeApp#4515) Translated using Weblate (English (United Kingdom)) Translated using Weblate (Italian) ...
Title
Add toggle to suppress sending additional args to external players
Pull Request Type
Related issue
closes #4493
Description
Adds a toggle setting in the external players sections that lets users suppress any args being sent to the external player aside from the video URL.
Also adds corresponding logic to skip processing of args if this toggle is enabled (this made the diff a mess even though it's a minimal change, tried different orders but git no likey).
Screenshots
Testing
Tested on Windows using SMPlayer and mpv with the toggle on and off. Seems to work as expected.
Testing with more combinations is always appreciated.
Testing build.
Desktop
Additional context
I'm open to a better name for the setting if anyone thinks it's not clear enough.