streamlink: No such file or directory error when trying to use with QuickTime Player
Checklist
- This is a bug report.
- This is a feature request.
- This is a plugin (improvement) request.
- I have read the contribution guidelines.
Description
Streamlink doesn’t support QuickTime Player? We were talking about launching streams from GUI https://github.com/streamlink/streamlink-twitch-gui/issues/511 and I was told to open an issue since there is one and this has been present here for long time as I was testing this way back earlier too.
streamlink -p "/Applications/QuickTime Player.app/Contents/MacOS/QuickTime Player" --player-passthrough hls https://www.twitch.tv/agentjkezoor best
[cli][info] Found matching plugin twitch for URL https://www.twitch.tv/agentjkezoor
[cli][info] Available streams: audio_only, 160p (worst), 360p, 480p, 720p, 720p60 (best)
[cli][info] Opening stream: 720p60 (hls)
[cli][info] Starting player: /Applications/QuickTime Player.app/Contents/MacOS/QuickTime Player
error: Failed to start player: /Applications/QuickTime Player.app/Contents/MacOS/QuickTime Player ([Errno 2] No such file or directory)
Expected / Actual behavior
I can watch streams with any player?
Comments, logs, screenshots, etc.
Specs and screens and other things irrelevant I guess?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (8 by maintainers)
I have just seen that quoting the
{filename}variable doesn’t work for some reason, so you need to remove that. Sorry about that. Without the quotes, the command is working absolutely fine on Yosemite. It doesn’t seem to be working on Sierra, though, and unfortunately I don’t know what is causing this issue.What I have posted is essentially the same as running
If you’re wondering how the ruby app you’ve posted in the other thread is launching quicktime, take a look at https://github.com/jo-sm/twitch/blob/0.3.1/bin/twitch#L210
Remember that when using Streamlink,
--player-passthroughneeds to be set tohls. Here is the command again:FYI, version information is important - particularly for other people looking at this issue in the future.
I was able to get
streamlinkto start QuickTime by escaping the spaces, eg.However, it did not work playing the stream. Using the following did work, with some warning…
Just a heads up, in macOS Catalina QuickTime was moved into /Systems/:
/System/Applications/QuickTime Player.app/Contents/MacOS/QuickTime Player