-
Notifications
You must be signed in to change notification settings - Fork 8
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
[feature] Call video player directly #46
Comments
Interesting, I didn't know that was a thing! Thanks, I'll take a look at it at some time. I'll need to update the app anyway to start calling the newer twitch API as it's still on the outdated one which they'll stop support for sometime this year. |
Watching streams with MPC-HC directly works if I replace the executable (input * in file field to make other executables visible), then go into the settings.json and setting So this could work by allowing any .exe to be linked. As well as an option to leave auth tokens out of LM entirely, and the ability to un-mark Best/Worst stream quality selection and effectively leaving it empty would suffice. LM can already detect when no fallback quality is set - it'll show both buttons as un-filled. But once you set them, you can't un-set them without going into the config file. LM auto-appends a hls passthrough command line argument to VODs, so these don't work. |
hello, is this the same software like livestream monitor? is there any tutorial for dummies somewhere? |
just trying again, and it worked with youtube-dl, |
The answer is 3 years late, but you can set desired stream quality and video type in MPC-HC advanced options. All the fields with YDL*, like YDLMaxHeight which defaults to 1440, meaning it will load 2560x1440, or smaller as a fallback. There is also a config location that youtube-dl or yt-dlp looks for which is described in the documentation, I think you can use AppData or the executable folder among others, where you can create a config file. There is no GUI. Would still be cool to make LM a little bit more universal. yt-dlp is hugely popular now and handles Twitch with less fuss (imo) and a way easier and smaller install of just a single file and a minimal ffmpeg. If not, disregard shameless bump. |
Now that MPC-HC has a really easy youtube-dl integration (and youtube-dl can pull streams and VODs from hundreds of websites, including Youtube, Twitch, Mixer and Smashcast), it would be cool to have an option to send the URL to MPC-HC or another media player directly without calling Streamlink/Livestreamer.
To do this, LM would simply have to do "C:\Media\Player.exe" URL
Come to think of it, since we've been here before with altering command line arguments for LM, maybe making this configurable would be the way forward. So the user tells LM which executable to call and whether or not to append URL, streamlink arguments or whatever else.
If you're interested in trying this yourself, all you have to do is grab MPC-HC 1.8.4 from doom9 and put the latest youtube-dl.exe into the MPC-HC folder.
The text was updated successfully, but these errors were encountered: