Closed nellafair closed 4 years ago
Thanks for the bug report! What version of streamlink are you using?
Looks like 0.10.0, which is a fairly old build. I'll work on getting that updated to a newer version.
Cool, I'd imagine the newest version should fix this. Let me know!
Yup, looks like that's the case. Now on 1.3.1 and it's passing parameters cleanly. Streams are now found, but unable to open. Not sure if WSL will work...
Great! My next question was how were you using VLC inside WSL :P unless you have X11 server setup in windows and forwarding?
It started as more of a proof of concept than anything, because I was having issues with Streamlink being found on Windows proper (in a Hyper-V instance mind you). Instead of digging further into it, I just quickly installed on WSL to ensure things could "run" that way.
Didn't know how WSL would handle it; now we know! I'll pass it to a proper Ubuntu VM for actual use now that I got it figured out.
I surely appreciate the help!
E: Now that I think of it, I do have xfce/xrdp setup on there.... Maybe I can run it organically... hmmm
Honestly, if you're just trying to playback the streams, a very easy way would be to use the program in WSL to get the resolved stream link lazystream select --resolve
and then paste it into Firefox using the hls.js plugin. This works for me when I'm watching on my computer. Just make your hosts file edits and you're good to go.
And no problem! I'm going to close this issue, but feel free to keep commenting if you want to discuss.
Good to know! I used the 'play' command simply to see the execution of the command through and to learn your command line arguments -- tis when I stumbled upon this "issue." Will eventually utilize it to query on a schedule to record streams automagically between NHL and MLB. Having to be at the helm with Lazyman proper was surely a bit tedious - had to remember to queue the stream, record, etc. This tool will help greatly with that process.
Concur on the close. Operator error 😋
Awesome! For recording, it's super easy to automate. The record team
subcommand allows you to specify what team and it'll check if there's a game that day / sleep until game starts then pass it to streamlink to record. So you can easily setup a Cron job per team you want to download and have it automatically run each day. Hope that helps!
Test Environment: WSL v2 - Ubuntu 18.04 | Host: W10 Pro Asset Installed: v1.9.2 Command: ./lazystream play select Error: Appears that the title command line parameter is being passed without quotes and is causing Streamlink to report invalid input parameters. Console Output:
Passing game to VLC...
============================
usage: streamlink [OPTIONS] [STREAM]
streamlink: error: unrecognized arguments: --title Winnipeg Jets @ Washington Capitals - HOME - 2020-02-25 5:00 PM
ERROR: StreamLink failed