Skip to content
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

[Bug]: Cannot open video in external player (VLC) #6176

Closed
5 of 6 tasks
MStankiewiczOfficial opened this issue Nov 16, 2024 · 5 comments
Closed
5 of 6 tasks

[Bug]: Cannot open video in external player (VLC) #6176

MStankiewiczOfficial opened this issue Nov 16, 2024 · 5 comments

Comments

@MStankiewiczOfficial
Copy link
Contributor

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have encountered this bug in the official downloads of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

The default external player is set to VLC.

  1. Open any video in PT
  2. Click Open in vlc
  3. An error appears:
A JavaScript error occurred in the main process. Uncaught Exception: Error: spawn vlc ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Expected Behavior

The VLC player should open.

Issue Labels

content not loading, inconsistent behavior, visual bug

FreeTube Version

0.22.0

Operating System Version

macOS Sequoia 15.1 (24B83)

Installation Method

.dmg

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

No response

Nightly Build

@absidue
Copy link
Member

absidue commented Nov 17, 2024

It sounds like you didn't configure the path to the VLC binary in FreeTube's external player settings which is why FreeTube is failing to launch it.

@absidue absidue closed this as completed Nov 17, 2024
@MStankiewiczOfficial
Copy link
Contributor Author

I added it, but there is still the same error.
A JavaScript error occurred in the main process. Uncaught Exception:
Error: spawn /Applications/VLC.app EACCES at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

@absidue
Copy link
Member

absidue commented Nov 17, 2024

As mentioned in my message above you need to specify the path to the actual binary, /Applications/VLC.app is a folder. FreeTube trusts that your input is correct, it doesn't do all the extra magic that macOS does to treat the folder as an app.

@moriel5
Copy link

moriel5 commented Dec 24, 2024

Same happens to me on Linux, even if I manually set the exact path, whether it be to vlc or to vlc-wrapper, to celluloid and to mpv there are no such issues.

@vipweixiao
Copy link

路径换成"/Applications/VLC.app/Contents/MacOS/VLC"就可以唤起 vlc 了,但打开提示 vlc 提示报错“您的输入无法被打开
VLC 无法打开 MRL「https://rr1---sn-un57snee.googlevideo.com/videoplayback?”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants